Overkiz API and Somfy API

I’m afraid by the loss of functionality too. But the good news is they planned to migrate their products using the old API to the new one. Meaning they probably planned to enhance it.

About the thermostat, I’m really happy to see you own one :slight_smile: Currently the component only supports the covers… because I have only covers. My client API pymfy support it: https://github.com/tetienne/somfy-open-api/blob/ab92fe55ac174cc38e3cf4d09e7111ec6ba65e2c/pymfy/api/devices/thermostat.py So I just have to know which class to extend in HA, and the mapping HA/Somfy.

Can you contact me by PM? I would like to see what /devices endpoint returns for you: https://developer.somfy.com/ I want to be sure I didn’t make any mistake.

If i set the position up or down the state is still unknown.

If you click on the button yes. But if you specify a position like 30 for instance?

The ability to set the “My Position” on the somfy blinds isn’t available in the API and so it sort of makes the blinds redundant in HA other than to close them. I am going to order an RFXtrx433XL and perhaps switch to that. Hopefully that can replicate the “My Position” that is supported by the remote and the Tahoma component.

I am also finding that the Tahoma seems to stop responding after a while for some reason.

If I set an position I get an error that it only knows open close and stop.

Thx. When you use the Somfy application, can you set the position for your RTS cover? I know we can’t get the position, but we can set it. Right?

You can set it to open close and my (my is a predefined position)
At the moment i use homebridge with the connexoon plugin because the tahoma plugin in home assistant does not work for me. Homebridge is connected in home assistant with homekit control, only the status updates are slow (now solved with a restart of home assistant)
With this integration i can set the position to 50 and than it goes to the my position.

Does the Connexoon not work with this new Somfy API Component?

No only open, close and no status and no my position as described a few posts above.

Yes I would have expected that with the new API as I understand that Somfy have not yes exposed the “My Position” yet in the new API. As for the state even the Tahoma and Connexoon don’t know the state of the blinds as 433mhz is one way (no state update) so like you’ve mentioned above any state would need to be tracked in HA.

The point of my question really was to see if the core functions work in terms of the Connexoon box itself.

I am going to try a RFXtrx433XL instead as I prefer the local processing rather than relying on another Cloud connected product.

OK, perhaps I can enhance the Somfy component to “guess” the state. For instance, if through HA you open or close your state, indeed, we can assume a position set to 0 or 100. It will be right for you?

Yes, for open and close 0 and 100 is good.
And 50 for the my position, but that’s not in the api yet if i 'am right?

Yes, there is nothing I can do for the “My” button. This one is not exposed by the API.

Somfy server are still down on my side. I will check if I can do something to avoid to remove the integration and add it again to solve the issue.

Hi all,

If you haven’t still read the latest post about the State of Union 2019, do it. It worth the price :tada: Here the link: https://www.home-assistant.io/blog/2019/11/20/release-102/#account-linking

You can all remove the Somfy entry within your configuration.yaml. There is no need anymore to create an application on the Somfy developper website :slight_smile: Just remove the Somfy integration before restarting HA and add it again.

Somfy told us they tweak a little the application used by the HA cloud to avoid error we all met.

2 Likes

So, I implemented on my test HA what we talked about: if you open your RTS cover with HA, this one must know the cover is open. The same when you close with HA.
Problem: if someone open/close manually the cover, HA won’t be aware (normal behavior), and you won’t be able to close/open it with HA as the option will be disabled.
It sound not user friendly.
If you really want to do this, I suggest you to create a custom component where you override the behavior. I can give you the code in PM.

Just amazing. Good game man, you done such a great job. Somfy owes you a golden cup :trophy:

1 Like

At the moment i use the homebridge integration in the same way, only i can send manualy a position where it’s in (with node-red). I think that this is still possible with this.
You can send me a PM and i will test it, but i need the my position before i migrate to this, hope somfy will implement it.
But this is the first step.

Hi everybody,
Can I integrated the Somfy One camera ?

I integrated the Somfy in integrations. But no Somfy device is detected.

Hi, the camera is indeed supported by the API, but not by HA. You have to know it will only allow to open on close the shutter. The video stream is not exposed.
I can try to add the shutter switch this week. Can I contact you by PM,II will need your help as I don’t have any camera.