Home theater ideas


(Chuck) #1

Are we able to control “HTTP get” devices in SmartThings yet? If so I have a project I would like some help with.

I would like to be able to control features of my home theater through smartthngs but I don’t understand how to create HTTP get commands. I have a Directv receiver and a surround system that can be controlled via HTTP commands. What I would like to do is have a virtual switch that will set certain scenes for watching TV.

For instance, one virtual tile (called “Movie”) would turn on the receiver (and the TV) set the input to Blu-ray and dim the lights. Another virtual tile (called “News”) would turn on the receiver, set the input to Directv, tune the Directv to the desired channel and mute the volume which automatically sets the CC to turn on. Preferably since my home is on a pretty set schedule; would be to have this happen at a specific time in the morning. Maybe have other tiles programmed to trigger at certain times for favorite TV shows.

Is anyone on here really good at this sort of code? Any thoughts?


(Longhorn84) #2

Not sure if that functionality is there yet but I’d love to see it! Better yet, just add integration for iRule and then you can run your AV stuff through that.


(Im Brian) #3

I use a Raspberry Pi as a proxy - as my TV only supports Web Sockets (which are not supported by ST). Here’s a video demo: https://www.youtube.com/watch?v=6zJVRXMuuE4

Here’s the source: https://github.com/imbrianj/universalController

And here’s a SmartThings device type the talks to my remote via local IP commands (which you could probably reference to get what you need, assuming you have the documentation for the DirectTV / receiver API documentation).
https://github.com/imbrianj/universal_controller_device/blob/master/universal_controller_device.groovy