A good locking switch/button for "oldschool" mysensor-device control
-
@Nca78 Thanks for the pictures! Looks nice. I ordered mine about ~2 weeks ago, hopefully it'll be here soon too. I don't have a rfxtrx (yet) but will try to build my own node with an arduino and a cheap 433 receiver/sender.
-
@Nca78 Thanks for the pictures! Looks nice. I ordered mine about ~2 weeks ago, hopefully it'll be here soon too. I don't have a rfxtrx (yet) but will try to build my own node with an arduino and a cheap 433 receiver/sender.
@LastSamurai said in A good locking switch/button for "oldschool" mysensor-device control:
@Nca78 Thanks for the pictures! Looks nice. I ordered mine about ~2 weeks ago, hopefully it'll be here soon too. I don't have a rfxtrx (yet) but will try to build my own node with an arduino and a cheap 433 receiver/sender.
Yes it will be fine with that. I plan to do that too as I regularly have inverted usb port between rfxtrx and mysensors gateway when pi restarts. I'll probably make a PCB later but it's not a priority at the moment.
-
@Nca78 did you already work with the switch? Mine should arrive soon too :)
-
@Nca78 did you already work with the switch? Mine should arrive soon too :)
No, not yet I've been busy with many things and my MySensors project have been slowed down. On holidays right now so one more week of delay :p
-
I just received mine and did some testing. As I don't have an rfxtrx433 (thats more than 100€ :() I used a cheap 433Mhz receiver and the RC-switch library. It receives a unique code for every button. You have to press the button pretty long though (not just touch it once). Was it the same with yours?
Also do you have any idea if these buttons all have unique codes? If this work I want to get more that one ;)
Here is the output of one of the buttons of my switch, in case someone needs this:
- Decimal: 12587345 (24Bit) Binary: 110000000001000101010001 Tri-State: 10000F0FFF0FÖ PulseLength: 409 microseconds Protocol: 1
Raw data: 12680,1304,360,1300,340,388,1288,388,1200,452,1220,400,1212,472,1156,452,1216,512,1120,456,1212,444,1160,1276,412,412,1200,464,1224,348,1268,1284,324,504,1152,1296,332,508,1128,1284,384,444,1180,468,1204,396,1196,1304,380,
- Decimal: 12587345 (24Bit) Binary: 110000000001000101010001 Tri-State: 10000F0FFF0FÖ PulseLength: 409 microseconds Protocol: 1
-
Hello, I have ordered 2 more so I will confirm you when I receive them. But based on the circuit used it should be different for each switch.
I don't need to press a long time on the buttons, just similar to livolo. I just touch the button and the LED around the butto lights on immediately to confirm sending. Maybe you have problem with your receiving code ?
-
Ah nice, I was thinking about doing the same. Only possible downside might be the battery runtime. Otherwise they look great and seem to work just fine in my apartment (nearly everywhere).
I don't own any other switches to compare this but its not just a touch. I think it might be a pairing request although I sadly have no clue how to respond. Do you have any idea? -
I think it's just a touch, there's no receiver on it and from the cheap used it's just made to send a code through the 433MHz when you press it. Each button has it's own code and sends a "on" command associated with that code.
I tried long press (>5s then >10s) and it's not sending a different signal, always "on" command.
This is what I have in Domoticz, each button is seen as a different device using a different ID.
-
I'll test some more the next days. Thanks for the feedback though!
My long press is also more like 1-2s max, just not a single touch. Pressing it any longer just keeps sending the same message. Haven't tried it without the protective film on it though, perhaps that changes things. -
Thanks for your help here @Nca78 ! I have my setup up and running now. I created a openhardware.io project here that describes the build of my bridge that I used to work with the switch(es).
You have to press a little longer than a simple touch (but still less than a second) after removing the protective film but thats ok for me. It works about 80-90% of the time but that might get better once I add a seperate power supply to the bridge. Only slightly annoying thing is how long domoticz needs to react to the button press. ~half a second of delay to switch on the lights is very long when you are used to instant reactions from normal light switches.
Looks great though :) I will buy some more as they only cost ~8 dollars at the moment. -
Just made a MySensors PCB for the "VHOME" touch switch/remote from Aliexpress :D
