Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program remote for Somfy Meteolis 6 (RTS) #127

Open
bobf41 opened this issue Sep 22, 2021 · 16 comments
Open

Program remote for Somfy Meteolis 6 (RTS) #127

bobf41 opened this issue Sep 22, 2021 · 16 comments

Comments

@bobf41
Copy link

bobf41 commented Sep 22, 2021

I have a Somfy Meteolis 6 in my house, I placed the Raspberry Pi 3+ next to it with the transmittor connected to the defaults pins and the right Oscilator.

On the Meteolis I can add a new remote where the Meteolis waits for a short push on the program button of a remote.

Here is where is stops, when I press the program button in the WebUI of PI-Somfy nothing is received.
I run Python 3.7.3 as default.
sudo python /home/pi/Pi-Somfy/operateShutters.py runs fine without errors or warnings.

The Meteolis is RTS and is being controlled by the normal Somfy Telis RTS remotes.

Any ideas here?

@Nickduino
Copy link
Owner

Nickduino commented Sep 22, 2021 via email

@bobf41
Copy link
Author

bobf41 commented Sep 22, 2021

The Meteolis is the central system which controlls the wired motors.
It receives the RTS remote signals and lowers or highers one of the connected motors.
So basically instead of RTS enabled shutters there is a central RTS receiver which then controls the wired motors.

I would like to be able to send these Somfy RTS signals with the webinterface and finally with HA but I believe your webinterface should work first ;-)

@Nickduino
Copy link
Owner

Nickduino commented Sep 22, 2021 via email

@bobf41
Copy link
Author

bobf41 commented Sep 22, 2021

Ok, I did check registering the normal remote again, this is fine, press program button on the back and it is picked up already.

The crystal is properly installed and the 3 cables are connected right to the pins, I understand there is no way to monitor if the transmitter is even noticed by the Pi right?

Pressing the Program button under action is basically the program button of a normal remote right?
image

Nothing to check in the config file.
TXGPIO = 4

Thanks for your quick answers.

@Nickduino
Copy link
Owner

Nickduino commented Sep 22, 2021 via email

@Nickduino
Copy link
Owner

You could check the emitter AND Pi-Somfy with an SDR or something a Ham Radio enthusiast uses (not my area of expertise)

There: #49

@bobf41
Copy link
Author

bobf41 commented Sep 25, 2021

Just attached the AMP meter, and I see current flowing when cammands are send, when I pull the data cable this stops so wires are good. Even tried an antenna connected with no succes.

So I received wrong crystals, when crystal has failed or is wrongly installed this current wouldn't flow right?

Is there a way to lengthen or shorten the command send out?

@Nickduino
Copy link
Owner

You attached it to what? The antenna ?

I can't answer that with any certainty :-(

Check the number of repetitions in the code

@bobf41
Copy link
Author

bobf41 commented Sep 25, 2021

I put a multimeter in series of ground so can measure the current which is flowing in mA.
Just created a secondary one with the R433.4 Crystal on it and gives the same result. (No result actually) 😞

I have this emitter
E9FEC6C9-1061-4DEE-AF44-5CAA438E32D4

I note that I am missing one coil on this one. There are version with and without. I wil try to create one of one of their spare emitters

that didn’t helped either.

@Nickduino
Copy link
Owner

You attached it to what? The antenna ?

You haven't answered that one

Check the number of repetitions in the code

#124 (comment)

@bobf41
Copy link
Author

bobf41 commented Sep 27, 2021

Attached it to a multimeter.

Tried repetition of 1-5 and 16 written in the other post and restarted Pi-Somfy in between

@ngutman
Copy link

ngutman commented Feb 10, 2022

I had a similar issue where I could not get my virtual Pi-Somfy remote to register using cc1101 transceiver (had to modify the code a bit). After hours of debugging it was related to the "encryption key" (see reference here) - the first byte in the sent frame, it's hardcoded as 0xA7, but it seems it does have a meaning :)

After decoding frames from my original remote, and comparing them to what was sent - I noticed the first byte was different, once I modified the original value and changed it from 0xA7 to match the one I recorded everything worked.

Here's the recorded signal (using urh) -

image

0110011010010110101001100101011010100110011001100110101001011010100110010110010110010101011001100101010101010101

Which decodes to

Frame = 59d1d573a48500 (length = 7, bin=01011001110100011101010101110011101001001000010100000000)
De-xored Frame = 598804a6d72185
First Byte = 0x59
Rolling Code = 1190
Button = 0x8
Address = 0xd72185

🤷
Hope this helps someone

@Nickduino
Copy link
Owner

Here's the recorded signal (using urh) -

image

That's cool!

Just to be clear: you changed the encryption key but kept a different remote address than the one of your original remote?

@ngutman
Copy link

ngutman commented Feb 11, 2022

@Nickduino yup, exactly

@bobf41
Copy link
Author

bobf41 commented Feb 12, 2022

Tried Thijs code directly but without succes. Perhaps it is some other code at my side off course. Or the meteolis just binds differently although normal RTS remotes can be programmed easily. On screen add transmitter for channel x. Press program shortly and ready.

@ngutman
Copy link

ngutman commented Feb 12, 2022

@bobf41 you can try to iterate on all first 4 bits of the encryption key byte (16 values - 0x0-0xF). But I think if that doesn’t work the next best thing you can do is try and record the original remote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants