ecoen66 / homebridge-solaredge-inverter

SolarEdge Inverter plugin for homebridge
MIT License
14 stars 8 forks source link

Issue with status reading being different to current power #16

Closed kellery82 closed 3 years ago

kellery82 commented 3 years ago

Hi,

First off, thanks very much for your work and this plugin. Very appreciative to have something available in HomeKit.

I’m running the latest version and notice that the status reading is showing a completely different value than current power and my SolarEdge app. I thought the lux reading on the outdoor page should show the same value as current power (I’m not worried about the difference from the SolarEdge app and current power)

1BE680A2-A9D7-4BBA-A504-989C58D113D2 31B01E4C-CA32-43C5-975A-C4D1D628CD3A 7FA3B171-BDE5-45B3-8135-2AFBE2DAC547

Regards,

Kristopher

ecoen66 commented 3 years ago

The difference between the app and the plugin's current power reading might be based on the update_interval value from the config.json in Homebridge. You should be able to scroll back through the Homebridge log to see what values were grabbed from the API on the last call.

As for the Lux summary in the Outdoors room, that is a HomeKit function. HomeKit averages all Lux readings in a room and shows that average as the room summary. Think of it like having multiple temperature readings in a room...

If you want the room's summary to be correct, then you may want to use only the Current Power option in the plugin. It is also possible to add a 2nd instance of the plugin with a different Name and Serial Number which includes all other readings that you wanted, but not Current Power. That instance can be left in Default Room.

kellery82 commented 3 years ago

Ah that makes perfect sense. My apologies for my ignorance 😊

ecoen66 commented 3 years ago

If you wish to split the readings across multiple instances, it works best with V 0.2.4.