Then its also working on my my side cause i also get just 404 Not Found.
Hmm, i just blocked the device in my Unify router but it looks like the whole traffic is blocked.
Because when i block Somfy Switch i get this error:
Error requesting device events data: Cannot connect to host gateway-xxxx-xxxx-xxxx.local:8443 ssl:default [Connect call failed (â192.xxx.xxx.xxxâ, 8443)]
I added now i rule to only block internet traffic and now its working
The Somfy app says no internet connection and shows the box as Offline but i can control my motors.
Thank you for your time and work!!!
Installed the PR Custom component via HACS and rebooted HA. Now installed the PR Custom component integration and provided the given PR. Forgot to reboot HA. Not been able to install the new Overkiz integration (Custom Overkiz PR#71644). After I did reboot HA, I found the custom overkiz integration. Chose Europe as my server, used the âLocal APIâ option and provided the gateway hostname and bam, it worked. Thank you @imick for all your work (so far).
Great, thanks a lot all for your tests! Please let me know if you face any issues with the integration.
I will be working on cleaning the code and hopefully in a next update we can include the first version of local API support.
Known bugs:
- Currently all entities have the name of their device name, instead of âMy Buttonâ for example. This is actually a bug in the latest beta of core + overkiz.
Fix missing EntityDescription names in Overkiz by iMicknl ¡ Pull Request #95583 ¡ home-assistant/core (github.com) - Unloading the integration (removing the hub from HA) will raise an error in the log
Both known bugs (mentioned in the post above) should now be fixed with the latest version.
Will it be part of the next HA release?
Not sure yet. I need to write all tests for Config Flow (needs 100% test coverage) and the code needs to be on par with core code quality, and my time is still very limited.
Please note that the Config Flow wonât show descriptions when you test it via the custom PR component, see the descriptions here: Overkiz integration - Local API [Development / Testers topic] - #106 by imick.
Thanks for the whole job, hope to try this 1st official release soon !
@imick I have used the hack of Donny Maasland a long time ago.
I stopped updating Home Assistant, since the old Overkiz (by Somfy) integration otherwise stopped working.
Now I wanted to try your implementation, but it always wants to communicate with Somfy to get the token.
Since I hacked the device I already have a token, but no SSL certificates. The old version worked on plain http.
Is there a way to get the hacked version back working with your implementation?
Iâm a bit scared to update the firmware since itâs been altered. I donât want to brick my Connexoon.
If I can make some alterations to the code it would be okay. If it can be implemented it would even be better
@imick just wanted to say thanks for the new release. The last one was barely usable due to the connection loss all the time (unavailable status). This one seems way more stable! Will test that the coming days.
This wonât be supported by the integration. Connexxoon now has an official Local API, supported by Somfy.
Modifying the integration is possible, but it wonât be super easy. You will need to remove the part where we contact the Somfy server in the Config Flow to generate a token and hardcode a token in here. We donât verify the SSL certificate by the way, so as long as you can access it over SSL, it should be fine.
I did adjust the flow, but it didnât login (yet).
Added the token in code. For the UUID I generated a custom one and also hard coded it.
It tries to login, but fails.
But SSL is not enabled on the specific device.
Where does it determine to use SSL, maybe I can change it to plain http?
Perhaps better to discuss the follow up on Discord, since this is off-topic for here. HTTPS is added in generate_local_server() which is part of the Overkiz python library, thus not that easy to modify. What kind of error do you get at the moment? (turn on debug logging as well).
I would have a look how you can move to the latest Connexxoon update, it should be possible without bricking.
And thank you for the donation!
Great to see so many people testing the integration, and not reporting any issues. Gives me confidence that it is ready to be added to core, when I finally have time to write tests.
@imick just setup my 2nd Somfy shade, was autodetected with no issues, where can I donate to you for this amazing integration?
On the GitHub page of the custom integration, we have a Sponsor button with the PayPal links of all contributors. But please donât feel the need to donate.
(Constructive ) feedback on the integration and testing is already appreciated a lot.
I was this close running this as beta until I saw you almost planned to push it to an official release . Iâll be happy to test when the release is official. Btw; do you know if garage doors (IO) are also supported for the local API?
Big thanks for creating this iMick and others!
I am not sure if we are able to ship it in the coming months. My holidays will be coming up, where I will be a month mostly offline, thus probably it will ship in October the earliest.
Yes it works, I have one on my Tahoma.
If thatâs the case, do you know if there are any plans to fix the current integration for use with the later HA releases? Iâve held off updating HA for 2 months hoping for some movement one way or another, and donât generally like being that far behind. Thanks for all the hard work thatâs been done so far though!
What do you mean? You can use this test version with the latest HA already?