Hi,
for my WeatherCubeOne project, currently working on a B4J Non-UI MQTT client to run as a process on a Raspberry Pi. The client will publish messages to the TinkerForge LCD display and the Domoticz Sensors. Got the first prototype up and running well.
MQTT = Great Technology - the solution is so much simpler then the previous - No need for complex JavaObjects / Inline Java / httpjobs as subscribe and publish messages handles the flow of data.
It also enables to build UI clients, like for B4J and B4A with almost the same code.
Question:
How to correctly stop the non-ui client to ensure mqtt is properly closed and settings are updated?
Usage: When rebooting the Pi or killing the process while testing.
for my WeatherCubeOne project, currently working on a B4J Non-UI MQTT client to run as a process on a Raspberry Pi. The client will publish messages to the TinkerForge LCD display and the Domoticz Sensors. Got the first prototype up and running well.
MQTT = Great Technology - the solution is so much simpler then the previous - No need for complex JavaObjects / Inline Java / httpjobs as subscribe and publish messages handles the flow of data.
It also enables to build UI clients, like for B4J and B4A with almost the same code.
Question:
How to correctly stop the non-ui client to ensure mqtt is properly closed and settings are updated?
Usage: When rebooting the Pi or killing the process while testing.