Emulate a heating service in which sensors in a room records temperature and periodically publish readings in a specific format. After receiving the values, openness of the valve is determined and again published.
A message broker is used to publish and subscribe messages in the IOT environment. Some assumptions are made to emulate the real world scenario.
- A room consists of 10 sensors.
- Every sensors randomly publishes the recorded reading attached to a given topic.
- Every 20 seconds(periodically) a reading is published.
- Currently, the test scenario allows a total of 4 readings ina single run.
Set mqtt broker up and running:
$ docker run -d -p 1883:1883 -p 8883:8883 prologic/mosquitto
Give examples
A step by step series of examples that tell you have to get a development env running
Say what the step will be
Give the example
And repeat
until finished
End with an example of getting some data out of the system or using it for a little demo
Explain how to run the automated tests for this system
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Add additional notes about how to deploy this on a live system
- Dropwizard - The web framework used
- Maven - Dependency Management
- ROME - Used to generate RSS Feeds
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone who's code was used
- Inspiration
- etc