Hi,
I'd like to create a plugin to manage a heatpump. The plugin will create and manage a bunch of virtual devices (power switch, desired temp, fan power level selector, ...).
The heatpump already communicates through MQTT.
Can I - and is it good to - use a MQTT client library inside a domoticz python plugin ?
Good idea to use a MQTT client libray in python plugin ?
Moderator: leecollings
Re: Good idea to use a MQTT client libray in python plugin ?
There is already MQTT support is the plugin framework. Take a look at: https://github.com/emontnemery/domoticz ... /plugin.py
Re: Good idea to use a MQTT client libray in python plugin ?
How could I miss that
thank you !
From what I understand, there is not the limitation of the hardcoded "domoticz/in" "domoticz/out" topic used in the MQTT gateway. If so this is perfect for my usage.

From what I understand, there is not the limitation of the hardcoded "domoticz/in" "domoticz/out" topic used in the MQTT gateway. If so this is perfect for my usage.
Who is online
Users browsing this forum: No registered users and 1 guest