Skip to content
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

State is not published to MQTT when smartplug is controlled via MQTT #88

Open
glynhudson opened this issue Feb 14, 2021 · 1 comment
Open
Labels

Comments

@glynhudson
Copy link
Member

When the smartplug is controlled via the web UI the state correctly updates on MQTT e.g

Topic: <basetopic>/<smartplugID>/out/ctrlmode
Message: On or Off

However, if the smart plug is controlled via MQTT e.g

Topic: <basetopic>/<smartplugID>/in/ctrlmode
Message: On or Off

The status out topic does not update, the http JSON /status always return the correct statue. Having the correct state always available via MQTT would be very useful for integration with other control systems e.g Home Assistant

@glynhudson glynhudson added the bug label Feb 14, 2021
@glynhudson
Copy link
Member Author

Update I'm running V3.1.0. Just had a look at the code, this issue may be been fixed in the latest version. I'll update on Monday and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant