Horst Eyermann wrote:
>> > 1) powersupply control
>> > I have a powersupply which can be controlled via usb. I would like add a
>> > way to control it via remote control in freevo (so playback of a dvd
>> > could switch on/off the devices / lights as well)
>> >
>> That sounds like a main menu plugin to me. An example would be the
>> shutdown plugin. Your just need to define an item with the options to
>> turn power on or off. Or what exactly do you have in mind. 
>> 
>
> I started with the sutdown plugin which does work for a single socket.
> But there is a total of eight sockets. So a single menueitem would not
> be sufficient.
> Also I would like to assign some special remote control keys (Lets say
> SAT 1..8) to toggle switch the sockets. 
>
> Can this be done with the "shutdown plugin"?

You should use the shutdown plugin as example. You need to add much
more code, the shutdown plugin is only a simple main menu plugin you
could use to look how things work. You could add a submenu with all
your 8 sockets.



Dischi

-- 
Half of the troubles of this life can be traced to saying yes too
quickly and not saying no soon enough. - Josh Billings

Attachment: pgpcIDSOqT6Vk.pgp
Description: PGP signature

Reply via email to