-
Notifications
You must be signed in to change notification settings - Fork 639
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
Add option to disable relay reporting to MQTT #1645
Conversation
It might make sense to change all |
For example, if both are empty (and therefore equal), we are subscribed to the |
OK that makes sense - I changed the code to use |
@Niek |
Ah I didn't think of that, what do you think would be the cleaned approach? Make a dummy |
I submitted a fix in PR #1662 |
IDK though why it must depend on it. Forwarding setting is only ever checked when relay status (or light, or domoticz) function is called from within MQTT callback, so that we do not report back to the same topic we just received data from. Now, it is always called. edit: words |
This feature is especially useful when using custom MQTT groups for relays. This adds the option to disable the reporting of relay statuses to MQTT, and report only to the custom MQTT groups (if defined).