For a larger location also with different floors installing a system with the need for around 10 switches to control lightning etc the use of RF-sender connected to a Raspberry seems to be a problem to trigger all those switches (rf power level). A configuration with multiple RPI's (pilight ad-hoc network feature) isn't an alternative here .
It seems the handheld remote controls (like ELRO) are sending with more power so it will be more secure to control the switches. (Note: the Elro remote controls work with a 12V battery!).
With that in mind a connection of the Raspberry GPIOs to the ELRO remote control is planned. It would be a straight forward connection of 4 +2 lines which could simulate to press the 2* 4 buttons. Another 2 (or 3) lines could be used to modify the 'house code' which would increase the 'simulated' key pressing to 16 (or 28). Pretty enough
(See attached pic to show the modification of an ELRO remote control).
Now for simulating a key press always two lines need to be set to GND for a second or so (like sending the rf signal with pulse codes). If the 'house code' is used one or two additional lines need to be switched. So a max of 8 or 9 switchable lines.
To get it working with the pilight concept/software system a different 'protocol' is needed. To operate an ELRO-switch the pilight would need to pull specific GPIO lines and for that a protocol could look like this:
So, the JSON isn't different. An activation of a switch would map the systemcode to the "DIP" lines/GPIO pins, the unitycode *\ relates to the button row which connects to the "ANx/ANy" lines/GPIO, the 'state' would be mapped to another two lines/GPIO.
*\ valid values would be 1, 2, 4, 8
(See attached pic to show the modification of an ELRO remote control).
![[Image: ELROremoteC.th.png]](https://dl.dropboxusercontent.com/u/35444930/ELROremoteC.th.png)
Would it be possible to implement such a concept? What support/details are required to get it done?
It seems the handheld remote controls (like ELRO) are sending with more power so it will be more secure to control the switches. (Note: the Elro remote controls work with a 12V battery!).
With that in mind a connection of the Raspberry GPIOs to the ELRO remote control is planned. It would be a straight forward connection of 4 +2 lines which could simulate to press the 2* 4 buttons. Another 2 (or 3) lines could be used to modify the 'house code' which would increase the 'simulated' key pressing to 16 (or 28). Pretty enough

(See attached pic to show the modification of an ELRO remote control).
Now for simulating a key press always two lines need to be set to GND for a second or so (like sending the rf signal with pulse codes). If the 'house code' is used one or two additional lines need to be switched. So a max of 8 or 9 switchable lines.
To get it working with the pilight concept/software system a different 'protocol' is needed. To operate an ELRO-switch the pilight would need to pull specific GPIO lines and for that a protocol could look like this:
Code:
{
"name": "Livingroom",
"lampe1": {
"name": "Lampka",
"protocol": [ "elrocontrol" ],
"id": [{
"systemcode": 17,
"unitcode": 2
}],
"state": "off"
}
}
*\ valid values would be 1, 2, 4, 8
(See attached pic to show the modification of an ELRO remote control).
![[Image: ELROremoteC.th.png]](https://dl.dropboxusercontent.com/u/35444930/ELROremoteC.th.png)
Would it be possible to implement such a concept? What support/details are required to get it done?