Yeah, so that's the exact project that huddadudda posted. Just wondering if anyone was doing something similar? Or if there was another creative way to accomplishing this.? Really what it boils down to is getting the ISY to trigger a shell command on the Raspberry Pi. I know some people of somehow used Apache and cgi to run shell commands, but my Linux skill aren't great and I haven't figure out how to do that yet. I'm assuming that might be the way to go. I haven't looked into the node server settings in V5 yet. What I'd like to do would be to somehow get the ISY to trigger the "/opt/vc/bin/tvservice -p" command to turn HDMI on when DSCLink tells the ISY there's motion and start the timer, and then trigger the "/opt/vc/bin/tvservice -o" once the timer runs out to turn off HDMI. Also, after I discovered the "/opt/vc/bin/tvservice" command to turn HDMI on/off directly from the Pi itself seems like a more elegant solution. This works great however I'm not sure that constantly killing the power to the monitor is the best idea. and when no one is in the house, the Magic Mirror is off. Basically whenever there is motion, the Magic Mirror gets power. The timer is triggered whenever there is motion in our family room (from the zone variables in DSCLink). Then I set up a 30 minute timer in my ISY. The way it's working right now, is that I've got the monitor (behind the privacy mirror) plugged into an Insteon plug-in on/off module. Here's my Magic Mirror for those who don't know what it is: I'm currently using DSCLink and my ISY to control my Raspberry Pi powered "Magic Mirror".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |