SmartThings SmartApp for turning on and off switches, lights, dimmers, ... (frequenty) on a schedule.
If you have several scenarios you would like to control, just install the app from "My Apps" multiple times.
- Switches - Switches to toggle.
- Dimmers - Dimmers to toggle.
- Dimmer Level - Level to set dimmers to.
- Color Temperature Lights - Color Temperature Lights to toggle.
- Color Temperature - Color temperature to set color temperature lights to.
- Color Temperature Lights Level - Level to set color temperature lights to.
- Turn on for N seconds? - Seconds to turn lights on for.
- Turn off for N seconds? - Seconds to turn lights off for.
- Follow sunset / sunrise? - Only turn on / off when sun is down?
- Sunrise Offset - Offset for sunrise.
- Sunset Offset - Offset for sunset.
- Use Custom Time Range - Toggle for custom time range, only run during the following times.
- Start Time - Start time.
- End Time - End time.
- Rules Active - Run this program?
- Log Level - Logging Level.
- Open SmartThings IDE in your web browser and log into your account.
- Click on the "My SmartApps" section in the navigation bar.
- Click on "Settings".
- Click "Add New Repository".
- Enter "ericvitale" as the Default Namespace.
- Enter "ericvitale" as the Name.
- Enter "ST-Toggle-Me" as the repository.
- Hit "Save".
- Select "Update from Repo" and select "ST-Toggle-Me".
- Select "toggle-me.groovy".
- Check "Publish" and hit "Execute".
- Open SmartThings IDE in your web browser and log into your account.
- Click on the "My SmartApps" section in the navigation bar.
- Click the blue "+ New SmartApp" button at the bottom of the page.
- Click "From Code".
- Paste in the code from "toggle-me.groovy" and hit "Create". (https://github.com/ericvitale/ST-Trigger-My-Lights/blob/master/smartapps/ericvitale/trigger-my-lights.src/trigger-my-lights.groovy)
- Click the "Publish" --> "For Me".
- The app will appear on your app under "Marketplace" --> "My Apps"