kellerza / pysma

Async library for SMA Solar's WebConnect interface
MIT License
59 stars 51 forks source link

Detect backup power grid (Ersatzstromnetz) #124

Open qqwa opened 1 year ago

qqwa commented 1 year ago

I want to detect a power outage to know when we have to turn of unnecessary devices, before the battery gets to low/empty. As far as I can tell the best option would be to use "Operating status" (id: 6180_08412B00), which is currently not in the definitions. Or is there another solution for this?

I can make a PR to add operating_status, if you are ok with it.

SUNNY TRIPOWER 10.0 SE would my inverter in case that's relevant.

rklomp commented 1 year ago

Feel free to create a pull request to add the definition!