I've been playing with MySensors for a while now but have finally gotten around to ordering some boards and components en masse. My plan is to automate my lighting for my entire house by replacing all of the light switches with nodes and placing a relay / dimmer node on each light fitting. I also want this to be independent to my home control system. I.e. I don’t want all my lights to stop working when I reboot my Pi for instance.
The way I see it is, either I write custom switch and light nodes, each of which can receive a command to tie light to switch and they then talk directly to each other, or I write software on the gateway to manage these connections and turn light A on when switch Q is switched etc. Either way I’d like to be able to re-assign things without dismantling the network and re-programming each device. I'd also like to monitor and record every switch event and be able to send light control messages via the gateway from external software when needed.
I was thinking the easiest way would be to put software on the gateway to map switches to lights which could be set up with external software but would be stand alone once set up. This option would be the simpler to write. However, a direct node-to-node system may be advantageous in the case of communication problems, with the proximity of the switch to light being an advantage. I don’t know how reliable larger networks are (I’m estimating 25-30 lights and 15-20 light switch nodes).
Also, would it be sensible to have this network completely separate to any other networks I may want in the house (temperature sensors for instance) in order to limit traffic?
I’m going to start work on this and I guess I’ll see how it evolves, but I would be interested in hearing other people’s opinions.