ESPSomfy-RTS icon indicating copy to clipboard operation
ESPSomfy-RTS copied to clipboard

FYI: Interesting observation on rolling code

Open rgr101 opened this issue 1 year ago • 3 comments

I made an interesting random observation with a Somfy Oximo RTS drive:

The rolling code can apparently be reset (e.g. in case you have lost it)!

How to reproduce:

  • Add an Oximo RTS drive to any address using 'Add Shade' and set the rolling code to a high number, such as 1000 (The rolling code of a newly paired transmitter may have any value, so we set it very high to ensure it is outside the 100 tolerance zone when we reset it afterwards - see below).
  • Pair ESPSomfyRTS with the drive.
  • Now, conduct some running tests.
  • Verify the rolling code by accessing http://{espsomfyurl}/shades and record it for safety purposes. It should now be at the number of test runs plus 1000.
  • Proceed to set the rolling code to 0 (zero!)
  • Perform additional test runs. Note that the drive may not move during the first few attempts, but it should start working again after a few more tries. This indicates that the rolling code has re-synchronized to the new value.

It is still unclear if this method is universally effective, even for all different kinds of RTS drives. However, the observed behavior does not appear to be entirely random: After repeating the procedure with another drive, it was successful once again.

=> Maybe you would like to try it yourself and share your observations?

If the method proves to be effective, the loss of a rolling code may no longer be a concern...

rgr101 avatar Feb 27 '24 20:02 rgr101