How to build smart appliances? | Synapse