pimatic / rfcontroljs

nodejs modul with protocol support for different 433mhz switches and weather stations for the RFControl Arduino library.
GNU General Public License v3.0
49 stars 54 forks source link

add switch25 (oh haus switch) #88

Closed abmantis closed 8 years ago

abmantis commented 8 years ago

New switch from Oh!Haus & Co. (yes, it is written like that) . I couldn't find any conversion pattern, so I had to use the pulses directly :(

Hera are some codes for the switches if anyone wants to try to find patterns:

1 ON: 01010110010101100101011001100110011001010101101002 1 OFF: 01010110010101100101011001100110011001011010010102 1 BOTH: 01010110010101100101011001100110011001010101010102 2 ON: 01010110010101100101011001100110010101100101101002 2 OFF: 01010110010101100101011001100110010101101010010102 2 BOTH: 01010110010101100101011001100110010101100101010102 3 ON: 01010110010101100101011001010110011001100101101002 3 OFF: 01010110010101100101011001010110011001101010010102 3 BOTH: 01010110010101100101011001010110011001100101010102

sweetpi commented 8 years ago

Thanks again. Merged manually as switch28!.

mwittig commented 8 years ago

@abmantis Can you please post a link to the product page of the Oh!Haus & Co switch. Thanks

abmantis commented 8 years ago

I couldn't find any official page, but this is it: http://www.pxsl.es/tienda/product_info.php?manufacturers_id=11&products_id=193&osCsid=s1jf1t53t20olbhqigim77n916

And here is a video: https://www.youtube.com/watch?v=LydduaDIDrE

mwittig commented 8 years ago

Thanks for the swift reply! I'll add this to the list of supported hardware.

mwittig commented 8 years ago

The video also shows the dimming function. Did you consider to support this, too?

abmantis commented 8 years ago

@mwittig It is already supported. Dimming is done by simply pressing the On or Off buttons repeatedly. Each time the dimmer receives an "On" command, it dimms up a bit. If you press both On and Off simultaneously (command "Both" on rfcontroljs), it turns off. I has no way of setting the dimming value directly (at least that I know of)

mwittig commented 8 years ago

Thanks, got it. So, one should setup a HomeduinoRFButtonsDevice to use the full functionality

abmantis commented 8 years ago

Yes, that is right. With 3 buttons: On, Off, Both (if you need this for the dimmer).

Offtopic: could you please check the message I sent you in pimatic forum chat? Thanks.