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

Restore SG state after reset or mqtt conn lost #457

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dandjo
Copy link
Contributor

@dandjo dandjo commented Sep 28, 2024

Hi @raomin,

figured out that after a connection loss to the mqtt broker, the SG state is always broken/wrong. I'm now using EEPROM to store the SG state and the state of the pins. Also refactored/removed some functions since the names are not appropriate any more.

Cheers,
Daniel

@dandjo
Copy link
Contributor Author

dandjo commented Oct 3, 2024

Additional:

For openHAB or ioBroker users like me, it could be annoying and unnecessary to have HomeAssistant discovery messages in the MQTT broker. Therefore one should be able to disable those messages. This is a simple and quick solution for that.

@dandjo
Copy link
Contributor Author

dandjo commented Oct 24, 2024

@raomin If you need any help merging please let me know.

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

Successfully merging this pull request may close these issues.

1 participant