I'm trying to write a home automation plugin, but there doesn't seem to be great documentation on using python with freevo.

What Im trying to accomplish is the following:

#1 Read from a config file, such as /etc/freevo/homeautomation.conf containing:

   [ROOM NAME]
      DeviceID, "Device Name"
   [Living Room]
      A1,   "Corner Light"
      A2,   "Ceiling Fan"
   [Office]
      A3,   "Ceiling Light"

       and so on.

#2   Display the configuration in a orderly fashion within freevo:


Movies
Music
Home Automation----Living Room----Corner Light
| |---Ceiling Fan
|
|--Office----Ceiling Light----On
|---Off
|---Dim


#3 Upon selecting an option such as On, Off, or Dim shell an external command.


Here is the little that I have been able to figure out. I am able to create a main menu item, and I know how to shell a command, but I cannot create sub menus, and I don't have a clue on how to read and generate it from a config file. Any help would be appreciated.


Thank you,

Ryan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to