RF??

2 replies [Last post]
chrisbond
Offline
Joined: 17 May 2010

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

admin
Offline
Joined: 26 Oct 2009
How xap scripts are loaded

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.  

[plugboard]
enable=1
scriptdir=/etc/plugboard

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

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
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.

 

Hardware Info