-
Notifications
You must be signed in to change notification settings - Fork 109
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
Comments
I don't know the Meteolis but it seems to be some sort of central remote,
correct?
In that case, I'm not sure what you wanna do...please write a few
sentences on how you wanna use Pi-Somfy in your system
|
The Meteolis is the central system which controlls 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 ;-) |
Alright.
Then it's the same kind of issues people encounter when they want to pair a
shutter. Try having a look at past issues. I would start by making sure the
Meteolis can register a new remote, check the wiring 100 times, check the
emitter/crystal, re-check the wiring, possibly unregister one of my remotes
and try to register Pi-Somfy's remote.
Good luck!
|
I would still rerecheck the wiring.
Possibly the crystal and emitter ? Replacing that crystal is not a very easy operation, sometimes we damage the emitter (or the emitter didn't work in the first place)
Monitoring: the Pi doesn't "notice" the emitter, it just sends a signal and it would still send it if the emitter wasn't there. If you have a logic analyser, you can see what data is sent to the TX pin (and possibly the
antenna). You could check the emitter work by sending anything through the air to a receiver (possibly connected to the Pi, preferably connected to something else like an Arduino or another Pi). You could check the emitter AND Pi-Somfy with an SDR or something a Ham Radio enthusiast uses (not my area of expertise)
Pressing the program button: yeah, that's similar. The only thing is our program button sends a set amount of frames while the button of the remote keeps sending it until you let go of it. You could find that number of
repetitions in the code and try increasing (or, more surprisingly, decreasing) it. Please report back if that's it, that would be interesting.
|
There: #49 |
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? |
You attached it to what? The antenna ? I can't answer that with any certainty :-( Check the number of repetitions in the code |
I put a multimeter in series of ground so can measure the current which is flowing in mA. 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. |
You haven't answered that one
|
Attached it to a multimeter. Tried repetition of 1-5 and 16 written in the other post and restarted Pi-Somfy in between |
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) -
Which decodes to
🤷 |
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? |
@Nickduino yup, exactly |
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. |
@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. |
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?
The text was updated successfully, but these errors were encountered: