Search found 276 matches

by poudenes
Wednesday 06 December 2017 15:40
Forum: dzVents Lua Framework
Topic: dzVents.lua has been running for more than 10 seconds
Replies: 3
Views: 135

Re: dzVents.lua has been running for more than 10 seconds

tried but after reboot its still there
by poudenes
Wednesday 06 December 2017 14:35
Forum: dzVents Lua Framework
Topic: dzVents.lua has been running for more than 10 seconds
Replies: 3
Views: 135

dzVents.lua has been running for more than 10 seconds

Hi All, Suddenly i got this error msg: dzVents.lua has been running for more than 10 seconds Didn't change anything. All scripts work great. Only update to latest beta Domoticz V3.8771 Does someone have same issues or any idea to solve this? Already disable almost all dzvents scripts to see if this ...
by poudenes
Monday 04 December 2017 19:08
Forum: iOS
Topic: homebridge-edomoticz Plugin
Replies: 1435
Views: 167915

Re: homebridge-edomoticz Plugin

Did you removed accessories and persist directory from ~/.homebridge ? then add the homebrige again into homekit I had everything working just fine, but then I updated to the latest version of Homebridge and homebridge-edomoticz and I started to get errors like this when I started homebridge: Dec 04...
by poudenes
Tuesday 28 November 2017 10:46
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

