2013-08-23, 08:44
Hello, im not that experienced with python i have very limited knowledge of the language, but am wanting to create a addon that will be able to do home automation,
All i need is a addon that when opened has a list of everything that can be automated then click on a item and turn the device on/off...
Etc a tree view
Main XBMC Program Menu
|_ Home Automation
......|_ Kettle
............|_ Boil (http://localhost/kettle.php?turn=on)
............|_ Turn Off (http://localhost/kettle.php?turn=off)
.......|_ Heating
............|_ Adjust Temp (http://localhost/kettle.php?heating_temp.php)
..................|_ Higher / Lower (http://localhost/kettle.php?heating_temp...rn=up/down)
............|_ Turn On / Off (http://localhost/kettle.php?heating.php?turn=on / off)
(Hopefully this has made it clear what i need help with)
The only trouble is i have no experience in creating addons so have no idea where to start, the automation will be controlled of a main webserver, so if i wanted to turn the kettle on etc. i will visit http://localhost/kettle.php?control=on if i wanted to turn it off it would become kettle.php?control=off
So i need the addon just to connect to the link and show a dialogue, if some one could point me in a direction that is easier to follow then http://wiki.xbmc.org/index.php?title=HOW...on_Scripts.
I have noticed that there is no addons around that allow home automation, i will be releasing instructions on how to automate simple household devices and also the webpages that control the device...
I am currently stuck with nothing i have been reading the above tutorial but struggling to follow along with creating directories and adding custom links
All i need is a addon that when opened has a list of everything that can be automated then click on a item and turn the device on/off...
Etc a tree view
Main XBMC Program Menu
|_ Home Automation
......|_ Kettle
............|_ Boil (http://localhost/kettle.php?turn=on)
............|_ Turn Off (http://localhost/kettle.php?turn=off)
.......|_ Heating
............|_ Adjust Temp (http://localhost/kettle.php?heating_temp.php)
..................|_ Higher / Lower (http://localhost/kettle.php?heating_temp...rn=up/down)
............|_ Turn On / Off (http://localhost/kettle.php?heating.php?turn=on / off)
(Hopefully this has made it clear what i need help with)
The only trouble is i have no experience in creating addons so have no idea where to start, the automation will be controlled of a main webserver, so if i wanted to turn the kettle on etc. i will visit http://localhost/kettle.php?control=on if i wanted to turn it off it would become kettle.php?control=off
So i need the addon just to connect to the link and show a dialogue, if some one could point me in a direction that is easier to follow then http://wiki.xbmc.org/index.php?title=HOW...on_Scripts.
I have noticed that there is no addons around that allow home automation, i will be releasing instructions on how to automate simple household devices and also the webpages that control the device...
I am currently stuck with nothing i have been reading the above tutorial but struggling to follow along with creating directories and adding custom links