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

Offset retained MQTT values overwritten at startup #302

Open
tuxianerDE opened this issue Oct 31, 2024 · 0 comments
Open

Offset retained MQTT values overwritten at startup #302

tuxianerDE opened this issue Oct 31, 2024 · 0 comments

Comments

@tuxianerDE
Copy link
Collaborator

tuxianerDE commented Oct 31, 2024

Hi,

I have observed the following behaviour, I have configured offset values in my config.ini (essentially I want t ohave them as default).

Via HA I set the offset dynamically per day to accomodate for my situation.

Observed behaviour:

  • I have a set offset values in MQTT (retained) and restart solarflow the config values are loaded at startup and then written to MQTT.

Expected behaviour (well my idea so lets discuss):

  • At startup config.ini offset is loaded
  • Once MQTT connection gets established and there are retained offset values on MQTT, those are getting loaded i.e. runtime update
  • If there are no offset values on MQTT the values at startup are getting written to MQTT
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

No branches or pull requests

1 participant