RFXCOM + Somfy right ID code

imho it is the second code based on your upper most screenshot (another feedback mentioned similar to use that). One thing that may frustrate testing is if you have two ‘integrations’ connected to the rfxtrx, i.e. if I connect with rfxmgr as the same time then HA is not always working…so disconnect that.
All in all… I donot want to say that my journey has been easy as well, took a while to get this all setup and havent touched it in 6 months so part of it sunk back in memory’.
Just to recap what I did

  1. used rfxmgr to setup/choose the codes (not the default values) and pair with the somfymotor
  2. test it from rfxmgr after I placed the rfxtrx on the intended location
  3. added it via the code to HA
  4. then needed to identify which switch/cover/etc. actually worked for me

(08 *Programme (transmission > 2 secondes)

I can confirm that a similar approach also works for me (different code of course)

Just to let you know that I am having some issues with RFXTRX box… The box is connected, no error messages but it is not responding to codes HA is sending… I have to reload the integration in HA or disconnect/reconnect the box to have it working… Don’t know since how long this is happening but this could explain that your code (that we think are valid) are not giving any reaction through HA.

Thank you all for your reply.
I will test everything today and let you know what might have worked.

I am having some funny stuff as well.

I have a somfy remote with 2 blinds and 1 sunscreen.

HomeAssistant has always worked with all three devices. But twee weeks ago I noticed the sunscreen does not work anymore. The other 2 still do work. I have no clue since when this is. could be anywhere after last summer :slight_smile:

The remote works on all 3 devices. Always has, still does.

WHen I remove all devices in rfxcom integration, re-add the 3 again, they all get accepted.
The 2 blinds work fine, but still the sunscreen does not.

I have the feeling something changed on HA side. I can not however say with 100% certianty there is nothing wrong with the sunscreen itself. But I am at a loss.

Below the code which I had in the configuration.yaml in the old-days. These are the device id’s which I use to add in rfxcom integration

  071a000000000101:
    signal_repetitions: 1
#    name: zonnescherm
  071a000000000102:
    signal_repetitions: 1
#    name: rolluik slaapkamer achter
  071a000000000103:
    signal_repetitions: 1
#    name: rolluik slaapmaker voor

Anyone an Idea?
Is the source of the issue of the topic starter maybe the same? something in HA?

sorry. just thought of adding some extra hardware info.
I own a rfxtrx433xl

Hi
If you add ok in RFXmngr, test OK in RFXmngr the blinds and sunscreens management commands, then do a test in RFXCOM service mode on HA with your info copy from RFXmngr, check log if OK
down 000001 01 03

service: rfxtrx.send
data:
  event: 071a00000000010103

DEBUG (SyncWorker_8) [RFXtrx] Send: 0x07 0x1a 0x00 0x00 0x00 0x00 0x01 0x01 0x03
DEBUG (Thread-9) [RFXtrx] Recv: 0x04 0x02 0x01 0x00 0x00
French:
Salut
Si vous ajoutez ok dans RFXmngr, testez OK dans RFXmngr les commandes de gestion des stores et écrans solaires, puis faites un test en mode service RFXCOM sur HA avec vos infos copier depuis RFXmngr, vérifier log si OK

@+Dom

1 Like

Thank you for your reply!!!
I will look into it tonight :slight_smile: Much appreciated.

Ok, I have it fixed now. But, the cause of this error remains unclear.

when I connect the rfxcom device to my laptop, use rfxmngr, RFY, and List Remotes, I get this list:


------------------------------------------------
11-5-2022 10:27:56:818= 14010303000000000101A89BC87420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:0 ID:00 00 01 unitnbr:1 rfu1:A8 rfu2:9B rfu3:C8
------------------------------------------------
11-5-2022 10:27:57:026= 14010303000100000102AB004B7420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:1 ID:00 00 01 unitnbr:2 rfu1:AB rfu2:0 rfu3:4B
------------------------------------------------
11-5-2022 10:27:57:358= 14010303000200000103A300337420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:2 ID:00 00 01 unitnbr:3 rfu1:A3 rfu2:0 rfu3:33

What is seen, is that 071a000000000101 + 071a000000000102 + 071a000000000103 should work.
But, xxx101 does not. xxx102 and xxx103 work correctly.

I have programmed a new command in the somfy. Now the List Remotes command give me the ollowing:

------------------------------------------------
11-5-2022 10:27:56:818= 14010303000000000101A89BC87420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:0 ID:00 00 01 unitnbr:1 rfu1:A8 rfu2:9B rfu3:C8
------------------------------------------------
11-5-2022 10:27:57:026= 14010303000100000102AB004B7420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:1 ID:00 00 01 unitnbr:2 rfu1:AB rfu2:0 rfu3:4B
------------------------------------------------
11-5-2022 10:27:57:358= 14010303000200000103A300337420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:2 ID:00 00 01 unitnbr:3 rfu1:A3 rfu2:0 rfu3:33
------------------------------------------------
11-5-2022 10:27:57:577= 14010303000300010100A100017420524658434F4D
Packettype        = Interface Message
subtype           = RFY remote:3 ID:00 01 01 unitnbr:0 rfu1:A1 rfu2:0 rfu3:1

“14010303000300 010100 A100017420524658434F4D”
This gives 071a000000010100 as the new ID as is shown above.

I plugged the USB RFXcom device back into the HomeAssitant unit, added the above eventcode, and BOOM it works again.
When I add the original 101 code as well, the response of HA is identical. It Succesfully adds it.
But one works, the other does not …

SO., my conclusion is that it is fixed now. But I have NO idea why it is solved.

I am happy again, but does someone understand it? can I help with some debugging to help others with this?

regards

[edit]
Just to inform in more detail.
To program the remote (again)
connect to rfxmngr. > RFY > program remote and think up in advance an unique remote ID.
unplug all other somfy rfy devices. Have only the one you want to program powerd.
press >2seconds the small button on the back of the remote. the sunscreen moves in 2 directions to say aye captain.
in rfxmngr press send to program remote.
the sunscreen reacts again and you see ‘ack’ in the rfxmngr.
after that you can list the remote function to see the ID as I have written in the top section.

maybe this helps someone…

The usb point might be a different path when you replug the box.

na cant be (I think)
I have the device passed through by ID through proxmox. and the 2 other covers worked fine.

If there is something you like me to test, just tell me :slight_smile:
[edit]
oh sorry. hahahaha… was not directed at me :smiley: my bad.

@browetd Maybe the path I took can help you as well. Program remote.

1 Like

14010303000300010100A100017420524658434F4D
) *= remote:03 => ID:000101 unitnbr:00 rfu1to3: A10001

