Closed Pingu95 closed 3 years ago
Hi Ole, Same on my setup. It would be great if you could find a solution. Thanks a lot.
Oliver
Well I can try to achieve it for your cases for testing purposes and you might than be able to test. But until I do not know its working I would not put this into a release version.
So I will provide you with a version soon and let you know here. (sorry for the delayed response)
there we go! You can get the updated centronic-stick.py file (containen the command TRAINR) here: https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py
BUT you need to call it twice yourself
So for PAIRING you can try the following
First use the master sender and press pairing for ~3 seconds. you should hear a clack Then run the below command
./centronic-stick.py --send TRAINR
you should again hear a "click" noise
Finally call the same command again within 3 minutes at your specific delay
./centronic-stick.py --send TRAINR
your should here a "clack clack" noise
Do not forget to define the channel you wish using --channel argument
If this is not the solution we should maybe more focus on the "unit" numbers You may try to "simulate" your slave remote by using the exact same unit id
for @Pingu95 the slave was supposed to be "3240B".
So, assuming you have already PAIRED your slave correctly on channel 1 you can try the following steps
Add the unit to centronic-stick db
./centronic-stick.py --add 3240B:0:1
Call the DOWN command for minimum 5 times to "force" use the new incremental (coming from the script / starting at zero)
./centronic-stick.py --send DOWN --channel 3240B:1
Fire the DOWN command another time and shutter should move downwards. So in total you call the DOWN command 6 times
If you are wondering why the remote does not work on the shutters anymore after the test. Do the same you did on the script by "forcing" the incremental from the remote again (So press the DOWN command min 5-6 times).
DISCLAIMER: I give no warranty on broken remotes or shutters. All you do ist at your own risk
@ole1986 Thank you so much! It worked out now.
So sending the TRAINR two times worked for you?
Would you mind try out another variant? So I am going to update the script a second time and you might let me know if this works as well?
Yes of course, send it over :-)
Hi Ole and Oliver,
It also works for me when doing the double TRAINR here the sending cmd :
PAIRING channel 1 (roof window west) $ ./centronic-stick.py --send TRAINR --channel 1 Sending code 0000000002010B00050000001737B021010100814E to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00060000001737B02101010000CE to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 $ ./centronic-stick.py --send TRAINR --channel 1 Sending code 0000000002010B00070000001737B021010100814C to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00080000001737B02101010000CC to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
PAIRING channel 2 (roof window east) $ ./centronic-stick.py --send TRAINR --channel 2 Sending code 0000000002010B00270000001737B021010200812B to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00280000001737B02101020000AB to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 $ ./centronic-stick.py --send TRAINR --channel 2 Sending code 0000000002010B00290000001737B0210102008129 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B002A0000001737B02101020000A9 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
UP/DOWN/HALT work fine.
Note if I do the TRAINR in a new blank db directory, I get the following error:
$ ./centronic-stick.py --send TRAINR --channel 1 The unit 1737b is not configured
So I took my old directory, ran a normal TRAIN, then replaced the .py and ran the TRAINR twice.
Also note that REMOVE does not work (not a big deal, but I don't know the limit of remotes allowed by the roof window).
I have my 2 shutters working, thank you very much.
I'm not worried about testing the new version either, but without the REMOVE working it's going to be complicated to know if the TRAINR (v2) is working or if it has the one that's working at the moment in memory (this TRAINR v1).
Thank you very much.
as suggested by @Pingu95 I have renamed the the command to TRAIN2019 and its supposed to work as single shot. So you should be able to train by calling it one time after you pressed the paring key on the master remote
./centronic-stick.py --send TRAIN2019 --channel 1
File is again located here: https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py
Side note: If this does not work it might me a timing issue
@Pingu95 Usually you can hold up to 15 remotes. You can also remove ALL remotes (except the master sender - that will stay "forever") using the master send and follow the instructions on the manual provided by the vendor
@ole1986 This works for me. Thanks a lot. Really smart.
Hi Ole,
The TRAIN2019 work for channel without unit. (I may have a corrupted db when I tried to add other channels to the db before your modification. )
if I add unit other than 1, it not work :
$ sudo ./centronic-stick.py --send TRAIN2019 --channel 3 Sending code 0000000002010B00980000001737B02101030081B9 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00990000001737B0210103000039 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B009A0000001737B02101030081B7 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B009B0000001737B0210103000037 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 $
Pairing OK with roof 1
I try to add roof 2 on channel 3 unit 2 :
$ sudo ./centronic-stick.py --send TRAIN2019 --channel 2:3 The unit 1737c is not configured $
It's a fail. I try to add roof 2 on channel 3 unit 3 :
$ sudo ./centronic-stick.py --send TRAIN2019 --channel 3:3 The unit 1737d is not configured $
It's a fail. So I try to add on unit 1 :
$ sudo ./centronic-stick.py --send TRAIN2019 --channel 1:3 Sending code 0000000002010B00A70000001737B02101030081AA to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00A80000001737B021010300002A to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00A90000001737B02101030081A8 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00AA0000001737B0210103000028 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 $
Pairing OK with roof 2, but on the same canal unit than roof1 (it's not a problem, roof 1 is also on channel 1 and roof 2 on channel 2). I just have two roof windows for this moment. I did not find a procedure to delete all slave remotes from the master remote. The only procedure I have is to reset all the telco's and put back a master one (you have to remove the battery from the solar roof windows and put it back after 8 seconds I think, I had already done this manipulation but it is painful because I need a ladder to reach the roof windows).
$ ./centronic-stick.py -s code increment (hex) configured last run 1737b 173 (0x00AD) 1 2021-09-10 10:16 1737c 0 (0x0000) 0 (unknown) 1737d 0 (0x0000) 0 (unknown) 1737e 0 (0x0000) 0 (unknown) 1737f 3 (0x0003) 1 2021-08-19 12:34 3240b 4 (0x0004) 1 2021-08-19 12:34 <== my old test $
That's why it would have been interesting to have a functional delete.
But there in the state it is already great !! For me the train2019 is already working well this way ;)
Thanks again!
Thank for the feedback from both of you.
@Pingu95 whenever you see "The unit 1737d is not configured" its actually meant that the unit was never been used by the script. Usually the "configured" flag is set once you do the train thing.
I have merged things together and also amended the REMOVE command. So you should be able to use the "common" train command as well as remove on this file: https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py
./centronic-stick.py --send TRAIN --channel 1
./centronic-stick.py --send REMOVE --channel 1
Please let me know. Thank you
Hello Ole,
Thanks for the feedback, for me the remove does not work. But it's not a big deal, don't spend too much time on it. For information if you want to look anyway:
$ sudo wget -O centronic-stick-single-train.py https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py --2021-09-16 13:23:55-- https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.111.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 17226 (17K) [text/plain] Saving to: ‘centronic-stick-single-train.py’
centronic-stick-single-train.py 100%[================================================================================================>] 16.82K --.-KB/s in 0.005s
2021-09-16 13:23:56 (3.52 MB/s) - ‘centronic-stick-single-train.py’ saved [17226/17226]
$ sudo chmod 750 centronic-stick-single-train.py
$ sudo ./centronic-stick.py --send UP --channel 1 Sending code 0000000002010B00200000001737B0210101002094 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 work $ sudo ./centronic-stick.py --send HALT --channel 1 Sending code 0000000002010B00210000001737B02101010010A3 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 work $ sudo ./centronic-stick.py --send DOWN --channel 1 Sending code 0000000002010B00220000001737B0210101004072 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 work $ sudo ./centronic-stick.py --send HALT --channel 1 Sending code 0000000002010B00230000001737B02101010010A1 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 work
I try to remove now : I put the shutter in learning mode from the master remote control (ok, 1 clack)
$ sudo ./centronic-stick-single-train.py --send TRAIN --channel 1 Sending code 0000000002010B00240000001737B021010100812F to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00250000001737B02101010000AF to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00260000001737B021010100812D to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Ok 1 clack $ sudo ./centronic-stick-single-train.py --send REMOVE --channel 1 Sending code 0000000002010B00270000001737B021010100812C to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00280000001737B02101010000AC to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00290000001737B021010100812A to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B002A0000001737B0210101008327 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 => nothing $ sudo ./centronic-stick-single-train.py --send REMOVE --channel 1 Sending code 0000000002010B002B0000001737B0210101008128 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B002C0000001737B02101010000A8 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B002D0000001737B0210101008126 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B002E0000001737B0210101008323 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 => 1 clack so nok (when you remove via the telco, the shutter makes 2 clack)) I retry : $ sudo ./centronic-stick-single-train.py --send REMOVE --channel 1 Sending code 0000000002010B002F0000001737B0210101008124 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00300000001737B02101010000A4 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00310000001737B0210101008122 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00320000001737B021010100831F to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 => nothing $ sudo ./centronic-stick-single-train.py --send REMOVE --channel 1 Sending code 0000000002010B00330000001737B0210101008120 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00340000001737B02101010000A0 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00350000001737B021010100811E to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00360000001737B021010100831B to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 => 1 clack so nok $ sudo ./centronic-stick-single-train.py --send REMOVE --channel 1 Sending code 0000000002010B00370000001737B021010100811C to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00380000001737B021010100009C to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00390000001737B021010100811A to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B003A0000001737B0210101008317 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
I tried several times remove in a row that gives nothing but sometimes nothing sometimes 1 clack I think that like the train, the remove should be doubled
Here I see that the sequence you send is the following:
81 00 81 and 81 00 81 83
As a reminder, here is what a remote sends to do the remove :
Sequence to remove a remote (the remote must be know by the roof if not the second sending would make an association) :
ec411 master (switching the shutter to learning mode) b'\x020000000002010B00000000001F637029000000805A\x03' <= press pair button b'\x020000000002010B00000000001F6370290000008159\x03' <= after ~3 sec (clack on roof window) b'\x020000000002010B00000000001F63702900000000DA\x03' <= release pair button
ec545-II : b'\x020000000002010B00000000003240B0210001008031\x03' <= press pair button b'\x020000000002010B00000000003240B0210001008130\x03' <= after ~3 sec (clack on roof window) b'\x020000000002010B00000000003240B02100010000B1\x03' <= release pair button
ec545-II : b'\x020000000002010B00000000003240B0210001008031\x03' <= press pair button b'\x020000000002010B00000000003240B0210001008130\x03' <= after ~4 sec (nothing on shutter (no double clack (association) because the remote is already known by the roof window)) b'\x020000000002010B00000000003240B021000100822F\x03' <= after ~8 sec (nothing on shutter) b'\x020000000002010B00000000003240B021000100832E\x03' <= after ~10 sec (double clack on shutter delete confirmed by the roof window) b'\x020000000002010B00000000003240B02100010000B1\x03' <= release pair button
So the remove sequance should be ?:
81 00 81 82 <= ? 83
maybe the 82 has some importance I don't know...
But as indicated for me the train2019 being functional, it is enough to make me happy No problem if the remove doesn't work
Thanks
@Pingu95 I have added the 82 (wait for 6 secs) into the remove command.
Could you please try it out again on: https://raw.githubusercontent.com/ole1986/centronic-py/single-train/centronic-stick.py Please make sure you the file is not cached
Hi Ole,
This looks all right
TRAIN2019 OK (one shoot with no train cmd before) $ sudo ./centronic-stick.py --send TRAIN2019 --channel 3 Sending code 0000000002010B00D80000001737B0210103008179 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00D90000001737B02101030000F9 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00DA0000001737B0210103008177 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00DB0000001737B02101030000F7 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
REMOVE OK (one shoot with no train cmd before) (for your information, I don't see the 6 second pause but it doesn't seem to be a problem) $ sudo ./centronic-stick.py.v2.remove82 --send REMOVE --channel 3 Sending code 0000000002010B00DD0000001737B0210103008174 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00DE0000001737B02101030000F4 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00DF0000001737B0210103008172 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00E00000001737B0210103008270 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00E10000001737B021010300836E to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
WORK TOO : (one shoot with no train cmd before) $ sudo ./centronic-stick.py --send TRAIN2019 --channel 1:4 Sending code 0000000002010B00E30000001737B021010400816D to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00E40000001737B02101040000ED to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00E50000001737B021010400816B to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00E60000001737B02101040000EB to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
WORK TOO :(one shoot with no train cmd before) $ sudo ./centronic-stick.py.v2.remove82 --send REMOVE --channel 1:4 Sending code 0000000002010B00EC0000001737B0210104008164 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00ED0000001737B02101040000E4 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00EE0000001737B0210104008162 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00EF0000001737B0210104008260 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00F00000001737B021010400835E to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
Each time after sent the pair code from master remote.
All that remains is to merge the two .py files, in order to have the train2019 + the remove(82)2019 in the same file.
No problem to make a new test if needed.
Thanks for all the modifications.
Have a nice day !
@Pingu95 hold on a sec.. the TRAIN2019 command should no longer exist and should be part in TRAIN command
Can you please make sure you downloaded the updated version?
Hello Ole,
Sorry I didn't understand that you had already merged the two files. That's why I was still testing with the two versions in //. My file "centronic-stick.py.v2.remove82" was your last version on which I was only testing the remove
So I confirm that with the last single-train file, everything works for me, with the last file :
Unit on channel (train/up/down/halt/remove)
$ sudo /home/pi/becker/centronic-py/centronic-stick.py --send TRAIN --channel 1:4 Sending code 0000000002010B010C0000001737B0210104008143 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B010D0000001737B02101040000C3 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B010E0000001737B0210104008141 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
$ sudo /home/pi/becker/centronic-py/centronic-stick.py --send UP --channel 1:4 Sending code 0000000002010B010F0000001737B02101040020A1 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
$ sudo /home/pi/becker/centronic-py/centronic-stick.py --send HALT --channel 1:4 Sending code 0000000002010B01100000001737B02101040010B0 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
$ sudo /home/pi/becker/centronic-py/centronic-stick.py --send REMOVE --channel 1:4 Sending code 0000000002010B01110000001737B021010400813E to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B01120000001737B02101040000BE to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B01130000001737B021010400813C to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B01140000001737B021010400823A to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B01150000001737B0210104008338 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
Thanks for all the changes :)
This issue can be changed to closed if you have nothing to add :)
Hello,
First of all, congratulations and thanks for the work.
I have a problem to pair my Roto roof shutters. The train sequence does not seem to be compatible with the sequence required by the shutter. Indeed, on this model (roto ZRO RT2 SF (solar) >2019) you have to do : 1) pairing mode with the master remote. (clack ack from roof shutter) 2) pair mode on the new remote (clack ack from roof shutter) 3) another pair mode on the new remote (DOUBLE clack ack from roof shutter).
Train's scheme seems to send only up to 2) and so the ack through the flap is not done.
Below is a captured sequence for adding a new remote :
ec411(2040 model) master : b'\x020000000002010B00000000001F637029000000805A\x03' <= press pair button b'\x020000000002010B00000000001F6370290000008159\x03' <= after 3 sec (clack) b'\x020000000002010B00000000001F63702900000000DA\x03' <= release pair button
ec545-II (slave/new) remote): b'\x020000000002010B00000000003240B0210001008031\x03' <= press paire button b'\x020000000002010B00000000003240B0210001008130\x03' <= after 3 sec (clack) b'\x020000000002010B00000000003240B02100010000B1\x03' <= release pair button
(here it may be necessary to wait 2-3 seconds before send again the same train to ack)
again on ec545-II : b'\x020000000002010B00000000003240B0210001008031\x03' <= press paire button b'\x020000000002010B00000000003240B0210001008130\x03' <= after 3 sec (clack-clack) b'\x020000000002010B00000000003240B02100010000B1\x03' <= release pair button
Therefore, the shutter seems to answer well to the id 021 and 029
Your Train seq is :
$ ./centronic-stick.py --send TRAIN --channel 1 Create database... Sending code 0000000002010B00000000001737B0210101008153 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 Sending code 0000000002010B00010000001737B0210101008152 to device /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00
Here, the shutter make a frist ack clack (after the train). But seq is not completed, the double ack is missing.
To test i have tried to delete the .db and re-running the train one times quickly, but it doesn't seem to work, maybe the shutter is waiting for a code between the two (maybe the pairing button release code?)
Maybe you can add a new train2019 to make centronic-py compatible with the new beker (roto) shutter.
Unfortunately I don't have any python skills to do it myself :(
Thanks in advance for the feedback!
BR
Sébastien