-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wbec generating different mqtt devices under fhem #125
Comments
Hi Andre, thanks for your reply! |
I did some searching and found out that the mqtt-server included in fhem creates a new device with every reconnect if no clientid is defined in the mqtt device (here the wbec). Excerpt from the fhem help: Unfortunately I could not find the option, is it not included in wbec or does it have a different name? |
Hello, sorry, but I don't have further information about the MQTT client id. |
Die Arduino-Library unterstützt eine ClientID: https://github.com/knolleary/pubsubclient |
Danke für den Hinweis. Das hier dürfte es erklären: Lines 160 to 162 in 07a5855
Line 169 in 07a5855
|
Ich lasse den Issue mal offen und baue künftig eine parametrierbare Client-ID ein: cfgMqttClientId |
Hello everyone,
i have been using wbec in combination with mqtt and fhem for some time now and I noticed that several (over 100) mqtt devices have been created for wbec in fhem - see the following screenshot. Of course, the device with the highest consecutive number is always used, but deleting the more than 100 devices is not really fun.
Does anyone have an idea why new devices are always being created in autocreate? Apparently wbec always reports to the mqtt broker with a different name!
Greetings & thanks
Marc
The text was updated successfully, but these errors were encountered: