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

Bug: changing scale & offset value gives random behaviors #645

Open
KipK opened this issue May 15, 2023 · 1 comment
Open

Bug: changing scale & offset value gives random behaviors #645

KipK opened this issue May 15, 2023 · 1 comment

Comments

@KipK
Copy link
Collaborator

KipK commented May 15, 2023

Remembered someone who got some random GFCI + No Ground errors displayed with same value as scale & offset value. ( 5, 6 )
Got the same and can reproduce using this pattern:

1/ set a new scale & offset value over /config endpoint, i.e:
{
"scale": 222
"offset": 5
}

2/ restart evse module ( GFCI and No Gnd errors spawn )
Nows /config endpoint gives "scale": 5, "offset": 6 ( needs to refresh UI to display new values as config_version has not been updated )

and /status gfcicount: 5 , nogndcount: 6

3/ restart gateway: nows scale & offset are ok ( "scale": 222, "offset": 5 ) , and no errors.

4/ now restart evse again: refresh UI or get /config endpoint. We now have "scale": 32 , "offset": 8021
and no gfci/gnd errors this time.

5/ restart gateway, values are ok again.
6/ and again /restart: now "scale" & "offset" are booth 0
etc...

some related issues:
#480 , this one on forum

@KipK KipK mentioned this issue May 15, 2023
2 tasks
@KipK
Copy link
Collaborator Author

KipK commented May 15, 2023

the $GA gives corrects ammetter settings when it's wrong on gw so the issue comes from gateway fw.

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