-
Notifications
You must be signed in to change notification settings - Fork 117
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
Add some events through websocket & mqtt #448
Conversation
Do not commit yet. I have to test this first |
ok all good to me. It push over websocket / mqtt amp/voltage when charging each sec like for the lcd |
Also added a fix for a little bug with Pilot I have spotted . It was hidden in the middle of all the /status poll traffic |
f5b5b82
to
774dbbb
Compare
Event Amp & Voltage sent each sec while charging event sessions each 2 sec while charging
refactored handleStatus function # Conflicts: # src/web_server.cpp
Damn I've messed the rebase again.... refixing.... |
When this will be merge, we will be able to remove the /status polling on actual UI too. |
it's ok. But I can resubmit a proper rebased pull request if you want. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me
discussed here #401 (comment)
Add missing events over web socket / mqtt
Send full status data over web socket when new client connect
fix Pilot event bug