Skip to content

SmartThings SmartApp to select the input source of a device when triggered

License

Notifications You must be signed in to change notification settings

rtyle/set-input-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

set-input-source

SmartThings SmartApp to set the input source of a Media Input Source capable device when a Switch turns on, a Contact Sensor closes or a Media Playback device starts playing.

I use this to turn on the "Main Zone" and select the "TV" input on my Denon AVR when the connected TV turns on. Similarly, the "BD" (Sonos) input is selected when it starts playing.

The Denon AVR device handler types are provided as part of the upnp-connect project.

Unfortunately, my old TV, by itself, is not smart enough to tell SmartThings when it has turned on or off. I use a current switch wired to the dry switch contacts of a capable contact sensor to do this. When the TV is turned on, it draws current, the dry switch contacts close, the sensor/device emits a contact.closed event and this SmartApp responds as described above.

About

SmartThings SmartApp to select the input source of a device when triggered

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages