longzheng / homebridge-fronius-inverter-lights

Homebridge plugin for Fronius inverter with smart meter as a lightbulb accessory
MIT License
10 stars 2 forks source link

how is it possible to check battery-state? #18

Closed Scoo27 closed 7 months ago

Scoo27 commented 10 months ago

i have a BYD 5,1kWh Battery installed. How to chek the balance? It is connected to the fronius inverter and is visible within the webinterface.

longzheng commented 8 months ago

Sorry I don't have a BYD set up so I can't validate this, but if the BYD is appearing in your Fronius portal then it should appear if you add "battery": true to your config.

Scoo27 commented 7 months ago

add "battery": true to your config.

thanks, that worked for me, BUT the power-output and Input when charging have the same positive Value, so it is impossible to see whether the battery is charging or discharging. Can you add a "+" or "-" for that?

I use the EVE-App to visualize the different switches and states. Unfortunately im am only able to activate a tile for power, which is consumed out of the battery and Battery "on" or "off". The battery Charching-state is not presented. (only as a slider for the brightnes within the room / the battery-overwiew itself) Do you happen to know, how i can visualize the Charging state as a tile in Eve-App (iOS)?

longzheng commented 7 months ago

thanks, that worked for me, BUT the power-output and Input when charging have the same positive Value, so it is impossible to see whether the battery is charging or discharging. Can you add a "+" or "-" for that?

Ah unfortunately HomeKit doesn't support negative values for the lightbulb entity (which I'm using since there's no battery).

I think the only thing I could do is have 3 different lightbulbs for the battery

Scoo27 commented 7 months ago

I think the only thing I could do is have 3 different lightbulbs for the battery

Sounds good to me would be great if you could implement that,

longzheng commented 7 months ago

Sure but I've been a bit busy so not 100% sure when I can get around to it.

longzheng commented 7 months ago

@Scoo27 I published a new version with the battery changes.

Scoo27 commented 6 months ago

thank you very much.