Receives data from a MQTT broker and serves to different sources.
- MQTT as a data source
- InfluxDB support
- Telegram commands
- Alerts to Telegram chats
- Broadcast websockets
- InfluxDB
- MQTT (Mosquitto)
- Telegram BOT API Key
- Clojure
$ git clone https://www.github.com/sergioaugrod/cinder
$ cd cinder
$ lein depsSet environment variables:
export MQTT_RESOURCE=tcp://localhost:1883
export MQTT_USERNAME=admin
export MQTT_PASSWORD=test123
export INFLUX_HOST=localhost
export INFLUX_PORT=8086
export INFLUX_USERNAME=admin
export INFLUX_PASSWORD=test123
export INFLUX_DB=fulgore
export INFLUX_VERSION=0.13
export TELEGRAM_TOKEN=58daWjZwda774
export TELEGRAM_CHAT_IDS=XXXXX,YYYYY,ZZZZZ$ lein repl(def dev-serv (run-dev))Connect your editor to the REPL.
Console:
$ lein runJAR:
$ lein uberjar
$ java -jar target/cinder-0.0.1-SNAPSHOT-standalone.jarDocker:
$ lein uberjar
$ docker build -t cinder .
$ docker run -p 8080:8080 cinder- Clone it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D