LinuxMCE Forums
May 26, 2013, 06:27:16 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Switch an old valve amp on and off as required  (Read 416 times)
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« on: January 27, 2012, 11:46:51 pm »

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.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: January 28, 2012, 06:40:48 am »

additional code would need to be added to the media plugin to handle "Power" pipes.
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #2 on: January 28, 2012, 10:04:35 am »

Ah. Bother. OK thanks.

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #3 on: January 28, 2012, 12:30:52 pm »

<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>
Logged

JoakimL
Veteran
***
Posts: 149



View Profile
« Reply #4 on: January 28, 2012, 12:47:23 pm »

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
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #5 on: January 28, 2012, 01:10:08 pm »

Just looked at the wiki. This might be helpful, and a bit less "duct tapey":

http://wiki.linuxmce.org/index.php/How_to_add_your_own_GSD_device#Sending_an_event

Logged

purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #6 on: January 29, 2012, 04:02:13 pm »

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.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!