This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Schneider Wiser for KNX - MQTT Problem with receiving Messages
#1
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
Reply
#2
Okay, I found it  Smile.

I did not send an clientID. As soon as this is filled, everything works perfect.

Code:
mclient = require('mosquitto').new('wiser')
Reply


Forum Jump: