Page 2 of 2
Re: Kodi add-on to control Domoticz
Posted: Sunday 28 June 2015 22:31
by pvm
Is this add-on related to the Kodi Media Server hardware type added to Domoticz recently??
I activated that but it does not show anything
Re: Kodi add-on to control Domoticz
Posted: Sunday 28 June 2015 23:22
by Raspberry Piet
pvm wrote:Is this add-on related to the Kodi Media Server hardware type added to Domoticz recently??
I activated that but it does not show anything
No it is not related.
I also noticed this new functionality within Domoticz.
It automaticaly makes this switch:
Maybe start a new thread about this new promising functionality?
Re: Kodi add-on to control Domoticz
Posted: Sunday 28 June 2015 23:41
by pvm
Re: Kodi add-on to control Domoticz
Posted: Tuesday 22 December 2015 23:52
by sincze
Looks very nice version 0.0.6. Thanks for the instructions via:
https://www.chopperrob.nl/xbmc-add-ons/ ... -from-kodi
Re: Kodi add-on to control Domoticz
Posted: Wednesday 23 December 2015 0:29
by Egregius
Nice thing from chopperrob
Altered one line in default.py do:
Code: Select all
if json_object["result"][i]["Status"] == "On" or json_object["result"][i]["Status"] == "Open" or json_object["result"][i]["Status"] == "All On" or json_object["result"][i]["Status"][:3] == "Set":
Added the last or statement because dimmers didn't function.
Re: Kodi add-on to control Domoticz
Posted: Sunday 27 December 2015 17:58
by mrjem
Hello
I tryed to install this addom on my Windows 7 pc with te latest version of kodi.
Script faild it says
i try to install version 006 but it wont work
Whats wrong ??
Re: Kodi add-on to control Domoticz
Posted: Sunday 27 December 2015 22:36
by Egregius
Does the kodi.log file gives a clue?
Re: Kodi add-on to control Domoticz
Posted: Saturday 07 May 2016 21:04
by Marcinek
Where can I find documentation for this add-on
Re: Kodi add-on to control Domoticz
Posted: Thursday 15 December 2016 21:47
by kniazio
I have version 3.6154 domoticz
Plugin seems to see my Domoticz.
He sees room plan.
He can not see devices
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 8:47
by kniazio
Can you share this add-on?
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 10:59
by MikeF
I'm getting '404 Not Found' on @Chopper-Rob's url - is this no longer available?
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 12:03
by MikeF
Just found it here:
viewtopic.php?t=11576 - thanks @egregius - and got it working. Nice!
(I'm using osmc on a RPi 3)
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 12:10
by Denny64
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 12:59
by kniazio
This plugin sees my devices but does not launch them
Re: Kodi add-on to control Domoticz
Posted: Friday 14 April 2017 17:59
by kniazio
I think this is a problem here
Code: Select all
# Function to send commands to domoticz.
# It handles
# switches
# dimmer
# scenes & groups
def sendcmd(args):
opt=""
for val in args:
if opt!="":
opt=opt+"&"
opt=opt+val+"="+args[val]
#http://www.bbrose.net/domoticz//json.htm?cmd=On&type=command¶m=switchlight&idx=22
#~ log("Sending "+cmd+" to Switch "+str(switchid), xbmc.LOGNOTICE)
#~ thisurl=__rooturl__+"/json.htm?type=command¶m="+itemtype+"&idx="+str(switchid)+"&switchcmd="+cmd+"&level="+str(level)
thisurl=__rooturl__+"/json.htm?"+opt
log ("URL is "+thisurl , xbmc.LOGNOTICE)
xbmc.executebuiltin( "ActivateWindow(busydialog)" )
try:
pagehandle = urllib2.urlopen(thisurl)
html = pagehandle.read()
pagehandle.close()
except:
html="Error !!"
xbmc.executebuiltin( "Dialog.Close(busydialog)" )
log(html, xbmc.LOGERROR)
xbmc.sleep(2)
Invalid command syntax
Code: Select all
#http://www.bbrose.net/domoticz//json.htm?cmd=On&type=command¶m=switchlight&idx=22
At present Domoticz should be:
Code: Select all
json.htm?type=command¶m=switchlight&idx=18&switchcmd=On&level=0
I can not improve it
Re: Kodi add-on to control Domoticz
Posted: Saturday 22 April 2017 16:23
by Chopper_Rob
Hi guys,
If anyone is still looking for this add-on.
You can find it here:
https://www.dropbox.com/s/damik7spatoms ... l.zip?dl=0
Re: Kodi add-on to control Domoticz
Posted: Saturday 22 April 2017 16:55
by kniazio
But this plugin does not work for me.
It does not show my devices.
I have yet another plugin.
Very nice looks, shows my devices but they do not switch
https://github.com/h4wkmoon/xbmc-domoticz
Plugin works but only in Scenes.
What to do to work on Switches?
Re: Kodi add-on to control Domoticz
Posted: Wednesday 07 February 2018 0:01
by mrjulien
Hi,
very nice plugins but don't work at home...i leave an issue on github.
i'm impatient to use it !
in fact, project is over and need some improvement. i'll try to create a fork