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

improvment & fixes of MQTT /override topic #485

Merged
merged 3 commits into from
Nov 17, 2022

Conversation

KipK
Copy link
Collaborator

@KipK KipK commented Nov 17, 2022

@KipK KipK changed the title add auto_release to /override improvment & fixes of MQTT /override topic Nov 17, 2022
fix override topic not publishing props if there's no state prop
removed useless if condition
@@ -445,6 +439,12 @@ unsigned long EvseManager::loop(MicroTasks::WakeReason reason)
{
_evaluateTargetState = false;
setTargetState(_targetProperties);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not super keen on this, will leave it for now but we need to consider how to make this more generic, I would prefer not to have these special cases in the EVSE manager... We probably need to give the clients text names and event them all or something like that...

@jeremypoulter jeremypoulter merged commit 13f7183 into OpenEVSE:master Nov 17, 2022
@KipK KipK deleted the auto-release branch November 17, 2022 22:59
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.

2 participants