Somfy integration - no devices found?

Hello,

I have just installed and configured a somfy blind and connexoon system. I can control the blind from my mobile phone / app. However, I cannot get the somfy integration into home assistant to show any devices.

I have followed the steps to install the somfy integration and it seems to work fine. I receive no errors in the logs relating to somfy, but simply no devices/entities are created.

I increased the logging level to debug, and still no errors related to the somfy integration. From what I can see the integration is ā€˜successfulā€™, but there are simply no devices returned.

I do not know if I need to do anything more than just install the somfy integration in home assistant for my blind to be defined/controllable in my somfy app on my mobile phone?

In my integrations page in home assistant (http::8123/config/integrations), I see the Somfy integration but unlike the other integrations, there are no devices or entities shown. I wonder if someone could let me know if this is what I should expect?

I saw an older ticket (around June) indicating that the integration broke due to somfy changing something at their end, is anyone else failing to get any somfy entities from the integration?

The somfy lines in my log file fwiw:

# grep somfy /config/home-assistant.log 
2020-08-13 23:22:51 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'group', 'configurator', 'input_number', 'sensor', 'garbage_collection', 'almond', 'input_text', 'zone', 'climate', 'system_health', 'dyson', 'met', 'sun', 'zeroconf', 'binary_sensor', 'tts', 'hacs', 'switch', 'input_boolean', 'mobile_app', 'asuswrt', 'camera', 'somfy', 'ssdp', 'updater', 'script', 'logbook', 'default_config', 'ipp', 'automation', 'map', 'cast', 'history', 'badnest', 'sabnzbd', 'hue', 'conversation', 'tplink', 'homekit_controller', 'timer', 'input_select', 'media_player', 'scene', 'input_datetime', 'persistent_notification'}
2020-08-13 23:22:51 DEBUG (MainThread) [homeassistant.setup] Dependency somfy will wait for ['http']
2020-08-13 23:22:51 INFO (MainThread) [homeassistant.setup] Setting up somfy
2020-08-13 23:22:51 INFO (MainThread) [homeassistant.setup] Setup of domain somfy took 0.0 seconds
2020-08-13 23:22:52 DEBUG (SyncWorker_0) [requests_oauthlib.oauth2_session] Adding token {'access_token': '<deleted>', 'expires_at': 1597326880.5617044, 'expires_in': 3600, 'refresh_token': '<deleted>', 'scope': 'user.basic api.full oa.site oa.user oa.device oa.devicedefinition level.0', 'service': 'somfy', 'token_type': 'bearer'} to request.
2020-08-13 23:22:52 DEBUG (SyncWorker_0) [requests_oauthlib.oauth2_session] Requesting url https://api.somfy.com/api/v1/site using method GET.
2020-08-13 23:22:55 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=somfy>
2020-08-13 23:22:55 INFO (MainThread) [homeassistant.components.switch] Setting up switch.somfy
2020-08-13 23:22:55 INFO (MainThread) [homeassistant.components.cover] Setting up cover.somfy

Hello, I have a somfy alarm system with cameras,sensors,but I can not integrate anything on home assistant. did you manage to do anything?

I have chased this with somfy support, it seems their API service is not supported in several countries (including mine - Australia). I have been trying to get them to say when they will support it without much response.

You can test it, by going to:

https://developer.somfy.com/somfy-open-api/apis/get/site

on the page there is a button ā€œOAUTH 2 Set credentials.ā€ click that / follow it to get a token.

Then click ā€˜try itā€™ ā€¦ If you get back a response that does not list any somfy devices, then the somfy integration will not work as it is just doing the same thing in the code.

Hope that helps for anyone reading this thread, as I wasted a few hours getting to this point.

@ddp did you ever find a way to use their API from those countries, or any other way to integrate with HA? I havenā€™t bought a Connexoon yet, but looks like there is some IFTTT integration? Or is that disabled in some countries too?

Not at this stage, sorry.

Are you certain it does not work in Australia? The Skaro Automation Bridge - https://automationbridge.com.au/ - uses the Somfy API to create virtual devices in Fibaro Home Centre Z-Wave gatewaysā€¦and I know it works because Iā€™ve done just that!

Ideally I want it going direct into Home Assistant though as Home-Assistant is what I use to control everythingā€¦but I seem to be sitting the same hurdle as everyone in that the Somfy API doesnā€™t seem to see my ā€˜siteā€™ - but obviously the API can work with my account because Iā€™ve got another device which is doing just thatā€¦

Interesting, well I can only go by two things. First, when I asked somfy support officially, they said:

ā€œYou can refer to the Terms and Conditions of Use of the programme, found at the Somfy website directed at developers, notes that the ā€œTerritoryā€ in which Somfy provides access to the APIā€™s does not include Australia: https://developer.somfy.com/faq-pageā€ ā€“ which says: ā€œThe documented API is only available for end-users from Europe, Middle-East and Africa.ā€

Secondly, the developer page actually lets you use it to generate a live API request, and when I do that, I just get back empty data for what my account can access via the API.

Do you know what the automationbridge.com.au system is using to drive the Somfy devices you have? I had a quick read, and I wasnā€™t clear whether it was using the somfy API, or talking direct to the Somfy motor on the blind (sort of like it is pretending to be a remote?)

1 Like

For what itā€™s worth:

