MythTV lighting control
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Check out this new YouTube video featuring MythTV with X10 integration. When the video is started you’ll see that the lights dim! Pretty neat.
Related posts:
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
Oops! Also on my own… It looks like it has been fixed. I’m not much of an HTML/RSS shark, so I actually don’t know what made the difference. Thanks for the tip!
Wow, my vid has gotten around ![]()
Here’s how it’s done.
A buddy of mine wrote a PHP script that runs on my ‘lighting server’, an tiny P200 with a Firecracker. If you check out my other vid, it will show the actual page, usable from any PC (including the Wii!).
The frontends can command the server via curl, pitching the proper commands to the script. Two commands, MOVSTART and MOVEND, each dim or brighten a specified unit by eight notches, usually enough to bottom the x10 unit to it’s lowest dim setting.
On each frontend (there are two) I wrote two tiny scripts, movstart and movend, which tell curl what to do. Under the settings for Myth, I changed my default dvd player line to
movstart & xine –stuff here && movend
You see where it goes from there
This also allows me to easily set different lighting settings per frontend.
If you want to keep it all on one system, just replace the lines for curl with ones for bottlerocket. The script can reside anywhere apache can reach.
[...] As mentioned last week there was a video posted on YouTube showing an integration between MythTV and X10. This was used for dimming the lights when a movie was started. [...]

Hmmm this seems to break the page rather badly in Firefox on my linux machine. Nul points