17.03.2024, 09:42
Thank you admin, sorry for not researching that before asking.
My question is really connected to the lack of understanding of how to use the example code for MQTT of of this thread: https://forum.logicmachine.net/showthread.php?tid=1759
In the case of Thingsboard, the topics are fixed (one for telemetry (v1/devices/me/telemetry) and two for control (v1/devices/me/rpc/request and v1/devices/me/rpc/response)).
Could you please show me what I need to change to go from your object-to-topic conversion over to a static topic with some telemetry and some commands.
I see that I need to do the commands in the On_Message callback but I couldnt find the right spot to publish whenever updates where made to the KNX variables.
Best regards
Eilert
My question is really connected to the lack of understanding of how to use the example code for MQTT of of this thread: https://forum.logicmachine.net/showthread.php?tid=1759
In the case of Thingsboard, the topics are fixed (one for telemetry (v1/devices/me/telemetry) and two for control (v1/devices/me/rpc/request and v1/devices/me/rpc/response)).
Could you please show me what I need to change to go from your object-to-topic conversion over to a static topic with some telemetry and some commands.
I see that I need to do the commands in the On_Message callback but I couldnt find the right spot to publish whenever updates where made to the KNX variables.
Best regards
Eilert