Search found 17 matches

by Chopper_Rob
Saturday 22 April 2017 16:23
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

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
by Chopper_Rob
Saturday 04 July 2015 13:06
Forum: Kodi (XBMC)
Topic: Kodi Mediaserver Support
Replies: 357
Views: 123688

Re: Kodi Medisserver Support

If you would switch to the raw TCP port instead of the web api you can integrate a much better listening system. After connecting, KODI pushes all actions to the connected devices, so you would only need to listen and not poll. My script works the same way, this makes to reaction time very fast. You ...
by Chopper_Rob
Tuesday 23 June 2015 23:03
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

I updated the add-on, you can now use the left and right keys to switch between the different views.
by Chopper_Rob
Tuesday 23 June 2015 23:01
Forum: PHP and all others
Topic: [Script] Report devices online status
Replies: 7
Views: 4367

Re: [Script] Report devices online status

When the script is running on the same machine as domoticz you can use the ip adress 127.0.0.1 in the settings. This way you don't need to enter the credentials.
by Chopper_Rob
Tuesday 07 April 2015 22:31
Forum: Other questions and discussions
Topic: Domoticz and robot vacuum cleaners
Replies: 37
Views: 18489

Re: Domoticz and robot vacuum cleaners

I created a script to control a roomba with a simple metered outlet. The script monitors the usage of the power outlet and determines the state the Roomba is in. Based on this an action is triggered. The only thing you need extra is a way to send a start signal to the roomba (or other device). For ...
by Chopper_Rob
Saturday 27 December 2014 15:18
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

I uploaded a new version that supports more switch types, if your sensor is still not working please let me know what type of sensor it is.
by Chopper_Rob
Saturday 27 December 2014 14:25
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

At the moment it can only work with switches that have an On/Off state. I'll see if i can change this.

@Raspberry Piet: I changed the Kodi script.
by Chopper_Rob
Friday 26 December 2014 20:36
Forum: LUA
Topic: Lua Script for turning light on when motion
Replies: 31
Views: 14892

Re: Lua Script for turning light on when motion

The reason that the print command does work is that it is outside of the if statement. So every time the script runs it will always log to the event log. Put the print command before the end statement to make it dependent of the if statement.
by Chopper_Rob
Friday 26 December 2014 15:20
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

The script would fill a variable in Domoticz.

If i do a quick check it seems possible to retrieve the current Kodi profile.
by Chopper_Rob
Friday 26 December 2014 14:45
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

If i change the Kodi script. Would you prefer to have a variable with the type of media that is playing or a switch for every type of media?
by Chopper_Rob
Friday 26 December 2014 14:39
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

V0.0.3 is very promising! I like the option roomplan. Roomplan shows the devices but doesn't show scenes? I allready use your Kodi status script wich works well. Should it be possible to implement its functions to the add-on? Then activate a scene/switch when Kodi is playing or paused watching a ...
by Chopper_Rob
Friday 26 December 2014 2:14
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

So I uploaded another version. (0.0.3) In this version i changed a small UI thing. Now it will calculate the minimum height that is needed to show the devices. So if you only have a couple of devices it doesn't use the whole screen anymore. I've also added some extra settings. You can now choose ...
by Chopper_Rob
Thursday 25 December 2014 22:54
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

I'm looking into showing a specific roomplan, this way you could control from Domoticz which devices you want to see in the Kodi add-on. Might be better than making devices on the fly favorite and also better than just showing all the favorites. Besides that i'm thinking of making this configurable ...
by Chopper_Rob
Thursday 25 December 2014 15:54
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Re: Kodi add-on to control Domoticz

Thx for the feedback.
I just uploaded a new version with some small changes to the UI. Looks a bit better this way.

@Raspberry Piet. What exactly do you mean? That you can choose other lists then the favorites? That is already something on my "maybe-to-do-in-the-future-list"
by Chopper_Rob
Thursday 25 December 2014 10:46
Forum: PHP and all others
Topic: Kodi add-on to control Domoticz
Replies: 37
Views: 19746

Kodi add-on to control Domoticz

Hi everybody, I've created a simple add-on for Kodi / XBMC to control Domoticz. It allows you to switch the favorite marked switches from anywhere in Kodi even when you're watching a movie. To use this you need to add a keymap to the script. https://www.chopperrob.nl/xbmc-add-ons/12-control-domoticz ...
by Chopper_Rob
Wednesday 15 October 2014 23:17
Forum: PHP and all others
Topic: Building my own network controlled LED dimmer
Replies: 26
Views: 15671

Re: Building my own network controlled LED dimmer

After a quick search i found a way to read a dimmer value, although it seems it only goes from 0 - 15, where 15 is 100%. (so only 16 steps) But you can use this to convert it to a 0-255 range. value = otherdevices_svalues['dimmer_name'] print (value*255/15) It's not ideal to only have 16 steps, but ...
by Chopper_Rob
Wednesday 28 May 2014 22:11
Forum: PHP and all others
Topic: [Script] Report devices online status
Replies: 7
Views: 4367

[Script] Report devices online status

I see a lot of topics from other users who are trying to create scripts for monitoring network devices, so i would like to share my python script. This way not everybody has to build the same thing and they can focus on some other cool scripts. ;) This script uses ping to monitor a device on the ...