Schneider Wiser for KNX - MQTT Problem with receiving Messages - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Schneider Wiser for KNX - MQTT Problem with receiving Messages (/showthread.php?tid=5747) |
Schneider Wiser for KNX - MQTT Problem with receiving Messages - Neo8101 - 18.11.2024 Dear forum members and admins, I am using a Schneider Wiser for KNX as Logic Controller for my KNX Installation. In parallel I am running a MQTT Broker/Server (ioBroker) as the LM MQTT Broker App is unfortunately not available for Schneider Wiser. I am using these scripts for receiving and sending MQTT messages. Sending from Wiser works perfectly, but I am having some issues during receiving messages on Wiser. When I first start the script for receiving messages, it works as expected. Subscriptions seem to be registered on the Broker side and I once receive the values and can see them in the corresponding group addresses. But any further change on Broker/Server side is not received by Wiser. I first have to stop the script and restart it, then values are again transmitted once. To be honest I do not fully understand the provided script, although I have some experience with programming. So I have no clue where the problem could come from. The fact that I receive the values once after start of the script makes me think that the implementation can't be completely wrong. I would appreciate any tips where the problem could come from. If you need any more information, please let me know. Best regards and Thanks in advance, Chris RE: Schneider Wiser for KNX - MQTT Problem with receiving Messages - Neo8101 - 18.11.2024 Okay, I found it . I did not send an clientID. As soon as this is filled, everything works perfect. Code: mclient = require('mosquitto').new('wiser') |