https://github.com/johanrhodin/amqptemp
Send temperature data from RasPi to CloudAMQP via Elixir
https://github.com/johanrhodin/amqptemp
cloudamqp elixir-lang rabbitmq
Last synced: 2 months ago
JSON representation
Send temperature data from RasPi to CloudAMQP via Elixir
- Host: GitHub
- URL: https://github.com/johanrhodin/amqptemp
- Owner: johanrhodin
- License: mit
- Created: 2017-04-22T00:49:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T17:18:00.000Z (over 7 years ago)
- Last Synced: 2025-02-05T22:19:03.421Z (4 months ago)
- Topics: cloudamqp, elixir-lang, rabbitmq
- Language: Elixir
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Amqptemp
This project needs the `AMQP` elixir library and an environment variable: `CLOUDAMQP_URL`
To run: `mix run main.exs`
or `export CLOUDAMQP_URL=amqps://...`
`mix run recieve.exs/` to test.You can also set it up as a cronjob with `crontab -e`
Should rewrite as a loop instead