mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
MSA-692-2
To use this device type in SmartApps, use "capability.doorControl" in Preferences to select the controller.
Then you can reference the state of the device with device.currentValue("motor") or device.currentMotor.
The device can be in one of three states: up, down, stop, e.g. if(device.currentMotor == "up") {...}
There are three commands available: up(), down(), stop(), e.g. device.up()
After you include the Aeon device into ST, edit its device type in the IDE to be "Aeon Motor Controller"
Down turns on motor M1, and Up turns on motor M2.
SmartThings Public Github Repo
An official list of SmartApps and Device Types from SmartThings.
Here are some links to help you get started coding right away:
Follow us on the web:
- Twitter: http://twitter.com/smartthingsdev
- Facebook: http://facebook.com/smartthingsdevelopers
Description
Languages
Groovy
100%