nxd4n
(Daniel Nix)
September 8, 2017, 4:03pm
1
Hi,
as per RFXCOM RFXtrx - Home Assistant 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
nxd4n
(Daniel Nix)
September 22, 2017, 8:14pm
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?
diplix
(felix schwenzel)
March 9, 2018, 6:26am
3
have you ever found out how this works? according to this thread, your code is missing trailing zeros.
Hi Guys,
Never mind, I just figured it out (took a bit of luck actually). I added the cover with the code above, ending 0000 and set the signal repetition to 8 which seems enough to simulate a “long press”. The stop button in HA appears to correspond to my “middle” button on the remote :).
This is my config for the record:
- platform: rfxtrx
automatic_add: false
signal_repetitions: 8
devices:
09190603010101010000:
name: blinds
My device has…
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
1 Like
nxd4n
(Daniel Nix)
March 9, 2018, 8:05am
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.
diplix
(felix schwenzel)
March 9, 2018, 8:32am
5
having both, a rfxtrx and a rflink is a good solution, that i also chose
nxd4n
(Daniel Nix)
October 15, 2023, 12:44pm
6
I know this is a very old post but who knows, maybe this might help someone struggling with RFXtrx and Somfy covers.
As my rflink stopped working a couple of weeks ago, I took the time to try to get the RFXtrx device to work with my blinds.
I added the integration again with event code 071a0000 020F0F02.
Packettype = RFY
subtype = RFY
Sequence nbr = 13
id1-3 = 020F0F decimal:134927
Unit = 2
Command = stop
rfu1 = 00
rfu2 = 00
rfu3 = 00
Signal level = +10 dBm
That worked and I get a buton for down, stop and up. But still nothing moves from there.
That’s from the HA logs when I push down, stop and up:
2023-10-15 14:16:17.191 DEBUG (SyncWorker_0) [RFXtrx] Send: 0x0c 0x1a 0x00 0x03 0x0f 0x0f 0x0f 0x01 0x11 0x00 0x00 0x00 0x00
2023-10-15 14:16:17.261 DEBUG (Thread-10 (_connect)) [RFXtrx] Recv: 0x14 0x01 0x01 0x03 0x0f 0x53 0x16 0x28 0x00 0x67 0x00 0x01 0x03 0x1c 0x04 0x00 0x00 0x00 0x00 0x00 0x00
2023-10-15 14:17:25.584 DEBUG (SyncWorker_3) [RFXtrx] Send: 0x0c 0x1a 0x00 0x04 0x0f 0x0f 0x0f 0x01 0x00 0x00 0x00 0x00 0x00
2023-10-15 14:17:25.801 DEBUG (Thread-10 (_connect)) [RFXtrx] Recv: 0x14 0x01 0x01 0x04 0x0f 0x53 0x16 0x28 0x00 0x67 0x00 0x01 0x03 0x1c 0x04 0x00 0x00 0x00 0x00 0x00 0x00
2023-10-15 14:17:28.591 DEBUG (SyncWorker_9) [RFXtrx] Send: 0x0c 0x1a 0x00 0x00 0x0f 0x0f 0x0f 0x01 0x12 0x00 0x00 0x00 0x00
2023-10-15 14:17:28.663 DEBUG (Thread-10 (_connect)) [RFXtrx] Recv: 0x14 0x01 0x01 0x00 0x0f 0x53 0x16 0x28 0x00 0x67 0x00 0x01 0x03 0x1c 0x04 0x00 0x00 0x00 0x00 0x00 0x00
That’s what I get form the RFXmngr when I transmit Down, Stop/My, Up:
------------------------------------------------
15-10-23 02:20:51:169= 1401071107436F7079726967687420524658434F4D
================================================
15-10-23 02:20:55:274= RFY command: 0C 1A 00 12 02 0F 0F 02 03 00 00 00 00
================================================
Packettype = RFY
subtype = RFY
Sequence nbr = 18
id1-3 = 020F0F decimal:134927
Unit = 2
Command = down
rfu1 = 00
rfu2 = 00
rfu3 = 00
Signal level = +10 dBm
------------------------------------------------
15-10-23 02:20:55:873= 0402011200
Packettype = Receiver/Transmitter Message
subtype = Transmitter Response
Sequence nbr = 18
response = ACK, data correct transmitted
================================================
15-10-23 02:21:00:392= RFY command: 0C 1A 00 13 02 0F 0F 02 00 00 00 00 00
================================================
Packettype = RFY
subtype = RFY
Sequence nbr = 19
id1-3 = 020F0F decimal:134927
Unit = 2
Command = stop
rfu1 = 00
rfu2 = 00
rfu3 = 00
Signal level = +10 dBm
------------------------------------------------
15-10-23 02:21:01:129= 0402011300
Packettype = Receiver/Transmitter Message
subtype = Transmitter Response
Sequence nbr = 19
response = ACK, data correct transmitted
================================================
15-10-23 02:21:04:507= RFY command: 0C 1A 00 14 02 0F 0F 02 01 00 00 00 00
================================================
Packettype = RFY
subtype = RFY
Sequence nbr = 20
id1-3 = 020F0F decimal:134927
Unit = 2
Command = up
rfu1 = 00
rfu2 = 00
rfu3 = 00
Signal level = +10 dBm
------------------------------------------------
15-10-23 02:21:05:061= 0402011400
Packettype = Receiver/Transmitter Message
subtype = Transmitter Response
Sequence nbr = 20
response = ACK, data correct transmitted
So the commands sent from HA don’t correspond. So I tried to use the service rfxtrx.send to send those commands
#down
service: rfxtrx.send
data:
event: "0C 1A 00 12 02 0F 0F 02 03 00 00 00 00"
#stop
service: rfxtrx.send
data:
event: "0C 1A 00 13 02 0F 0F 02 00 00 00 00 00"
#up
service: rfxtrx.send
data:
event: "0C 1A 00 14 02 0F 0F 02 01 00 00 00 00"
And this worked. I can know use this for my automations. I don’t have a nice cover panel but that’s a minor problem as I’m happy to get the blinds automated again (and that I can use the RFXtrx module after 5 years of taking dust).