List remotes from HA
A hexadecimal string to send. 081A00000000000006


Log HA

INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service

List remotes
[DEBUG (SyncWorker_6) [RFXtrx] Send: 0x08 0x1a 0x00 0x00 0x00 0x00 0x00 0x00 0x06]() 

DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 [*0x00] [*0x03 *0xca *0x5e] [*0x01] [*0xa4 *0x00 *0x04] 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
) *= remote:00 => ID:03 CA 5E unitnbr:1 rfu1:A4 rfu2:0 rfu3:4

DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 [*0x01] [*0x03 *0xca *0x5f] [*0x06] [*0xa1 *0x00 *0x01] 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
) *= remote:01 =>ID:03 CA 5F unitnbr:6 rfu1:A1 rfu2:0 rfu3:1

DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 [*0x02] [*0x03 *0xca *0x4f] [*0x06] [*0xa2 *0x00 *0x02] 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
) *= remote:02 =>ID:03 CA 4F unitnbr:6 rfu1:A2 rfu2:0 rfu3:2

DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x03 0x00 0x00 0x02 0x01 0xa6 0x03 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x04 0x00 0xeb 0xf0 0x01 0xa6 0x03 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x05 0x00 0x01 0x02 0x00 0xa2 0x04 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x06 0x0c 0x1c 0x1c 0x03 0xa2 0x00 0x97 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x07 0x0c 0x1c 0x1d 0x01 0xac 0x00 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x08 0x00 0x00 0x01 0x01 0xa6 0x00 0x26 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d
DEBUG (Thread-15) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 0x09 0x00 0x00 0x01 0x02 0xa7 0x00 0x52 0x00 0x00 0x00 0x00 0x00 0x00 0x69 0x4d

rfy

RTS From my RFPLAYER

–*********************************************—

Addition of the blind in HA

Fom ID: 000001 unitnbr: 04
*
*
ajout rfy HA
I am French
@+Dom

Thank you for your large post.

