Somfy cover with RFXtrx not working


#1

Hi,
as per https://home-assistant.io/components/cover.rfxtrx/ I programmed my Somfy to work with RFXmngr.

ID: 5 55 55
Unit Code: 2

RFXtrx works fine in HA as I get some t° data from the neighbours.
That’s what I get in the logs when I hit the [stop] button which should put the shutter to preset position. But UP/Down do’nt work neither:

2017-09-08 17:35:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=cover, service=stop_cover, service_data=entity_id=cover.stores_electriques, service_call_id=1960908880-17>
2017-09-08 17:35:04 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1930919568: Sending {'id': 51, 'type': 'event', 'event': {'event_type': 'call_service', 'data': {'domain': 'cover', 'service': 'stop_cover', 'service_data': {'entity_id': 'cover.stores_electriques'}, 'service_call_id': '1960908880-17'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2017, 9, 8, 15, 35, 4, 542510, tzinfo=<UTC>)}}
Send: 0x08 0x1a 0x00 0x02 0x05 0x55 0x55 0x02 0x00
2017-09-08 17:35:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1960908880-17>

And this is my config :

cover:
  - platform: rfxtrx
    automatic_add: False
    signal_repetitions: 1
    devices:
      071a000005555502: # RFY
        name: Stores éléctriques

Has someone any idea what could be wrong?
If you have a working setup can you share your settings and logs?

Thanks


#2

seems that my device ID is correct as it doesn’t appear in the devices when I alter it.
Does anyone has an idea how to debug this further?


#3

have you ever found out how this works? according to this thread, your code is missing trailing zeros.

071a0000 0555550 2
09190603 0A0A0AA 1 00 00
09190603 [id] [unit_code] [cmd] 00

resulting in that code, this should work:

cover:
  - platform: rfxtrx
    automatic_add: false
    signal_repetitions: 8
    devices:
      071a0000055555020000:
        name: Stores éléctriques

#4

Hi ,
Thanks for pointing to this, I’ll check, but actually I bought an RFLink set which worked out of the box^^^solder iron and since then my blinds go up and down with the sun’s elevation.
BRB reprogramming the RFXtrx.


#5

having both, a rfxtrx and a rflink is a good solution, that i also chose :slight_smile: