biemond / solaredge.modbus

Homey Solaredge modbus app
GNU General Public License v3.0
7 stars 8 forks source link

Invert energy readings #50

Closed lovethyresson closed 10 months ago

lovethyresson commented 10 months ago

In order to fit into Homeys energy feature it would be great with a switch to let you invert the value sent by the inverter.

eg if my SE inverter produces 6500W I want the app to say -6500W

biemond commented 10 months ago

Hey, why is that ? solar is always producing and handled by energy tab, it should be positive.

biemond commented 10 months ago

https://apps.developer.homey.app/the-basics/devices/energy#generating-devices

Devices, such as solar panels, can generate their own energy. Homey shows these devices in the outer ring in the Energy tab.

Homey will show this device separately in the UI. You should provide the generated power as a positive value. When providing a negative value, e.g. -13 watt, Homey assumes the solar panel is currently consuming instead of generating energy.

lovethyresson commented 10 months ago

Hey, oh. Thanks! Totally misunderstood that then :)