ecoen66 / homebridge-solaredge-inverter

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

Option to display output in W #13

Closed Cardo1 closed 3 years ago

Cardo1 commented 3 years ago

Hi there,

Thanks for making this plugin. I’m using this together with a plugin for my SolaX PV system. The SolaX plugin displays the output in W, rather than kW, which I personally prefer. Would it be possible to have an option to display the output from this plugin in W, rather than kW?

Thanks.

ecoen66 commented 3 years ago

Unfortunately, this is a limitation in the way that Apple's homeKit represents a LUX value over 10,000 -- It just rounds the value up to the next thousand. After 100,000 it rounds to just the hundred thousands (so 138,432 = 100,000).

Are you looking for an option for just the current production to be displayed in W/kW? Or other production intervals as week (day, month, year...)?

Cardo1 commented 3 years ago

Unfortunately, this is a limitation in the way that Apple's homeKit represents a LUX value over 10,000 -- It just rounds the value up to the next thousand. After 100,000 it rounds to just the hundred thousands (so 138,432 = 100,000).

Are you looking for an option for just the current production to be displayed in W/kW? Or other production intervals as week (day, month, year...)?

Hi. Thanks for the response. Personally, I was after the option to display in W just for the current production, as this will (sadly) never be anywhere near 10,000!

ecoen66 commented 3 years ago

Try version 0.2.0.

It will require changing the config.json file (or deleting the section in there for the plugin, and then re-adding it through the Config-UI-X).

Cardo1 commented 3 years ago

Try version 0.2.0.

It will require changing the config.json file (or deleting the section in there for the plugin, and then re-adding it through the Config-UI-X).

Excellent, thanks. I’m assuming it’s working, though will need to wait for daylight to confirm!

One, thing, now that it’s dark, it’s showing “0.0001 lux”. I gather that’s how it’s adjusting from kW to W?

ecoen66 commented 3 years ago

Math sucks in Java.

Sent from Yahoo Mail for iPhone

On Wednesday, December 23, 2020, 11:40 AM, Cardo1 notifications@github.com wrote:

Try version 0.2.0.

It will require changing the config.json file (or deleting the section in there for the plugin, and then re-adding it through the Config-UI-X).

Excellent, thanks. I’m assuming it’s working, though will need to wait for daylight to confirm!

One, thing, now that it’s dark, it’s showing “0.0001 lux”. I gather that’s how it’s adjusting from kW to W?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

Cardo1 commented 3 years ago

Excellent. AB14C29F-1ED5-4F18-BF24-3965A4F7459C

gdotp01 commented 3 years ago

Hi. Not sure what I’m doing wrong but I can’t get the new version to work. As far as I can see the config file is correct, I want it to show current today and total as before but it’s only showing current (in watts) in HomeKit. (In 7972BE61-D1CD-4DCE-B7DB-D379BA14B771 84F97656-A1CD-4A67-A529-072C59774DA4

eve or Home)

gdotp01 commented 3 years ago

Just adding, it does appear to be fetching the correct info 30B263F8-D2D4-49AF-BC1F-EDBA511A0AB5

ecoen66 commented 3 years ago

Try v. 0.2.1. I did a little regression testing to make sure. It should be fine now.

gdotp01 commented 3 years ago

That’s working now thanks