ecoen66 / homebridge-solaredge-inverter

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

[RFE] change API call to collect more data #2

Closed stepir closed 4 years ago

stepir commented 4 years ago

Hi @ecoen66

wanted to check if you might be interested in evolving the code for gathering not just the overview of the site but some more information as the following:

oveview API return the following info: `

2020-05-15 10:29:15 1.5900604E7 4820.456 3811718.0 585475.0 8780.0 1197.2842 INVERTER

`

the proposal is to use currentPowerFlow API instead which return the following info: `

3 kW Active 0.0 Active 1.07 Active 2.53 Charging 1.46 26 false PV Load PV Storage

`

currentPowerFlow could be then used to represent:

what do you think?

ecoen66 commented 4 years ago

@stepir That sounds like it would work. My inverter does not support that API, so I won’t be developing the code for that.

Feel free to create a fork off of my code and add what you need.

stepir commented 4 years ago
Schermata 2020-05-16 alle 12 44 33

I've done it - but I have never coded before so was only able to do it given I just changed your. I don't think it's properly written to publish it for others.

Thanks anyway your work was very helpful!

ecoen66 commented 4 years ago

@stepir That looks great! You should go ahead and publish it so others can learn from it (and use it for their homes). I would love to look at your code. I was thinking of modifying my code to send actual kW day to HomeKit first the Eve app. Eve has a lot more dat that it knows how to display, and it can track history as well.

For a good example of an Accessory that shows a little information in Home, but a lot of information in Eve, just add homebridge-ws to your homebridge.

stepir commented 4 years ago

I think you can use fakegato-history for it!

I've created a private repo for my code - here is the code. There is a lot of space of improvement - eg collecting the info once and pass it over the to the right accessories.

index.json.zip

Doorenbosch commented 4 years ago

Hi, uploading it allows other to review and maybe improve it. But great job!

Best,

Frank

Send from my mobile device

Op 16 mei 2020 om 16:45 heeft stepir notifications@github.com het volgende geschreven:

 I think you can use fakegato-history for it!

I've created a private repo for my code - here is the code. There is a lot of space of improvement - eg collecting the info once and pass it over the to the right accessories.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

stepir commented 4 years ago

thanks it's available here

https://github.com/stepir/homebridge-solaredge