My home automation scripts
references to good stuff: http://wiki.micasaverde.com/index.php/Luup_Intro http://wiki.micasaverde.com/index.php/Luup_Variables http://wiki.micasaverde.com/index.php/Luup_Scenes_Events
PLEG. I first got things working with this: http://forum.micasaverde.com/index.php/topic,21603.0.html
http://wiki.micasaverde.com/index.php/Logs
Login via PuTTY (linux) - note: right click seems to be paste Enter IP of Vera root your veras wifi password
To see logs... cd /var/log/cmh tail -f LuaUPnP.log
Ctrl C to stop Expect logs not to be instant
Can filter logs with grep ocmmands... tail -f LuaUPnP.log | grep "^04|^08"
tail -f LuaUPnP.log | grep "Tonys"
tail -f LuaUPnP.log | grep "Device_Variable|Tonys"
This filters out a lot of the noise:
tail -f LuaUPnP.log | grep -v "AlarmManager|ZWaveNode|ZWJob|GlobalLog|JobHandler|ZWaveSerial|ACK:|Device_Basic::|mg_callback|ZWaveCommand::|^41|^42|Job::|ThreadedClass::|luvd_get|GetFramePending::|EnergyMetering1|NO ROUTE|PollRatings|UPnPCallbackEventHandler|LuaUPnPAlive|CHECK_TIME|luvd_open|ConsecutivePollFails|LastPollSuccess|Battery|iDataVersion|ExportData|ZWaveMultiEmbedded|UpdateStateList|UpdatePollList"
Fibaro Button
http://forum.micasaverde.com/index.php/topic,39119.60.html
Original Values urn:schemas-micasaverde-com:device:GenericIO:1 D_GenericIO1.xml D_GenericIO1.json
New Values device_type: urn:schemas-upnp-org:device:SceneController:1 device_file: D_SceneController1.xml device_json: D_FibaroButton1.json