Search found 20 matches

by stewdyne
Monday 19 November 2018 9:36
Forum: Other questions and discussions
Topic: Domoticz stops executing scipts sometimes
Replies: 3
Views: 483

Re: Domoticz stops executing scipts sometimes

I experience the exact same problem! When I active my Xiaomi devices the event system stops at random intervals. DZ is still up and showing no errors.

Really hope someone can dig into this. I can't find anything in the log.
by stewdyne
Wednesday 14 November 2018 9:16
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537559

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Ok, finaly I’ve found the culprit why my evensystem kept crashing on random intervals; the xiaomi gateway. When I disable that hardware my event system keep running. In the xiaomi mi home app I had several child devices under the xiaoim gateway; motion sensors, doorsensor. I resetted the gateway (5 s ...
by stewdyne
Tuesday 25 September 2018 14:39
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: [SOLVED] Set variable for setRGB()

Ow wow! Thank you. Should have known this earlier. Now I've created a workaround that puts some load on my rpi. Will check this out tonight.
by stewdyne
Tuesday 25 September 2018 14:10
Forum: dzVents
Topic: [SOLVED] Is it possible to use Dzvents without setting 127.0.0.1 in local networks, or use another IP?
Replies: 2
Views: 618

[SOLVED] Is it possible to use Dzvents without setting 127.0.0.1 in local networks, or use another IP?

I use Dataplicity.com to access my rpi externally. By using this service you get a url (a so called dataplicity wormhole). If I put in 127.0.0.1 in my local networks in the Domoticz settings, anybody can directly access my rpi/domoticz if they know the dataplicity wormhole url. No username/password ...
by stewdyne
Tuesday 25 September 2018 13:46
Forum: dzVents
Topic: [SOLVED] Error: There is no device with that name or id: false
Replies: 3
Views: 943

Re: [SOLVED] Error: There is no device with that name or id: false

I've found the culprit.

Code: Select all

if (dz.devices(('Lampen_Gang_2').state == 'Off')
Double (( after devices gave the error.
by stewdyne
Monday 24 September 2018 8:07
Forum: dzVents
Topic: [SOLVED] Error: There is no device with that name or id: false
Replies: 3
Views: 943

Re: Error: There is no device with that name or id: false

Ah! I have a clue... This error occurs every 10 minutes. I have 1 script that executes every 10 minutes. Its the following script: return { on = { timer = { 'every 10 minutes' } }, execute = function(dz, switch) -- Living if ((dz.devices('Lampen_Woon_1').state == 'Off') and (dz.devices('Beweging ...
by stewdyne
Monday 24 September 2018 6:59
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: Set variable for setRGB()

Thank you for your help! This topic can be set on solved.
by stewdyne
Monday 24 September 2018 6:58
Forum: dzVents
Topic: [SOLVED] Error: There is no device with that name or id: false
Replies: 3
Views: 943

[SOLVED] Error: There is no device with that name or id: false

I regulary get the following error: 2018-09-24 06:00:00.231 Status: dzVents: Error (2.4.6): There is no device with that name or id: false Normaly a device name would be wrong. But I have no device called false in my scripts. I searched all my active scripts (no results when looking for 'false ...
by stewdyne
Saturday 22 September 2018 0:03
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: Set variable for setRGB()

Hi Waaren,

I checked my scripts and indeed the values were changed at start. Everything is working fine now, thank you!

1 more question. By setting the rgb you also automaticly change the brightness of the lights. Is it possible to only change the color without changing the brightness? And how?
by stewdyne
Thursday 20 September 2018 19:31
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: Set variable for setRGB()

Ok, I've found the problem. Had this in my global_data: return { helpers = {}, data = { brightnessLiving = { initial = 100 }, brightnessHallwayOne = { initial = 100 }, brightnessHallwayTwo = { initial = 100 }, brightnessToilet = { initial = 100 }, brightnessKitchen = { initial = 100 ...
by stewdyne
Wednesday 19 September 2018 7:59
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: Set variable for setRGB()

Thank you for your reply. I know how setRGB works, but that is not what I mean. I want to store a variable (like: 0,250,0) and set that in setRGB(). setRGB('Variable_here'') output: setRGB(0,250,0) Ah, sorry^^ you mean: a = 50; b = 50; c = 50; domoticz.devices('testrgb').setRGB(a, b, c) ? Just ...
by stewdyne
Tuesday 18 September 2018 14:32
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

Re: Set variable for setRGB()

Thank you for your reply.

I know how setRGB works, but that is not what I mean. I want to store a variable (like: 0,250,0) and set that in setRGB().

setRGB('Variable_here'')

output:

setRGB(0,250,0)
by stewdyne
Tuesday 18 September 2018 13:17
Forum: dzVents
Topic: [SOLVED] Set variable for setRGB()
Replies: 15
Views: 3547

[SOLVED] Set variable for setRGB()

Is it possible to set a variable in setRGB () with Dzvents? I mean something like that:

setRGB (variableRed, variableGreen, variableBlue) or something like: setRGB (variableRGBhere)
by stewdyne
Wednesday 05 September 2018 8:56
Forum: Others
Topic: Xiaomi universal remote (Infrared)
Replies: 0
Views: 609

Xiaomi universal remote (Infrared)

Is this device compatible with Domoticz?

https://aliexpress.com/item/Original-Xi ... 13843.html
by stewdyne
Wednesday 05 September 2018 8:12
Forum: Others
Topic: Mi-Light / LimitlessLED / Applamp
Replies: 232
Views: 94784

Re: Mi-Light / LimitlessLED / Applamp

Is it already possible to control saturation in some sort of way? (GUI/Json API calls)
by stewdyne
Wednesday 29 August 2018 20:10
Forum: Blockly
Topic: This is driving me crazy - Blockly events crashing all events
Replies: 0
Views: 570

This is driving me crazy - Blockly events crashing all events

Oke so past few weeks I've created a couple of Blockly events. Everything was working fine, except that they suddenly stopped working after a - random -amount of time past. When I restart my Rpi everything is working fine again for the time-being. Im takling about a 30 min - 4 hour time frame. When ...
by stewdyne
Wednesday 01 August 2018 12:52
Forum: Others
Topic: Set Milight scene without turning lamps on
Replies: 2
Views: 513

Re: Set Milight scene without turning lamps on

Hi,

Thank you for your reply. I think you can get the same result in both ways. But with the the flow you suggested; How do the lamps determine which scene to turn on? Nothing has been set yet...
by stewdyne
Wednesday 01 August 2018 11:47
Forum: Others
Topic: Set Milight scene without turning lamps on
Replies: 2
Views: 513

Set Milight scene without turning lamps on

Hi, I have Milight lamps and motion sensors installed. All is working fine. But I want to add a little extra. I want to set a scene without turning the lamps on. So this is the flow im trying to archieve: 1. Lamps off by default (when no motion is detected) 2. Set scene (lamps stay off) 3. Motion ...
by stewdyne
Friday 20 July 2018 8:01
Forum: Others
Topic: Mi-Light / LimitlessLED / Applamp
Replies: 232
Views: 94784

Re: Mi-Light / LimitlessLED / Applamp

Okay I've been busy for 3 hours but I can not get the lights to talk with Domoticz. I can control the lights via the app (milight 3.0). Hopefully someone has a clue. I have no experience with Domoticz at all. The spent 3 hours are the first 3 hours that I spent on Domoticz. So I might overlook a ...