You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just updated from 4.3.2 to 4.5.1. You all have been busy! Got TEDAPI connection working to get back vitals & alerts (yes!) After install, verify.sh reports " - TEDAPI Vitals: Not Connected", however docker logs pypowerwall reports "[INFO] TEDAPI Mode Enabled for Device Vitals (hybrid)".
Looks like in pypowerwall stats the value "pw3" was added between "tedapi" & "tedapi_mode", which messes with the sed command. I believe the line
TEDAPI=curl --silent http://localhost:$PORT/stats | sed 's/.*"tedapi": \(.*\), "tedapi_mode".*/\1/' 2>/dev/null
should be
TEDAPI=curl --silent http://localhost:$PORT/stats | sed 's/.*"tedapi": \(.*\), "pw3".*/\1/' 2>/dev/null
The text was updated successfully, but these errors were encountered:
Just updated from 4.3.2 to 4.5.1. You all have been busy! Got TEDAPI connection working to get back vitals & alerts (yes!) After install, verify.sh reports " - TEDAPI Vitals: Not Connected", however docker logs pypowerwall reports "[INFO] TEDAPI Mode Enabled for Device Vitals (hybrid)".
Looks like in pypowerwall stats the value "pw3" was added between "tedapi" & "tedapi_mode", which messes with the sed command. I believe the line
TEDAPI=
curl --silent http://localhost:$PORT/stats | sed 's/.*"tedapi": \(.*\), "tedapi_mode".*/\1/' 2>/dev/null
should be
TEDAPI=
curl --silent http://localhost:$PORT/stats | sed 's/.*"tedapi": \(.*\), "pw3".*/\1/' 2>/dev/null
The text was updated successfully, but these errors were encountered: