User Tools

Site Tools


rsl366

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rsl366 [2014/08/13 13:46]
ricardo
rsl366 [2015/11/27 21:09] (current)
Line 1: Line 1:
 **RSL366** **RSL366**
  
-//This package is not includes ​by default in pilight. To use this protocol, install ​in separately ​from the development ​repository://​+//This package is not yet included ​by default in pilight. To use this protocol, ​you need to install ​extra software ​from the nightly ​repository://​
 <​code>​ <​code>​
-pilight-protocol-rsl366+apt-get install ​pilight-protocol-rsl366
 </​code>​ </​code>​
 +Here [[http://​www.pilight.org/​getting-started/​installation/​]] you'll find how to add this repository, just after item 11 from the //Apt repository//​ section.
 +
 Please give us feedback about this protocol so it can be added by default! Please give us feedback about this protocol so it can be added by default!
  
 +==== Development progress / known errors ====
 +20140815 (ricardo): works allright with pilight-send. Fit for //main// i.m.h.o.
 +==== Feature Support====
 ^Feature^Support^ ^Feature^Support^
 |Sending|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| |Sending|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
Line 15: Line 20:
 ^Brand^Protocol^ ^Brand^Protocol^
 |Rising Sun RSL366|rsl366| |Rising Sun RSL366|rsl366|
 +|PROmax (marketed in The Netherlands by //​Kwantum//​)|rsl366|
  
 ==== Sender Arguments ==== ==== Sender Arguments ====
Line 149: Line 155:
 1000 0010 000 1 1000 0010 000 1
 </​code>​ </​code>​
 +
 +
  
 ==== Miscellaneous ==== ==== Miscellaneous ====
Line 157: Line 165:
 Both above mentioned projects seem to be inactive, but the Pi version can be handy because it is very small and easy to compile and test. RCSwitch supports three kind of switches. Luckily, RSL366 switches are supported and referred to as 'Type B' (in the nomenclatura of RCSwitch). ​ Both above mentioned projects seem to be inactive, but the Pi version can be handy because it is very small and easy to compile and test. RCSwitch supports three kind of switches. Luckily, RSL366 switches are supported and referred to as 'Type B' (in the nomenclatura of RCSwitch). ​
  
-The RCSwitch software seems to be working, but the accompanying test program '​send.cpp',​ which was written with Type B switches in mind, has a programming error. It will always yield a segmentation fault ('fuck it, ship it'​). ​ +The RCSwitch software seems to be working, but the accompanying test program '​send.cpp',​ which was written with Type B switches in mind, has a programming error. It will always yield a segmentation fault ('fuck it, ship it'). You can easily correct this flaw if you change the data type from variable '​systemCode'​ from string to integer. ​
- +
-You can easily correct this flaw if you change the data type from variable '​systemCode'​ from string to integer. ​+
  
 The send.cpp test program uses GPIO0 (header pin 11) for the output to the transmitter (hardcoded into variable PIN). Many RF443 tutorials use the RxD pin (header 6), which seems to be more conveniently placed, close to header pins 2 (5V) and header pin 4 (GND). Since RCSwitch uses the wiringPi library, header pin number '​4'​ needs to be converted to '​15'​. Details about that are here [[http://​wiringpi.com/​pins/​]]. ​ The send.cpp test program uses GPIO0 (header pin 11) for the output to the transmitter (hardcoded into variable PIN). Many RF443 tutorials use the RxD pin (header 6), which seems to be more conveniently placed, close to header pins 2 (5V) and header pin 4 (GND). Since RCSwitch uses the wiringPi library, header pin number '​4'​ needs to be converted to '​15'​. Details about that are here [[http://​wiringpi.com/​pins/​]]. ​
Line 179: Line 185:
 ./send 1 4 1 15  ./send 1 4 1 15 
 </​code>​ </​code>​
 +Once you have established with this program that your hardware is able to send commands to the switch, and you want to do something more than just schedule on/off jobs (in crontab), you are ready to explore pilight. ​
  
  
rsl366.1407937597.txt.gz · Last modified: 2015/11/27 21:08 (external edit)