Lamp is off [7] = { ["batteryLevel"] = 255; ["rawData"] = { [1] = "100"; }; ["lastUpdate"] = "2017-11-28 09:42:34"; ["switchTypeValue"] = 7; ["deviceID"] = "1"; ["lastLevel"] = 100; ["signalLevel"] = 12; ["changed"] = false; ["subType"] = "RGBWW"; ["name"] = "Dressoir"; ["baseType"] = "device"; ["da...
by poudenes
Tuesday 28 November 2017 10:42
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

Here with 4 different colours Color RED but real color for this bulb is more purple [7] = { ["switchType"] = "Dimmer"; ["baseType"] = "device"; ["deviceType"] = "Lighting Limitless/Applamp"; ["batteryLevel"] = 255; ["deviceID"] = "1"; ["rawData"] = { [1] = "100"; }; ["id"] = 8; ["lastLevel"] = 92; [...
by poudenes
Tuesday 28 November 2017 10:37
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

Here the output with the 4 options for kelvin I haver add 1 kelvin level in a dummy with to activate it in dzVents System using this link in the dummy switch selector: http://127.0.0.1:8081/json.htm?type=command¶m=setkelvinlevel&idx=18&kelvin=10 Kelvin 100% [7] = { ["lastUpdate"] = "2017-11-28 0...
by poudenes
Monday 27 November 2017 7:32
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

Yes! That's the one. Now I'd like to have a few versions. First when the device is off. Then two or so where it is on with different kelvin levels. As I don't have this device myself I'm curious how the GUI looks like for this device in Domoticz. Can you paste a couple of screenshots? What does Dom...
by poudenes
Sunday 26 November 2017 12:08
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

Only for that specific device. So find the section in that dump and copy only that section. Each device is behind a numbered entry. Do you mean this section: [6] = { ["timedOut"] = false; ["description"] = ""; ["batteryLevel"] = 255; ["data"] = { ["hardwareName"] = "MiLight Controller 1"; ["levelVa...
by poudenes
Sunday 26 November 2017 11:41
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

That's interesting. Can you do something for me? Set the log level in domoticz settigns for dzVents to debugging. It will create a file domoticzData.lua in scripts/dzVents. Can you find the section in there that deals with this light and paste the data in here. Clearly we can improve the adapter fo...
by poudenes
Friday 24 November 2017 17:49
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

dannybloe wrote:
Friday 24 November 2017 16:26
But what kind of device is it?
Its a milight lamp
by poudenes
Friday 24 November 2017 16:02
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

Re: lastupdate include a AND

dannybloe wrote:
Friday 24 November 2017 15:48
What kind of device is it?
stupid me. I see that the state also can be 'Set Kelvin Level' so i changed it to:

Code: Select all

(domoticz.devices(18).state == 'Set Kelvin Level' or domoticz.devices(18).state == 'On') and 
    domoticz.devices(18).lastUpdate.minutesAgo > 1 -- Bathroom sink
now it work :)
by poudenes
Friday 24 November 2017 14:02
Forum: dzVents Lua Framework
Topic: lastupdate include a AND
Replies: 16
Views: 439

lastupdate include a AND

Hi All, Tried this but that doesn't work: local Version = '17.11.23' return { active = true, on = { timer = {'Every 1 minutes'} }, logging = {marker = 'CHECK LIGHT FOR 15MIN ' ..Version}, execute = function(domoticz, device) if domoticz.devices(18).state == 'On' and domoticz.devices(18).lastUpdate.m...
by poudenes
Friday 24 November 2017 11:16
Forum: dzVents Lua Framework
Topic: combine if statement
Replies: 3
Views: 194

Re: combine if statement

First of all, I'd not use indexes like this as it makes your code hard to read (you always have to cross-reference it to figure out what is what). I'd create either a set of constants like local GOODNIGHT=65 and then use domoticz.device(GOODNIGHT) or local goodNight = domoticz.devices(65) and then ...
by poudenes
Thursday 23 November 2017 20:04
Forum: General Discussion
Topic: Tablet on the wall
Replies: 2
Views: 422

Re: Tablet on the wall

I used this:

https://cdn.attema.com/images/9052_large.jpg

part on the wall with screws the other part with double side tape on the tablet :)
by poudenes
Thursday 23 November 2017 11:33
Forum: Suggestions
Topic: Aurora Nanoleaf
Replies: 6
Views: 943

Re: Aurora Nanoleaf

cattoo wrote:
Wednesday 15 November 2017 12:48
Home assistant had success to include Nanoleaf Aurora, so it feels like if some programer could translate the script it would be possible.
Script
im not a programer but a high Thanks for the one who can do this !!

+1
by poudenes
Thursday 23 November 2017 10:43
Forum: dzVents Lua Framework
Topic: combine if statement
Replies: 3
Views: 194

combine if statement

Hi All, is it possible and if so better to combine those lines that are for Scene statements: if domoticz.devices(56).lux < 350 and -- Lux domoticz.variables(7).value == 0 and -- Lux Variable domoticz.devices(65).state == 'Off' and -- Scene Goodnight domoticz.devices(59).state == 'Off' and -- Scene ...
by poudenes
Wednesday 22 November 2017 10:47
Forum: dzVents Lua Framework
Topic: os.execute.aftersec
Replies: 11
Views: 365

Re: os.execute.aftersec

BakSeeDaa wrote:
Tuesday 21 November 2017 16:44
poudenes wrote:
Tuesday 21 November 2017 16:01
Thanks for the "always" great help!!!. I will add them as well then :)
Your'e welcome. Don't forget the inner parenthesis which is crucial for it to work.
So it will look like this then :)

Code: Select all

os.execute('(curl -s  "http://127.0.0.1:8081/........iswhite=false" > /dev/null)&')
by poudenes
Wednesday 22 November 2017 10:39
Forum: dzVents Lua Framework
Topic: A way to control RGB(W(W))
Replies: 4
Views: 279

Re: A way to control RGB(W(W))

That's interesting. Are there more commands like these? Maybe useful to add this to the rgbw_device.lua adapter. You can also use this for kelvin level http://127.0.0.1:8081/json.htm?type=command¶m=setkelvinlevel&idx=8&kelvin=10 Where kelvin=10 can be between 1-100 But for kelvin i created a du...
by poudenes
Tuesday 21 November 2017 16:01
Forum: dzVents Lua Framework
Topic: os.execute.aftersec
Replies: 11
Views: 365

Re: os.execute.aftersec

What is the reason you put this a the end: > /dev/null)& I use os.execute as well but then just the URL : os.execute('curl "http://127.0.0.1:8081/json.htm?type=command¶m=setcolbrightnessvalue&idx=3&hue=18&brightness=50&iswhite=false"') It's a redirection (discard) of the command output (not nec...
by poudenes
Tuesday 21 November 2017 15:00
Forum: Bugs and Problems
Topic: Unable to disable certain hardware
Replies: 4
Views: 226

Re: Unable to disable certain hardware

also some i can't disable on several latest beta releases until latest:

P1 device