New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChangeURL from region to uni0 #105
base: main
Are you sure you want to change the base?
Conversation
@reyntjensw can you please review? |
@rmangin-fr was this tested? |
@cloudsisters-admin NOOO Unfortunately, I do not know how to simulate dev environment. |
@rmangin-fr the change needs to be tested first. Unfortunately, I have no api access so I cannot test it, but Homey has a great reference to test. (https://apps.developer.homey.app/the-basics/getting-started) What you need to do is to clone it to your local machine and execute homey app run, this will run the local code and you will be able to test your changes. |
will do it :) a bit blocked by the environment. but will succeed! But I think I'm more interested into helping to develop the Modbus TCP version that will use the local network of the inverter (better to avoid internet in & out to read a local data). |
I'm afraid the Modbus communication is far from stable, like I mentioned on the forum, I'm not sure if I will release it because of the pile of support tickets that will pop up. |
There is an integration that is working in Home Assistant with two connection types (serial or network) which is local and not through cloud. https://github.com/wlcrs/huawei_solar Regards, |
Is there a way to test this? |
I cannot test the correction remotely. Planning to go on my house with solar panels around April. Should be able to test once I will be in the same network.
I have the feeling I cannot test without being in the same WIFI network. Is this right?
From: Wouter Reyntjens ***@***.***>
Sent: Wednesday, February 28, 2024 11:57 AM
To: reyntjensw/Homey-FusionSolar ***@***.***>
Cc: MANGIN, Remi ***@***.***>; Mention ***@***.***>
Subject: Re: [reyntjensw/Homey-FusionSolar] ChangeURL from region to uni0 (PR #105)
@dragosj<https://github.com/dragosj> @5g11<https://github.com/5g11> we cannot use the HA integration because it is written in Python and not in NodeJS.
Converting this requires time that I do not have.
Like mentioned multiple times, we need another dev to pick this up.
I don't have time to work on it and support this.
-
Reply to this email directly, view it on GitHub<#105 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOHXVYHDA7PAFKKPNAZ7EWTYV4EOVAVCNFSM6AAAAABCKOC33CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRYG4ZTCMRSGM>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Just a question about registration. Would it make sense to do this? "https://uni004eu5.fusionsolar.huawei.com"? https://homey.app/en-us/app/org.modbus/Modbus/ We can test Mobus here: https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/829 |
Hi interested people :) Just to let you know that I should be able to test and probably maybe also debug the changes next week as I will be 'in the same wifi network than my Homey'. With that, I would also like to upgrade some components versions to more recent stage. Many thanks for not having yet validated my PR so that people are annoyed from December :) BTW, I will test other ModusTCP solar applications to see if I'm able to understand the protocol from there. Reminding latency:
Taking actions with the Kiosk URL in Home Assistant can lead to elevation of the electricity bill just because of 5 minutes of sun badly placed in 1 hour! Definitively, I hate the third option that I am forced to use in HA from December. Best Regards |
Hey, good question :) this is the content of the PR :) Better news before SUMMER sun hopefully :) |
Sorry it did not work, I'm stuck with understanding the coding with rear call that does not find the token. But from the logs I have added for sure the rear=undefined. I suppose the solution is not far but when I compare the cookies I got in my browser and those that the app is retaining, I'm afraid the session is not completely saved in the app so that next call can work. As well, path is not the same in the set-cookies instructions that in the jar repository. I've also checked my Sun2000 has no 6607 opened port. So the modbus option cannot be used without installer action to open ports. I will try to check the Home Assistant code so as to check how they make the loading of the URL since I observed the Kiosk url is again delaying webpage content to subsequent browser calls. Tomorrow the installer guy comes to check the installation, I will ask them to enable the local connectivity since it seems not so hard to enable. No real progress yet. |
Hi, can you please test this change on your end?