WIP Home automation add on, help needed
#1
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
Reply
#2
http://wiki.xbmc.org/index.php?title=HOW...s_for_XBMC
Reply
#3
(2013-08-23, 11:49)ppic Wrote: http://wiki.xbmc.org/index.php?title=HOW...s_for_XBMC

I have tried that one and the plugin tutorial, i personally found the plugin tutorial easier when i started messing round with anther add ons code, but ended up going round in loops,

I had the menu showing the items but then when i clicked on them it took me back to the menu ?? i havent got a clue what im doing,

if i can provide the links and the layout of the website is their any coder who would chuck together a script?

All i need is the script to get the items from a list, then once they are clicked on get some more items from a list but once clicked show notification when done,
Reply

Logout Mark Read Team Forum Stats Members Help
Home automation add on, help needed0