tejonrojo / homebridge-apsystem-inverter

AP system Inverter plugin for homebridge
0 stars 0 forks source link

Not working? #1

Closed prsng closed 6 months ago

prsng commented 2 years ago

I don't see the plugin working anymore. Does it need updates with dependencies?

tejonrojo commented 2 years ago

Ap systems change their api. I will try to fix it

ghost commented 2 years ago

Any updates on this?

gpsgeo commented 8 months ago

I too would like to know if there are any updates.

iceonu2 commented 8 months ago

same here please

chrisgagne commented 8 months ago

Same here please, happy to send you money for a beer :)

EddieDSuza commented 6 months ago

seems like the API link has changed from http://api.apsystemsema.com:8073/apsema/v1/ecu/getPowerInfo to http://api.apsystemsema.com:8073/apsema/v1/apisystem/getSystemPowerInfo

See here that I was able to download - Apsystems EMA API operation manual.pdf

So when I updated the link in index.js it doesnt throw any errors. the plugin loads but doesnt provide any values. Now the values report in Current Ambient Light Level aka. Lux

Screenshot 2024-01-16 at 12 57 40 Screenshot 2024-01-16 at 12 57 33

Now sure what else is needed. In Home Assistant you have to also provide the authId & systemId which I have done and works as expected.

tejonrojo commented 6 months ago

Hello, the problem is that the api is not free. I think that we need to change the approch to a local service like home assistant do. https://community.home-assistant.io/t/apsystem-solar-energy-integration

EddieDSuza commented 6 months ago

I'd be happy to help as well since I got the solution working with HA

iceonu2 commented 4 months ago

I'd be happy to help as well since I got the solution working with HA

👍🏻