-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
MQTT switch instructions on Domoticz/out subtopics are not recognized after 11.1.0 #20299
Comments
Domoticz tends to flood MQTT with all kinds of messages. Most of them are irrelevant for a specific device. In versions before v12.0.1 this lead to a lot of processing before finally determine that the message was not for this specific device. After v11.1.0 an additional detection was introduced to allow early bail-out of irrelevant Domoticz calls. This detection only allows for a topic as defined in DOMOTICZ_OUT_TOPIC which is default The additional code is here:
This code does not chk for sub-topics like floor and/or room. As a workaround you could compile your own and change #define DOMOTICZ_OUT_TOPIC to any topic you like including your needed floor and room. As a solution I'll see if I can change the current fixed location for relay index to finding the index at the end of the topic. Hold on...... |
No fix planned. Reconfigure Domoticz for option |
Thanks for the fast response and the suggestions. So I understand that:
My reason for using the option I will stick to Tasmota version 11.1.0 as the easiest solution for me. NB: the docs instruct to use option |
I'll do some further tests. I think there is a solution where if there is no idx in the topic I'll continue to look for the idx in the message. Hold on (once more).... |
Oh my. I never knew the floor/room option does lower the amount of MQTT messages so much:
I also see that this doesn't trigger my device ;-( |
Fix support for Domoticz floor/room topics. Regression from v12.0.1 (#20299)
Confirmed the fix works when I update the Sonoff S26 to the development release of 5pm. Is an update of the docs included in the commit, recommending idx or room over flat for the Domoticz mqtt publish option? |
Yep. Chk it out. |
Fix support for Domoticz floor/room topics. Regression from v12.0.1 (arendst#20299)
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
MQTT switch instructions on Domoticz/out subtopics are not recognized after 11.1.0.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Use Domoticz and dummy switch, use MQTT with floor/room setting for domoticz/out subgroups and Tasmota < 12.2.0 (tested version, most likely < 12.0.0) -> Sonoff switches succesfully.
Use same setup and only change Tasmota firmware to >11.1.0 -> Sonoff does not respond anymore.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Tasmota reacting to switching instructions in domoticz/out subgroups
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
As discussed here: #19107, I note that significant changes have been made between 11.1.0 and 12.0.0 in tasmota_xdrv_driver/xdrv_07_domoticz.ino. I assume a little error crept in.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: