mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-09 13:21:53 +00:00
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.