In HA when I send [081A00000000000006], this is the result:

													  -    -	-	 -	  -			Remote		ID					Unit 		rfu1 rfu2 rfu3		-	 -	  -	   -	-	 -	  -    - 
2022-05-12 20:10:12 DEBUG (Thread-366) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 		0x00 		0x00 0x00 0x01 		0x01 		0xac 0x9b 0xcc 		0x74 0x20 0x52 0x46 0x58 0x43 0x4f 0x4d
2022-05-12 20:10:13 DEBUG (Thread-366) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 		0x01 		0x00 0x00 0x01 		0x02 		0xab 0x00 0x4b 		0x74 0x20 0x52 0x46 0x58 0x43 0x4f 0x4d
2022-05-12 20:10:13 DEBUG (Thread-366) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 		0x02 		0x00 0x00 0x01 		0x03 		0xa3 0x00 0x33 		0x74 0x20 0x52 0x46 0x58 0x43 0x4f 0x4d
2022-05-12 20:10:13 DEBUG (Thread-366) [RFXtrx] Recv: 0x14 0x01 0x03 0x00 0x00 		0x03 		0x00 0x01 0x01 		0x00 		0xa9 0x00 0x49 		0x74 0x20 0x52 0x46 0x58 0x43 0x4f 0x4d

071a000000000101 is still the code I think. Am I correct?
image

I see a difference between your animation and my screenshot.
You have protocols selected. I have no protocols selected.

After event code to add: 071a000000000101 >> succesfull add


But still, none of the buttons work.
The buttons of the new programmed control work correctly.

0x00 0x01 0x01 uninbr → 0x00
Attention code 0 is reserved to order all entities under the same ID

? But still, none of the buttons work. ? The old buttons you created?
Show logs when pressing Up My Down
The buttons of the new programmed control work correctly. the Rfy 000001:1 ?

Log Cde 0x00 0x01 0x01

rfy english

command → Up/On
DEBUG (SyncWorker_1) [RFXtrx] Send: 0x08 0x1a 0x00 0x01 0x00 0x00 0x01 0x01 0x01
DEBUG (Thread-3) [RFXtrx] Recv: 0x04 0x02 0x01 0x01 0x00 command OK

command → MY
DEBUG (SyncWorker_3) [RFXtrx] Send: 0x08 0x1a 0x00 0x02 0x00 0x00 0x01 0x01 0x00
DEBUG (Thread-3) [RFXtrx] Recv: 0x04 0x02 0x01 0x02 0x00

command → Down/Off
DEBUG (SyncWorker_2) [RFXtrx] Send: 0x08 0x1a 0x00 0x03 0x00 0x00 0x01 0x01 0x03
DEBUG (Thread-3) [RFXtrx] Recv: 0x04 0x02 0x01 0x03 0x00

So you have to do the same thing for the others that don’t work, with the IDs in the RFXCOM memories, if OK from the Rfxmngr (do the up/down test)

Not important in transmission, only used for reception

PS :Google Translation French → English
I am French
@+Dom

2 Likes

The code:
071a00000c1c1c03

Is the right one and works now.
The problem that it did not worked before was something with the QNAP NAS and the USB passtrough to the RFXmanager.

I followed all instructions as described above and cannot get is working. blinds respond correctly when rfxcom is connected to laptop. after setting up device in HA no response at all. what can I do to further test the device?

Edit 2-10-22: Found solution by checking the IDs in RFXTRX Mngr (list remotes). In the RFXTRX integration delected all protocols in the config screen and pasted the following id 071a0000[id][unit_code] + selected EU in next popup. Works fine now!

As-tu avancé dans tes tests ?

thank you for response. Just found solution this morning. see message.

Pouvais être fait directement Sous HA !
Bonne continuation
@+Dom

Hello,

I had a previous working setup on Domoticz I’m currenly migrating on HA.

Everything works quite fine in HA, even my RFXCom with a few outlets.

I made a basic RFXCom tutorial using the code 071a000001010101 and it worked on one of my somfy blind. I didn’t had to make any manipulation for it to work so I assume to be lucky and found a previous paired code :’)

But, I’m willing to add other blinds and since I have no windows PC (HA on raspberry and everything else on mac…) and thus cannot use RFXmgr…

Does anyone of you can help / guide me ?

I’m desperately sending codes from devtools with ID found here and here while a remote is in programm mode" but this could take me decades :stuck_out_tongue:

Thank you in advance :slight_smile: