datMaffin / homebridge-tesla-powerwall

Homebridge Plugin for the Tesla Powerwall
ISC License
21 stars 11 forks source link

Accessory to trigger automations based on battery level #47

Open langabi opened 1 year ago

langabi commented 1 year ago

Posting as issue in case I'm missing something obvious here.

I'm trying to trigger automations based on Powerwall battery level, e.g., when battery over 95% full, turn on pool heating so as not to waste excess power.

However, I'm struggling to do this with any of the current accessories:

So my next steps are:

Before I do that ... is there anything obvious I'm missing? Thanks!

datMaffin commented 1 year ago

That the battery display is not supported does sound weird to me. In the past the battery percentage was bundled in with the switch that displays whether the Powerwall is working.

I might look into this in the near future, as having logic depending on the battery state seems like an obvious thing that should be possible.

langabi commented 1 year ago

Ok great, yes that would be good! I see that on my home app, a battery accessory, but it says "This accessory is not currently supported by the Home app." - so yes, does indeed sound like there's an issue. I'll see if I can work out anything.