"Robert Rozman" wrote:
> Hello,

Hi

> I'm python newbie

No problem. If you know C, C++ or Java you will learn Python very
quickly. There is a nice tutorial at www.python.org. 

> and user of Misterhouse (great open source home automation
> package). Since Freevo is becoming more and more popular I consider
> it to connect to Misterhouse as TV GUI frontend.
>
> I'd like to:
> - add home automation menu to Freevo, where devices will be
> listed/controlled and grouped (rooms, systems, etc...)

That sounds like a MainMenuPlugin. I want to write a plugin developer
doc for some time now, but don't expect it the next days :-(

> - have connection over tcp port to Misterhouse where info about states from
> house, available commands and actions could be exchanged (MH already has
> this functionality, now I want to add Freevo counterpart)..
>
> I'd like to get some advice how to get started, maybe start from some
> already existing plugins, etc, etc...

Let's see: you need a MainMenuPlugin. This will show a menu item
MisterHouse. Take a look at src/plugins/mediamenu.py. Is includes a
MainMenu plugin (class PluginInterface) and builds a submenu with
other items (class MediaMenu). This sounds like what you need. One
MainMenu item and this shows a menu with all rooms for
example. Selection one room will again build a menu with all devices
in it.

Feel free to ask more questions here or come to #freevo at
#irc.gnu.org. 


Dischi

-- 
Diplomat: A man who always remembers a woman's birthday but never
remembers her age.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to