| 7 | | == end == |
| | 9 | == Devices == |
| | 10 | |
| | 11 | * 2 types of devices |
| | 12 | |
| | 13 | * Smart Devices |
| | 14 | * Support network capabilities (TCP UDP IP) |
| | 15 | * support SNMP |
| | 16 | * Suppport zeroconf |
| | 17 | * Dumb devices |
| | 18 | * Support SNMP |
| | 19 | * Support zeroconf |
| | 20 | |
| | 21 | Each device also has a set of variables and associated values which are manipulated using the SNMP protocol |
| | 22 | |
| | 23 | == Device Connection == |
| | 24 | |
| | 25 | When a device boots: |
| | 26 | |
| | 27 | * Smart devices connect to network using DHCP |
| | 28 | * Dump devices connect to smart devices and us it as a proxy |
| | 29 | * all devices use zeroconf to publish metadata (Name of device, type of device i.e. dishwasher, microwave) |
| | 30 | |
| | 31 | |
| | 32 | The genius behind the system is that we don't have to implement any new protocols at all. SNMP and zeroconf, along with a home network, is all that is needed to make this thing work. |
| | 33 | |
| | 34 | |
| | 35 | == User interaction == |
| | 36 | |
| | 37 | * Get vars, values, schema via UDP - a Get Bulk type thing |
| | 38 | * Get specific variable value |
| | 39 | * Set variable value |
| | 40 | * Will produce either an ok or error message. |
| | 41 | * error produced if an innappropriate value is submitted, however, input should be limited to the schema |
| | 42 | * request Notify |
| | 43 | * can ask it to notify another device if a variable is changed. |
| | 44 | * can have it notify multiple devices |
| | 45 | * Some devices (such as a fire alarm, or security system) can notify all devices with having info requested. |
| | 46 | * notify |
| | 47 | |
| | 48 | |
| | 49 | |
| | 50 | == other implementation == |
| | 51 | |
| | 52 | * http://en.wikipedia.org/wiki/Domotics |
| | 53 | * Eric and I found this while looking around for things. It is basically a system that does something very similar to what we are doing. Found it very amusing. |