46 | | TODO |
| 46 | Child devices follow the same conventions as other MiOS switches and sensors. |
| 47 | |
| 48 | == !WeMo switches == |
| 49 | |
| 50 | Switches show their on/off status in the dashboard. Clicking '''On''' or '''Off''' will change the state. |
| 51 | |
| 52 | Service variables: |
| 53 | ||= Namespace =||= Variable name =||= Meaning =|| |
| 54 | || urn:upnp-org:serviceId:SwitchPower1 || Status || '''0''' if switch is off; '''1''' if switch is on || |
| 55 | |
| 56 | Actions: |
| 57 | ||= Namespace =||= Action name =||= Parameters =||= Meaning =|| |
| 58 | || urn:upnp-org:serviceId:SwitchPower1 || !SetTarget || newTargetValue: '''0''' to turn switch off; '''1''' to turn switch on || Set the switch to the specified state || |
| 59 | |
| 60 | Events: |
| 61 | ||= Name =||= Meaning =|| |
| 62 | || A device is turned on or off || The switch status has changed from on to off, or from off to on || |
| 63 | |
| 64 | == !WeMo sensors == |
| 65 | |
| 66 | Sensors show their tripped status in the dashboard. Clicking '''Arm''' or '''Bypass''' affects only the Vera internal state; it has no effect on the !WeMo sensor and will not affect whether !WeMo rules fire. |
| 67 | |
| 68 | Service variables: |
| 69 | ||= Namespace =||= Variable name =||= Meaning =|| |
| 70 | || urn:micasaverde-com:serviceId:SecuritySensor1 || Tripped || '''0''' if no motion detected; '''1''' if motion was detected in the last 2 seconds || |
| 71 | || urn:micasaverde-com:serviceId:SecuritySensor1 || Armed || '''0''' the sensor is bypassed; '''1''' if the sensor is armed || |
| 72 | |
| 73 | Actions: |
| 74 | ||= Namespace =||= Action name =||= Parameters =||= Meaning =|| |
| 75 | || urn:micasaverde-com:serviceId:SecuritySensor1 || !SetArmed || newArmedValue: '''0''' to bypass the sensor; '''1''' to arm the sensor || Set the sensor's arm/bypass state || |
| 76 | |
| 77 | Events: |
| 78 | ||= Name =||= Meaning =|| |
| 79 | || A sensor (door/window/motion/etc.) is tripped || Fires when motion is detected || |
| 80 | || An armed sensor is tripped || Fires when motion is detected and the sensor is armed || |