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

Change from cycle based delays to time delay #2

Merged
merged 8 commits into from
Mar 1, 2024
Merged

Conversation

sftman18
Copy link
Owner

@sftman18 sftman18 commented Mar 1, 2024

Changed to a more consistent time based delay model.

NOTE, manually adding or re-copying from example_config.toml to config.toml will be needed due to these new options:

PREVENT_NON_SOLAR_CHARGE = "False"  # Default for after-hours charging, unless changed via MQTT

DELAYED_START_TIME = 10	 # When Energy is Available how long do we wait before starting charge (seconds)
DELAYED_STOP_TIME = 90   # When Available Energy is Reduced how long do we wait before stopping charge (seconds)
REPORT_DELAY = 60        # Send status string to MQTT every x (seconds), delayed by as much as SLOW_POLLING_CHK when charging disabled

@sftman18 sftman18 merged commit 8a9cb75 into main Mar 1, 2024
@sftman18 sftman18 deleted the time_delay branch March 1, 2024 16:15
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