VirtualWolf / powerwall-to-pvoutput-uploader

An application to save power usage information from a Tesla Powerwall 2 and send it to pvoutput.org, and optionally publish to an MQTT broker.
MIT License
8 stars 1 forks source link

Skip saving updates when Powerwall returns zero for all its data #3

Closed VirtualWolf closed 2 years ago

VirtualWolf commented 2 years ago

It seems like when the Powerwall firmware is being updated (logging into the Powerwall's UI, it says "Updating devices") the API still works but it returns zeros for all the data including the battery charge. Should probably just skip saving updates entirely when that's the case.