-
-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Add local API support to Overkiz integration (Somfy TaHoma Developer Mode) #71644
Add local API support to Overkiz integration (Somfy TaHoma Developer Mode) #71644
Conversation
Hey there @vlebourl, @tetienne, mind taking a look at this pull request as it has been labeled with an integration ( |
Hello @iMicknl, Thanks for your work. I'm new to the home assistant community, but I'm willing to help. Can I help here in order to test the local mode? |
@nyroDev sorry for the late reply, I totally missed the notification. Can you send me a message on Discord? (iMick#1903). |
1495940
to
999b2b7
Compare
0526962
to
3ee1666
Compare
5057da1
to
60732d8
Compare
Hello some feedback, I got an issue which was hard for me to debug, I finally found it by using Postman and reproducing the API calls. In config_flow.py
Other issue I get, but related to the local API, I've a Protexiom Alarm linked to my Tahoma box, the protexiom elements a properly reported using the cloud API, but not reported through the local API |
As not all entities can be locally controlled (😢), I think we should still discover it and propose the user the config flow, but warn him if the config flow about those restrictions. OR Make a new integration, local based: The problem could be much easier to solve if all entities could be local controlled. |
@gregnebu can you describe your issue and add your diagnostics file to #69558? This will help us in further development.
I fully agree and I am pushing Somfy on it, however I don't think we will see this change soon... So I will have a look at the options. Perhaps we should prefix everything with local for the local integration. |
60732d8
to
a40b928
Compare
Somfy ecosystem seems to be down this evening, so any news about this PR ? 😁 I would like to help but I dont develop in python 😬 |
@MrJuliuss, unfortunately I haven't had time lately since I just did return from a month of traveling. Coming weeks are very busy as well, so any help is welcome indeed. It can be with extensive testing, but mainly Python help is welcome haha. |
@iMicknl What kind of python help would you need? I'm very interested in local support of the cover tilt, which is not accessible via the homekit integration. I'm just now deciding, if it's better to buy Somfy Tahoma, or the Vellux KLF200 controller. Somfy would be better, if the tilt support was going to be there someday. (Can you please confirm this?) I code in python at work, maybe I could help you, although I don't have much free time lately. I have covers with the Somfy J4 io Protect motors. |
@muraj238 if you could add me on Discord (iMick#1903) we can discuss. Unfortunately last months I have been very busy with work, so no time to really work on this integration anymore... |
@muraj238 FYI, cover tilt in Homekit Controller is fixed but not yet in a PR. You can apply the fix when creating a custom component. I need to add tests (which I'm not familiar with). If you can help out with tests, that would be great. See #63068 (comment) for more info. |
I was told it's not a bug or missing feature in HomeKit Controller, but something Apple has to implement. |
Added you yesterday with one of my old gaming names Setan Fajces. :-) |
Not sure how you come to this conclusion... Its working flawlessly with Homekit with the fix in a couple of environments already, including mine. |
Thanks. I'll try as soon as the Tahoma Switch arrives. If it works, I'll help you with tests or with whatever will be needed. :-) |
d0ef6da
to
f84d86e
Compare
f84d86e
to
7562280
Compare
7562280
to
a277787
Compare
a277787
to
21ea57f
Compare
a7134d5
to
8323660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 👍
@iMicknl Thank you for your hard work and effort of getting this integrated! ❤️ 🎉 |
Proposed change
Adds support for the local API of Somfy Developer mode. The first implementation will only support one way of connecting your hub to HA, either local or cloud. Basic discovery features have been added.
Future PR's can add:
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: