EDIT: split topic by Felix(admin): This thread was split from the original thread here to keep them more relevant.
I've looked at your website ColinR, excellent work and design :-)
Thanks for the information. Looking forward to read about the lab you set up for your friend.
The more I think about the nodes and potential relationship with other systems (lights, sonos) in my house I'm probably going to install and configure OpenHAB, evaluate the functionality and see if it will provide the functionality and flexibility I am looking for, and hopefully it will be stable enough on a Raspberry Pi.
I do not want to fiddle and code too much for these solutions at the moment. After the evaluation of OpenHAB i will probably quickly figure out if it will be as expected or not, and then continue with OpenHAB, or go either your way with a python based gateway or a nodejs one.
OpenHAB also got a web ui that is based on a javascript framework, it looks promising:
https://github.com/openhab/openhab/wiki/TouchUI Also like that the OpenHAB system have this rules based trigger system built-in, making it very easy to perform (script/code based) actions based on values from any of the nodes/inputs.
-Davinci