Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-20 Thread mustbemad
Perfect! Thanks Peter! The issue was the permissions on the heyu.x10config file. I had looked at the output from running: /usr/share/squeezecenter/Plugins/PowerCenter/bin/heyu info And it says that the config file is at /etc/heyu/x10.conf I changed the permissions on var/lib/squeezecenter/ca

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-20 Thread peterw
Quick notes (I'm in a hurry, sorry): You're using bin/heyu from PC, so the /etc config file is not used -- var/lib/squeezecenter/cache/PowerCenter/heyu.x10config is. Make sure you don't have any heyu apps running ('ps -fe | grep heyu') -- by default, heyu spawns a long-running heyu_relay (?) app.

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-20 Thread mustbemad
OK - a little more info - I've set the log level to debug, and the error its returning in the logfile is as follows: [08-08-20 20:52:48.9335] Plugins::PowerCenter::Plugin::sendCode (699) power -f OFF for 00:04:20:05:01:80 other 0 dev A2 [08-08-20 20:52:48.9342] Plugins::PowerCenter::Plugin::rewri

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-20 Thread mustbemad
Hm I'm a little behind Patrick here, and as my Linux knowledge has been built on a need to know basis I'm a bit stuck... I'm running Debian Linux and have managed to get the CM11 & x10 switches working from the command line, but cant get it working from the squeezebox remote side of things.

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-19 Thread peterw
Patrick Dixon;328608 Wrote: > OK I have finally managed to crack this by sym linking > /etc/heyu/x10.conf to the heyu config file in my user's home > directory. > > So I had to:- > > Add squeezecenter user to dialout group > move or link heyu config file to /etc/heyu/x10.conf > ensure /etc/heyu

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-12 Thread Patrick Dixon
OK I have finally managed to crack this by sym linking /etc/heyu/x10.conf to the heyu config file in my user's home directory. -- Patrick Dixon www.at-tunes.co.uk Patrick Dixon's Profile: http://forums.slimdevices.com/mem

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-11 Thread Patrick Dixon
Does the plugin pass arguments to heyu within the "FULL PATH TO THE BR (FOR CM17A/FIRECRACKER) OR HEYU (CM11A) UTILITY" entry? I need to pass the location of the configuration file otherwise heyu looks in the home directory of the user (which doesn't exist for SC) I think. Using: /usr/local/bin/

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-06 Thread Patrick Dixon
heyu relay is run from startup in /etc/rc.local I've suid the heyu executable (with a user that heyu works from the command line with) and restarted everything 968 -rwsr-xr-x 1 root root 983194 2008-02-18 11:22 /usr/local/bin/heyu but still no joy. Is there any way I can debug this? The log h

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-05 Thread peterw
Patrick Dixon;326382 Wrote: > I set serial port permissions to allow everyone:- > chmod a+wr /dev/ttyS0 > > but it doesn't appear to make any difference. Is heyu_relay running as a different user than SqueezeCenter? Perhaps also* making the heyu app suid to some user would fix it? * IIRC, Powe

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-05 Thread Patrick Dixon
I set serial port permissions to allow everyone:- chmod a+wr /dev/ttyS0 but it doesn't appear to make any difference. -- Patrick Dixon www.at-tunes.co.uk Patrick Dixon's Profile: http://forums.slimdevices.com/member.php?

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-05 Thread Patrick Dixon
peterw;326080 Wrote: > Sorry for the delayed response. > > Those warnings are normal -- ironically, they're there because of a bug > I opened. :-) > > Are you using your heyu binary, or the one that PowerCenter ships with? > Does the SqueezeCenter user have RW permissions on the serial device?

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-08-04 Thread peterw
Patrick Dixon;323909 Wrote: > I tried to use this plugin with my existing heyu/serial adaptor setup, > but although it says it's switching lights on and off, nothing actually > happens. I also get some errors in the log > > [08-07-29 10:15:45.8670] Slim::Web::Settings::handler (145) Preference

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-29 Thread Patrick Dixon
I tried to use this plugin with my existing heyu/serial adaptor setup, but although it says it's switching lights on and off, nothing actually happens. I also get some errors in the log [08-07-29 10:15:45.8670] Slim::Web::Settings::handler (145) Preference names must be prefixed by "pref_" in th

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-24 Thread peterw
Thomas_DK;322740 Wrote: > > Im thinking of a senario like this: > > 1. Squeezebox Duet - connected to my router and my amplifier. > 1. QNAP TS-109 Storage running SqueezeCenter - connected to my router. > 1. Innovus House Controller(Z-Wave) - connected to my router. > 3. Innovus RAone Smartdimm

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-24 Thread Thomas_DK
Thanks a lot for the info. Im thinking of a senario like this: 1. Squeezebox Duet - connected to my router and my amplifier. 1. QNAP TS-109 Storage running SqueezeCenter - connected to my router. 1. Innovus House Controller(Z-Wave) - connected to my router. 3. Innovus RAone Smartdimmer(Z-Wave) i

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread gharris999
Thomas_DK;322413 Wrote: > In the link you provided the application runs on the slim server which > proberly would be fine. > > Is it possible to have plug-ins running on the Duet Squeezebox > Receiver? None of the slim devices PLAYERS (ie the SB3, Transporter, duet Receiver) support plugins run

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread Paul_B
The home-automation protocol xpl already has native support in Squeezecenter and I believe the xAP protocol has an existing plugin and a new one in development to support the Duet -- Paul_B Paul Slimcentre 7.1 on Qua

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread Thomas_DK
In regards to commandline support, its fairly simple. You connect to a socket on a IP and sends XML to the House Controller. The XML messages is then transformed into wireless Z-Wave signals and turns on/off/dim your lamps(dimmers) and you get a report back with the level of the lamps. Its a 2-w

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread Thomas_DK
In the link you provided the application runs on the slim server which proberly would be fine. Is it possible to have plug-ins running on the Duet Squeezebox Receiver? -- Thomas_DK Thomas_DK's Profile: http://forums.slimd

Re: [SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread gharris999
Peterw's excellent Power Center plug-in already does this for X10 and Insteon automation devices. See http://www.tux.org/~peterw/slim/BottleRocket.html for details. In my personal experience, using this plugin, I'd say that the integration with the SBC (duet remote) is done very well. If there

[SlimDevices: Plugins] Home automation & Squeezebox Duet

2008-07-23 Thread Thomas_DK
Hi all. Is it possible to develop a plug-in that’s visible and controllable on the Squeezebox™ Duet remote menu's? At Innovus's forum there is an open XML description for controlling Z-Wave based lightning etc. through an IP based XML to Z-Wave box. If i buy a Squeezebox™ Duet can i develop a