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

Release 4.1.7 spams MQTT with non-stop evse/claim: {"state":"null"} messages many times per second #505

Closed
rigorka opened this issue Dec 30, 2022 · 6 comments

Comments

@rigorka
Copy link

rigorka commented Dec 30, 2022

Steps to reproduce:

  • Initially I had 4.0.0 installed, upgraded that via the web UI to 4.1.7. However I can also confirm that building the fw from the current master git branch and installing it to a freshly unpacked ESP32 produces the same results.
  • My MQTT handler has collapsed immediately overloaded by hundreds of evse/claim: {"state":"null"} messages.
  • I've tried Factory Reset which did not fix the situation
  • Making and then releasing a Claim via HTTP API fixes the problem until the next reboot
  • After rebooting the Openevse Wifi it spams the MQTT queue again

Downgrading to release 4.1.6 fixes the problem.

@glynhudson
Copy link
Collaborator

@KipK could this be related to #488 ?

@KipK
Copy link
Collaborator

KipK commented Jan 2, 2023

Mhhh I don't think so. I'm jumping in a plane right now but will get a look tomorrow.
I haven't saw such behavior here, but there's definitely something wrong I have to track down.

@KipK
Copy link
Collaborator

KipK commented Jan 2, 2023

@KipK
Copy link
Collaborator

KipK commented Jan 3, 2023

@rigorka , I can't reproduce any spamming here. Could you post here the result of http://openevse.local/claims/ and http://openevse.local/claims/target while it's happening ?

Thanks

edit: openevse publish in /claim topic only when claims_version change or at bootup. So if it spams mqtt server, it probably means there's something calling lot of claims somewhere else ( but OpeEvse only publish in /claim topic claims coming from mqtt service. It publish "state" = "null" then but there's probably something else publishing a claim with high frequ I'd like to spot on your config.

@KipK
Copy link
Collaborator

KipK commented Jan 3, 2023

Forget it, I've found. I forgot to inialise claims_version ...
Fix is coming

KipK added a commit to KipK/ESP32_WiFi_V4.x that referenced this issue Jan 3, 2023
jeremypoulter added a commit that referenced this issue Jan 5, 2023
fix #505 missing claims _version init
@KipK
Copy link
Collaborator

KipK commented Jan 6, 2023

It stills not fixed I can see the debug log with mqtt activated spaming claims has changed, posting claims. I'm looking at it.

jeremypoulter added a commit that referenced this issue Jan 6, 2023
KipK added a commit to KipK/ESP32_WiFi_V4.x that referenced this issue Jan 13, 2023
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

3 participants