Hi, I've had the same idea (avoid manually switching on my Squeezebox Radio every time I enter the bathroom) and have come up with a somewhat clumsy but working hack.
You can read out the ambient light sensor from the Squeezebox's ssh shell - and it is also possible to at least mute/unmute the audio from the shell, as well. I've put together a small script (bathrooms) which mutes the Radio when the ambient brightness drops below a threshold (light off), and unmutes it when the brightness rises above a threshold (light on). You can find the script (with installation instructions) here: http://ennonymous.de/2011/09/16/bathroomd/ Best - Enno -- ennonymous ------------------------------------------------------------------------ ennonymous's Profile: http://forums.slimdevices.com/member.php?userid=6825 View this thread: http://forums.slimdevices.com/showthread.php?t=80335 _______________________________________________ Radio mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/radio
