Reputation: 1209
I’ve planned to develop an application to control connected object, these objects are using the MQTT protocol. The application will be developed in JAVA (with paho library for the MQTT part). I use HiveMQ as a broker with a mysql plugin to store the published values for history purpose. My goal is to create an application which will allow the user to manipulate those connected objects such as turn off a specific light, every lights in a room or in the house, etc … But also to create some routine which will allow automation some actions such as turn on the heat when the temperature is down to 18°C, etc …
But I’m facing some difficulties :
I’m open to every ideas, suggestions, etc …
Thanks a lot
Upvotes: 1
Views: 118
Reputation: 59751
Couple of suggestions
Use the Last Will and Testament and retained messages to alert when objects go offline (http://www.hivemq.com/mqtt-essentials-part-9-last-will-and-testament/)
couple of options here:
Upvotes: 1