News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Switch an old valve amp on and off as required

Started by purps, January 27, 2012, 11:46:51 PM

Previous topic - Next topic

purps

I was looking at some old valve amps with the aim of using them with LMCE. I was thinking use it with a z-wave plug adapter like this http://www.uk-automation.co.uk/products/Z-Wave-Appliance-plug-by-Everspring.html

My question, is what would be the best way to set up LMCE to turn it on and off? Obviously I want it to come on when it's needed (TV, audio, videos), but switch off after a period of time when not in use. Is this feasible?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

tschak909

additional code would need to be added to the media plugin to handle "Power" pipes.

purps

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

Marie.O

<TSCHAK_IGNORE_THIS>
Another option would be a duct tape solution: Create a device template for the amp. Power On would execute a commandline messagesend to the Zwave device for power on, and power off in the device template would be the same for a commandline messagesend to the Zwave device for power off. Don't ask me about the ruby syntax in a GSD for commandline execution, but I am sure the wiki has something like that.
</TSCHAK_IGNORE_THIS>
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

JoakimL

I've got a manual solution for my valve amp. I use a Tellstick controller, but the solution will work for any power controller.
Add a wall outlet device (#1897) and connect it to your power controller. Add any adresses/config needed and test that it works from the web admin.
Then add two scenarios - in my case it goes under Climate for unknown reasons - one for power on and one for power off. Regen orbiter and - viola, now there's two buttons on your orbiter to power on and off.

But posde's solution looks interesting, I'll investigate it.

/Joakim

Marie.O

If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

purps

Thanks chaps, some great ideas there.

Joakim, I was hoping I would at least be able to do it like that, so that's good to know.

I will look into the more automated solution (either/both the duct tape method and the proper method) in slower time (house move in a few weeks, still got two workshops to pack up!!)

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]