RF??
17 May, 2010 - 12:48
Just come across the site cos of mark's tweet, looks very interesting. I currently have the ByeByeStandby/Domia Lite RF sockets installed around the house, am I able to use these with the unit?
With regards scripting do you unload the xap functions via ftp or ssh to the box? (bit confused how that works!)
Thanks,
Chris
24 May, 2010 - 09:41
#2
RF
The HAH currently supports RF Mains sockets sold by Lidl. These can also be purchased from the HAH shop. If there is sufficient interest in driving a specific socket type, we might find time to 'scope out the RF signal and add the codes to drive it.
As for scripting, the inbuilt 'vi' editor can be used or ftp can be enabled on the HAH and scripts written elsewhere can be pushed onto the unit.
Cheers,
Derek.
The XAP script are loaded from the directory specified by the /etc/xap-livebox.ini configuration section, this is documented in the wiki in the Implementation section.
Any script with the file extension .lua in this directory is automatically loaded when the xap-plugboard daemon starts, if new scripts are added the daemon must be restarted for them to load.
If you examine the function loadScripts() in the source you'll see how this happens.
http://code.google.com/p/livebox-hah/source/browse/trunk/userapps/hah/xap-plugboard/xap-plugboard.c
With regards to using other RF socket, the RF stream is programmable but the issue is not sending the RF its reverse engineering your existing RF socket to figure out how they are controlled. To do this you need an oscilloscope so the pulse train from the transmitter can be decoded.
Brett