-
Notifications
You must be signed in to change notification settings - Fork 665
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
Lidl sockets basic #11
Conversation
@renekliment If you have time, it would be great if you could add information about your sockets on https://github.com/sui77/rc-switch/wiki/List_KnownDevices |
The protocol issue with Protocol 4/5 being detected as Protocol 3 also counts for the sockets sold by Aldi Süd End of 2015 branded EasyHome (Globaltronics GT-9000 + GT-FSI-07) |
@fingolfin Sure, done. Sorry for the delay - your comment just got lost in the flood of GH notifications. |
Actually, I just realized that protocols 3 and 5 perhaps are the same afterall! The reason sending did not work was that the sync pulse was not quite right for protocol 3 in the past: it was { 1, 71 }; but this did not work for me, so I measured what the remote sends, and based on that, changed it to { 30, 71 } So now we have this:
If you change things to a uniform base unit of 100us, we get:
Note how close the values are. Indeed, close enough that the fuzzy matching implemented in rc-switch ignores it. As a result, my remote which sends using protocol 3, regularly is detected as protocol 5 instead. But based on raw timings, I know it is really using the assymetric protocol 5. And you know, it's a Brennenstuhl, sending 4 rotating codes; using any of those, however, works fine... Sounds familiar? :-). So, in conclusion, I now wonder how you came up with the values for protocol 5. Did you perform measurements? Do you still have the raw timings? Perhaps protocol 3 (in the current, revised form) now works for you, too, and we can get rid of protocol 5 again? (Or makes it an alias for protocol 3, for backwards compatibility.) |
Sorry @fingolfin for the late answer - once again your message got lost in the notification flood - I have to do something about it. I don't have really time to test, but I guess your assumption is right. As mentioned in the PR message, I used custom codes from Arduino forum (link above) for putting this PR together. As you can see, there are multiple values used, based either on precise measuring or a guess more-less:
and
I can't remember exactly which value means what and how I deciphered the values for rc-switch since it's two protocols combined and I don't wanna study the two sketches right now, but you get the idea. It's also totally possible I rounded off some numbers, which I hope I didn't do, but I honestly can't remember. See the two codes if you need further details :-) Thank you. |
@renekliment No need to be sorry, and thank you very much for your reply. I'll try to keep track of this on #53. |
Hi. I am locking for a solution to send codes like a GT-3000 (Globaltronics) from EASY HOME. Receiver is GT-FSI-10. The codes I got using RFSniffer with 433Utils pushing the ON Button "C" was rolling code "16188814", "15998142", "16181630", "16501550". Unfortunately sending the codes does not have any effect..... |
Hello. Thanks for your help here. I also reversed the Lidl sockens basis and found this thread. I wrote an article about how to do it in case someone would need it. https://olof-astrand.medium.com/hacking-wireless-sockets-like-a-noob-b57d4b4812d5 However my remote used different tidnings conpared to the one explained described here, but the same protocol. |
This adds support for remotely controlled sockets branded as SilverCrest, sold in Lidl stores.
The code is derived from the codes on an Arduino Forum page. All credits for figuring out the protocol and writing example codes go to those people ( Collie147, Poopi ).
There are a couple potential issues / weird things about this, but it shouldn't pose a problem for merging:
I believe these things are meant for better durability of the transmission, but it works for me regardless and it can be implemented by the user as mentioned above.
This PR is also derived from my previous patch and it also conflicts with an earlier PR by mattvenn. I can update this PR if the other one is merged first.
Thank you for your potential comments and consideration.