Excellent build with a lot of great ideas! I am particularly interested in your domotics system running off your server. Is there a post in here that details that?
Not yet!
We're using a whole bunch of these cards -
http://www.ebay.com.au/itm/8-Channe...-Module-Xbee-Remote-Control-Kit-/221126230067
Everything inside and out is switched via one of these relay boards which are connected together using an Xbee Series 2 industrial radios. These radios are low bandwidth (~250kbps) but very reliable and self-build a mesh network. You can read more about these radios @
http://www.digi.com/products/wirele...oint-multipoint-rfmodules/xbee-series1-module
The input devices (temperature/humidity sensors, reed switches for doors/windows, PIR sensors, fluid flow sensors, physical switches, etc) are connected to arduino micro controllers around the truck which are also fitted with Xbee radios.
The "glue" connecting the inputs and outputs are simple javascript code snippets running as a nodejs application on linux. The app is fairly important as without it nothing works on the truck
Because of this we run the app on 2 different "computers" at the same time. Initially we used 2
raspberry pi computers however we had performance issues and the power consumption wasn't great for the performance provided.
We're now running the app on a
"OpenWRT" router and an
intel NUC which serves double duty as a file server for our movies and Time Machine backups.
By using relatively "dumb" devices (the relay boards / arduinos) and keeping the smarts centralised in the application we're able to replace faulty components quite quickly. It also meant a fairly short "time to leave" as we only had to get the basic programming working to switch lights etc. Now we can work on the extras like switching loads off based on battery SoC, using the flow sensors to predict when we're going to run out of water, using the HWS as a diversion load when we have excess solar, or whatever other ideas I can come up with
From a UX perspective I wanted to keep things as simple as possible so we have 4 physical switches located centrally. These are virtual switches and can be modified to do different tasks based on time of day. At the moment SW1 turns on the kitchen lights, SW2 the bathroom lights, SW3 the water pump, and SW4 does the outside flood lights. The other 100 or so relays are either switched automagically by the software or manually from a simple web application from our iPhones or laptops:
The "Cupboards Soft" functionality is an example of something that wasn't initially planned but was added recently as Leisha didn't like that the cupboard doors were just "hanging" in place. Instead of the full locking voltage being applied to the electro-magnets I lowered them to just ~1.1volts which means they act as a soft latch.
This is a new version of the UI I'm working on:
There is still a lot of functionality to add but the basics are all working well, let me know if you would like any more detail on specific components.