Application for logging and displaying data from the IOT_Board project.
- Git
- Ruby 2.6.5
- PostgreSQL
- An MQTT Broker
git clone https://github.com/lbrnmdev/iot_monitor.git
cd iot_monitor
bundle install
Make sure PostgreSQL is running, then run the following commands to create and setup the database.
bundle exec rake db:create
bundle exec rake db:setup
App is configured to connect to 'localhost' on the default port of 1883. You can change this in lib/my_mqtt.rb
bundle exec rails s
Navigate to http://localhost:3000
- Testing!
- Device description and location data
- Allow for devices to log readings of any sort, not just temperature
- Allow for data/commands to be sent to subscribed devices
- User accounts so monitored devices are exclusive to a particular user