ThomasHoussin / com.thomashoussin.fronius

Adds support for Fronius inverter in Homey
GNU General Public License v3.0
0 stars 0 forks source link

Unable to connect to homey #34

Closed DV76 closed 2 years ago

DV76 commented 2 years ago

I have problems to connect my inverter. I get unable to connect when adding IP adress.

Can you please help me?

ThomasHoussin commented 2 years ago

Hi.

Could you give me more informations so I can have a look ? do you use stable or test version for the app ? Which inverter ? Did you check that API connection is enabled in your firmware ?

Could you laucnh in a web brower the URL and post the result please ?

http:///solar_api/v1/GetInverterRealtimeData.cgi?Scope=System

Thanks

DV76 commented 2 years ago

No test version, installed it from this site https://homey.app/sv-se/app/com.thomashoussin.fronius/Fronius/

The inverter is Symo 15.0-3-M (1)

I tried the link with my IP but got the code 404 Not found

DV76 commented 2 years ago

How/where do I see if the API connection is enabled?

ThomasHoussin commented 2 years ago

If the given url doesn't work, it's a network problem (not app problem). Are you able to connect on the administration web interface of Fronius ?

DV76 commented 2 years ago

If the given url doesn't work, it's a network problem (not app problem). Are you able to connect on the administration web interface of Fronius ?

Yes, if you mean at solarweb.com ?

DV76 commented 2 years ago

Think it was the wrong IP, I got this now will using your link

{ "Body" : { "Data" : { "DAY_ENERGY" : { "Unit" : "Wh", "Values" : { "1" : 69970 } }, "PAC" : { "Unit" : "W", "Values" : { "1" : 8220 } }, "TOTAL_ENERGY" : { "Unit" : "Wh", "Values" : { "1" : 9420210 } }, "YEAR_ENERGY" : { "Unit" : "Wh", "Values" : { "1" : 9420213 } } } }, "Head" : { "RequestArguments" : { "DeviceClass" : "Inverter", "Scope" : "System" }, "Status" : { "Code" : 0, "Reason" : "", "UserMessage" : "" }, "Timestamp" : "2022-07-10T17:03:54+02:00" } }

DV76 commented 2 years ago

And now it worked to add the app, thx for the support! 🙏🏻

ThomasHoussin commented 2 years ago

No problem, thanks.

DV76 commented 2 years ago

Another question, my inverter sleeps at night. And now I can't reach it. Have not checked yet but I'm thinking there is not a static Ip adress? Is it possible to set it like that or Is something else wrong maybe?

ThomasHoussin commented 2 years ago

You have a specific parameter (in fronius web interface) in the settings section IIRC ; something like night mode, it activates reporting and API during the night.

DV76 commented 2 years ago

Do you have a picture where I change it so maybe I can find it? 🙏🏻

DV76 commented 2 years ago

Did you have any screenshot to help me out?😎

ThomasHoussin commented 2 years ago

Have a look at this parameter : image

StarkRobin commented 1 year ago

I had the exact same issue with not being able to connect from the Homey app even though the ip-address was correct. I tried multiple times and even gave the inverter a static ip-address in my router but it didn't work. I then found this closed issue and tried opening the link http:///solar_api/v1/GetInverterRealtimeData.cgi?Scope=System

I then tried to connect once more in the Homey app - and like magic - it now worked.

Was it just a coincidence or do we first need to access that url? Maybe you could add that request to the pairing process or at least add the information in the App Description in Homey?