Search found 23 matches

by Luuc_a
Tuesday 22 December 2020 10:22
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 13684

Re: Python plugin: Ubiquiti Unifi Presence

Hi Wizard, Because of the Christmas holidays I have some time to test the update :D Unfortunaly it's not working for my setup. The errors I get are: 2020-12-22 10:18:23.171 Error: (Unifi) 'onHeartbeat' failed 'KeyError'. 2020-12-22 10:18:23.171 Error: (Unifi) ----> Line 835 in '/home/pi/domoticz ...
by Luuc_a
Thursday 22 March 2018 11:44
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 29629

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

Hi BakSeeDa, Hoping you can help me out here. I've been using your script without any problems for several months already. However, since a couple of days the script doesn't recognise my phone leaving or entering the house anymore. The stupid thing is that it's still working perfectly for my wife's ...
by Luuc_a
Wednesday 17 January 2018 6:03
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1343

Re: AND function kills script

I do some thing similar to your needs. I have edited the code I used to your needs return { on = { devices = { 'Telefoon*' } }, execute = function(domoticz, device) local home = false --Look in Domoticz for each device started with Telefoon. If a device has the status on, then set local var "Home ...
by Luuc_a
Monday 12 June 2017 9:54
Forum: Python
Topic: Python plugin: Kodi
Replies: 140
Views: 34425

Re: Python plugin: Kodi

Thanks. I get different errors when I try this. But also found the solution.
It was a permission error.

The solution

Code: Select all

sudo chmod 755 domotiz/plugins/kodi/plugin.py
by Luuc_a
Thursday 08 June 2017 17:04
Forum: Python
Topic: Python plugin: Kodi
Replies: 140
Views: 34425

Re: Python plugin: Kodi

@Luuc_a, I'm not sure. It would be more useful if you posted the log for version 1.7.1 (preferably with debug enabled for the plugin) rather than the version that we know doesn't work with the new beta, also the operating system you are running. Well. That would be a problem. I don't have the log ...
by Luuc_a
Thursday 08 June 2017 8:00
Forum: Python
Topic: Python plugin: Kodi
Replies: 140
Views: 34425

Re: Python plugin: Kodi

With the latest beta (3.7686) the Kodi plugin doesn't work anymore. Version 1.7.1 will crash domoticz and version 1.6.0 result in the folowing error OnStart: 2017-06-08 07:57:11.198 Error: (Kodi Woonkamer) 'onStart' failed 'AttributeError':''module' object has no attribute 'Transport''. 2017-06-08 ...
by Luuc_a
Tuesday 16 June 2015 8:13
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79819

Re: Is it gonna rain within the next X minutes?

I have made a new script with the following adaptions: - 2 new variables (RainPredThreshold and SolarThreshold) - Check if UV or Solar is right to open or close the sunscreen - Check if Rain Current of Rain Predicted is right to open or close the sunscreen - More loging when debug is on ...
by Luuc_a
Wednesday 10 June 2015 8:05
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

I have implemented your code for the blinds but is not working for my. What kind of blind switch do you use? I have tested it with a dummy blind switch and when I load the frontpage it will crash. It crashed at this part var hlp = '<img src=icons/sun_stop_n.png hspace=15 vspace=10 onclick ...
by Luuc_a
Tuesday 09 June 2015 11:41
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

Hi, iTS working Great! Only one question. Buienradar.nl doesnt refresh, it keeps cycling the same period. For example, it's still cycling around 18:00 o clock, wile it's 00:30 o'clock. Any help? And i see nice controls for my somfy screen, but not the stop button. Is there a clue for? Floris Didn't ...
by Luuc_a
Tuesday 09 June 2015 6:10
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

That looks nice. Looking forward to your code. I was playing arround with something like this. I was trying this with the plus and min buttons but didn't working. Here is the code, I changed it for the blinds (not blinds inverted etc). If the up arrow is green then the screens are open and if the ...
by Luuc_a
Monday 08 June 2015 14:27
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

Hi, iTS working Great! Only one question. Buienradar.nl doesnt refresh, it keeps cycling the same period. For example, it's still cycling around 18:00 o clock, wile it's 00:30 o'clock. Any help? And i see nice controls for my somfy screen, but not the stop button. Is there a clue for? Floris Which ...
by Luuc_a
Monday 08 June 2015 14:26
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

Hi, iTS working Great! Only one question. Buienradar.nl doesnt refresh, it keeps cycling the same period. For example, it's still cycling around 18:00 o clock, wile it's 00:30 o'clock. Any help? And i see nice controls for my somfy screen, but not the stop button. Is there a clue for? Floris Which ...
by Luuc_a
Friday 05 June 2015 13:44
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79819

Re: Is it gonna rain within the next X minutes?

Do you have a override switch called "Zonnescherm manual override"? The first time I used it I had the same sort of issues. Then I saw that I don't had the override switch. When you don't want to use the override script you can edit the code: elseif (otherdevices['Zonnescherm'] == 'Closed' and ...
by Luuc_a
Thursday 04 June 2015 7:59
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416708

Blockly examples

You van do this without a blocky. Go to Settings -> More options -> Camera. Select the camera and at the bottom select the doorbell and click on add.

When you've done this and go to switches then to your doorbell you'll see a camera icon.
by Luuc_a
Wednesday 03 June 2015 16:09
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79819

Re: Is it gonna rain within the next X minutes?

I have taken the script of tlpeter and made it to my needs. I have done the following - Integrate the script with the rain prediction of 'buienradar'. - made user variables from the thresholds in Domoticz so I can control it from the web interface ...
by Luuc_a
Wednesday 27 May 2015 8:59
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

Here is the link to my updated frontpage. ... G3rard, thanks for sharing your code. I have modified your code to satisfy my needs. the following is modified - Zwave dimmers functioning again - Implemented thermostat The code can be downloaded here: https://drive.google.com/file/d ...
by Luuc_a
Friday 17 April 2015 21:01
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

Thank you for the update. This code works now for the z-wave dimmers I use.
by Luuc_a
Friday 17 April 2015 7:50
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

@vil1driver, Thanks for your share! I am using your dimmer function and it works. :) I don't understand why, but the dimmer function only works for my Philips LivingWhites lights. When I want to dim my Philips LivingColors or Philips Hue lights, the lights only dim downwards. This happens when I ...
by Luuc_a
Tuesday 17 March 2015 7:32
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417068

Re: NEW frontpage.html - request comments

zicht wrote: ...
That looks very nice. I'm looking forward to your code.

How does the frontpage work with z-wave dimmers? For now I use the latest version of JKimmel. And for my the dimmer function is not working.
When I increase or decrease the dimmer the value will become 15 or 1.
by Luuc_a
Friday 27 February 2015 9:47
Forum: Design, usability and languages
Topic: Dashticz - Alternative Dashboard
Replies: 174
Views: 94148

Re: WIP - Dashticz - Alternative Dashboard

Try http://<IP domoticz>:<port>/dash