Communicates with sensors(temperature and luminosity) connected to an Arduino and publishes to a MQTT broker. I used gem Artoo to perform communication with the Arduino.
$ bundle
Change connection_params
in bin/artron:
connection_params = {
mqtt: {
host: 'localhost',
username: '',
password: '',
port: 1883,
ssl: false
},
worker: {
port: '/dev/cu.usbmodem1421'
}
}
$ bin/artron
- 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