I cloned the repository and then built the solution using Visual Studio 2019 (as explained in the ReadMe). For this purpose, I used the MqttClientPlugin. To show these stats, Rainmeter needs to establish a connnection to the broker. Unknown (greyish): there is no connection to the MQTT broker.Similarly, I can retrieve the state of the device whether it is active or not. So, if a device is connected we should receive 1, and 0 otherwise. If a device disconnects, it sends 0 using a so-called last will message. If a device is connected, it sends 1 to a certain topic. My devices are all connected to an MQTT broker. In this blogpost I'll briefly explain how I built this skin. However, there was an MQTT plugin for Rainmeter! With that it'd be easy to build something like this. After doing some Googling, I found that nothing like this was available on the internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |