Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.22 KB

README

Application for logging and displaying data from the IOT_Board project.

Diagram

Prerequisites
1. Check out the repository
git clone https://github.com/lbrnmdev/iot_monitor.git
cd iot_monitor
bundle install
3. Create and setup the database

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
4. Start your MQTT Broker

App is configured to connect to 'localhost' on the default port of 1883. You can change this in lib/my_mqtt.rb

5. Start the Rails server
bundle exec rails s

Navigate to http://localhost:3000

Diagram

Roadmap

  • 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