I have a Connexoon io, driving a Supergradhermetic blind with adjustable slats from Gradhermetic, in Spain. The somfy integration doesnā€™t list the blind, just the connexoon, and when using the https://developer.somfy.com/somfy-open-api/apis/get/site API website my device is not listed.

But I have had partial success using the Somfy Tahoma integration (https://github.com/iMicknl/ha-tahoma integration , available in HACS)

Slats orientation doesnā€™t seem to work yet, just blind opening/closing, butā€™s itā€™s a very good start :slight_smile:

Hi Juan,

That sounds great, and Iā€™d be happy to see if I could get that integration to go too. I tried in the past, and I run into the issue that I do not have aTahoma link password. When I looked into getting a Tahoma link account, it seems like I needed actual Tahoma hardware. Can I ask, how did you create a Tahoma link account?

Thanks,
Damien

I had the same problem with my Somfy Switch. No devicesā€¦
Then I tried https://github.com/iMicknl/ha-tahoma and it works without any problem. Devices are available and response time is very fast

1 Like

Just thought Iā€™d give you a quick update. I no longer control my blinds using that dirty method I was doing going via the Skaro AutomationBridge. Found a much better way.

I purchased a Bond Bridge off Amazon Australia (Bond Bridge | Bond) and replaced my Connexoon Hub. I originally bought it just for a test, but found it to be significantly faster than the Connexoon Hub because its all local, no going out to Somfyā€™s cloud, and it has a Home Assistant integration. It works absolutely flawlessly.

Thanks for sharing, that is really interesting. Iā€™ve recently purchased an outdoor roller blind and under the hood its an alpha motors brand with an RF433 based remote. I thought I could use a Broadlink rmpro 4, but found out that those remotes have a rolling code on them and you canā€™t just ā€œlearnā€ them and repeat it.

After reading on the bond bridge page, it seems they are neo compatible too - and so are the alpha-based blind I have, via their alphaneo, so I might be able to replace 2 controllers with just this one. Can I check though, do you have a physical somfy remote and does it still work?

(I still have a physical remote right near the one blind we might have to walk ā€œthroughā€ - quicker and easier than finding a screen to do it. But, I think some of the hubs that pretend/mimic the RF433 rolling code setups, can make the original remotes no longer work).

Thanks again,
Damien

I have multiple Somfy remotes in the house and they all work perfectly.

@Paradox8 just clarifying, your Somfy devices are working in Australia?
Iā€™ve just added two blinds via the app, authorised the Somfy integration and Iā€™m unable to see my blinds.
Very disappointing.
Add to this, the app keeps crashing when I try and change my lats and longs, which means creating a timed program will be a pest.

Yes Iā€™ve got them working @CrouchingWorm, but never with the Somfy integration. It doesnā€™t work for us here unfortunately (although I think the solution Iā€™m using now is better!)

I was originally doing it a bit of a dodgy way using a Skaro Automation Bridge as an intermediary between my Somfy Hub and HA, and using the REST integration to send commands from HA to the Automation Bridge which then communicated with the Somfy Hub

However, Iā€™ve found a significantly better solution for controlling the blinds, and Iā€™ve completely ripped out my Somfy Hub

Iā€™m using a Bond Bridge which works entirely local (unlike the Somfy Hub) and thereā€™s an official Bond integration for HA. Itā€™s leaps and bounds quicker response time than the Somfy Hub (and Iā€™m talking faster than controlling via the Somfy Connexoon app) and I couldnā€™t be happier, I thoroughly recommend getting yourself one. Ties in just beautifully with HA.

I just bought mine on Amazon Australia. I just have the standard Bond Bridge, did not require the Pro model as Iā€™ve only got 12 blind motors and our house isnā€™t massive square footage.

https://www.amazon.com.au/dp/B071GVGVVH

And hereā€™s their website if you want to read a little more.

Thatā€™s an awesome response.
Thank you!
I just setup the developer api to see if that would help.
Gotta say the Somfy app and responsiveness is quite underwhelming.
Iā€™m off to buy a Bond Bridge!

You will not regret it. Itā€™s a great bit of kit! If youā€™ve got any ceiling fans with remotes, you should be able to use it to integrate them too.

Hi,

I am in Australia and originally had trouble with the official somfy integration - raised it with Somfy support, and simply it just does not work in Australia. But, I am using the somfy-tahoma/overkiz integration available via HACS and it is working really well with a somfy connexion hub.

All up, I have a wall remote & the connexion hub & phone app and hass all working together seemlessly. It works pretty well, I automate the blinds up and down based around time and/or the sun integration. Iā€™ve also automated items such as if the TV comes on in the afternoon, then put the blinds down to cut down on the glare.

But, Iā€™ll admit somfy itself is not perfect - the phone app and hass are always a touch slow and occasionally the somfy servers seem to be offline so the automations fire on the hass side, but the blinds havenā€™t gone up or down. When this occurs, the phone app also canā€™t control the blinds usually for a few hours. This probably happens once every couple of months.

HTH

thanks @ddp . More great info.
Iā€™m expecting my Bond device today. so planning on using that (thanks @Paradox8).
The Somfy app performance has been poor at best from my perspective. pretty disappointing.
The somfy-tahoma integration will be my plan-b. Which is excellent to have.

Will let you know how I get on.

Thanks all!

Let us know how it goes @CrouchingWorm. I reckon youā€™ll be blown away