Search found 113 matches

by Doler
Friday 27 October 2017 11:01
Forum: dzVents Lua Framework
Topic: triggerInfo.trigger unavailable?
Replies: 3
Views: 228

Re: triggerInfo.trigger unavailable?

Just my guess: trigger holds information on timer events and since your example triggers only on devices it will return nil.

Mark
by Doler
Friday 06 October 2017 11:06
Forum: Bugs and Problems
Topic: Update 8551 beta - dzVents Error
Replies: 11
Views: 578

Re: Update 8551 beta - dzVents Error

dannybloe wrote:
Friday 06 October 2017 10:57
Yeah, we forgot to update the build scripts to include the dzVents runtime stuff. But that's fixed now.
Danny,
The runtime folder is still gone after updating (tried it on two raspberry's). Hope it can be fixed.
Mark
by Doler
Wednesday 23 August 2017 8:39
Forum: dzVents Lua Framework
Topic: Weather underground
Replies: 5
Views: 723

Re: Weather underground

I think the error is: json.lua should be JSON.lua. At my system the name of the library is in capitals.
by Doler
Sunday 20 August 2017 11:30
Forum: dzVents Lua Framework
Topic: openUrl (
Replies: 5
Views: 459

Re: openUrl (

Try domoticz.openURL(url).
by Doler
Monday 14 August 2017 8:12
Forum: Bugs and Problems
Topic: Domoticz looks strange in browser (3.8288)
Replies: 12
Views: 892

Re: Beta 3.8288

I had an alike problem in a previous beta, it appeared that in the custom style I used (ThinkTheme) the first line with

Code: Select all

@import url("/css/legacy.css"); /* Don't remove this line! */
was gone. Putting it back solved my problem. Why the line was gone is unclear to me.
Mark
by Doler
Sunday 13 August 2017 22:46
Forum: Z-Wave
Topic: Neo Coolcam Door sensor not working
Replies: 2
Views: 482

Re: Neo Coolcam Door sensor not working

I have 4 Neo Coolcam doorsensors working without a problem. Got a defective one once too, but got it replaced. Try to complain at the supplier.
by Doler
Friday 04 August 2017 22:14
Forum: dzVents Lua Framework
Topic: How to handle duplicate events
Replies: 15
Views: 851

Re: How to handle duplicate events

Test: return { active = true, on = { devices = { 'Testlamp1' } }, data = { devstate = {history = true, maxItems = 1} }, logging = { level = domoticz.LOG_INFO }, execute = function(domoticz, device, triggerInfo) domoticz.log('Just testing...') domoticz.data.devstate.add(device.state) domoticz.log(Tim...
by Doler
Friday 04 August 2017 15:52
Forum: dzVents Lua Framework
Topic: How to handle duplicate events
Replies: 15
Views: 851

Re: How to handle duplicate events

The timestamp I get using an historical persistent variable is 2 hours earlier then my local (Netherlands) time (UTC time?) and thus not easy to compare with UI. That's the main reason I have my 'own' way. Correct me if I'm wrong on UTC time though.
Mark
by Doler
Friday 04 August 2017 15:47
Forum: dzVents Lua Framework
Topic: Using modules in dzVents
Replies: 7
Views: 609

Re: Using modules in dzVents

Great!
by Doler
Thursday 03 August 2017 14:08
Forum: dzVents Lua Framework
Topic: How to handle duplicate events
Replies: 15
Views: 851

Re: How to handle duplicate events

I experimented a bit to see how I could save a timestamp and tried the following: local testData = { ['value'] = 0, ['lastupdate'] = 0 } return { active = true, on = { devices = { 'Testlamp1' } }, data = { devstate = { initial = {} } }, logging = { level = domoticz.LOG_INFO }, execute = function(dom...
by Doler
Thursday 03 August 2017 13:43
Forum: dzVents Lua Framework
Topic: Using modules in dzVents
Replies: 7
Views: 609

Re: Using modules in dzVents

I just use ...dzVents/scripts/modules for this.
by Doler
Sunday 30 July 2017 14:50
Forum: News & Updates
Topic: Domoticz version 3.8153 released (Stable)
Replies: 128
Views: 55528

Re: Domoticz version 3.8153 released (Stable)

It's a pity that dzVents didn't get a mention :o
by Doler
Sunday 30 July 2017 11:31
Forum: dzVents Lua Framework
Topic: Logging
Replies: 5
Views: 422

Re: Logging

Log level must be set to ' Errors + minimal execution info + general info' in order to see the log messages.
by Doler
Sunday 30 July 2017 8:46
Forum: dzVents Lua Framework
Topic: Logging
Replies: 5
Views: 422

Re: Logging

In Settings - Other:
Capture.JPG
Capture.JPG (27.25 KiB) Viewed 297 times
by Doler
Wednesday 12 July 2017 18:48
Forum: LUA
Topic: What is wrong with my parantheses?
Replies: 3
Views: 434

Re: What is wrong with my parantheses?

Code: Select all

...((otherdevices['Natta']) == 'On')...
There is a closing parenthesis too much just after ['Natta'].
by Doler
Tuesday 11 July 2017 8:10
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 846
Views: 79019

Re: [MyDomoAtHome] Support thread

Your node version is too high (incompatible), uninstall and use

Code: Select all

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install nodejs
Resulting node version should be v7.x.x, npm version should be v4.2.x.
by Doler
Sunday 02 July 2017 13:28
Forum: dzVents Lua Framework
Topic: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)
Replies: 103
Views: 7959

Re: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)

What you could try is disable all your hardware and then enable dzVents and see what happens (just to rule out possible causes).
Mark
by Doler
Sunday 02 July 2017 13:18
Forum: dzVents Lua Framework
Topic: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)
Replies: 103
Views: 7959

Re: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)

I can confirm that: upgrading from 3.8015 to 3.8027 made my CPU usage (RPI3) go up from average 2% to average 5%. So still low and maybe this is the new normal. Am I right that people who use dzVents have NO problem whilst others may have. Just a hunch: do people with problems have 127.0.0.1 in thei...
by Doler
Sunday 02 July 2017 12:05
Forum: dzVents Lua Framework
Topic: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)
Replies: 103
Views: 7959

Re: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)

Maybe it's specific hardware(interface). It might help when people having problems list their hardware so we can compare.
Mark
by Doler
Sunday 02 July 2017 11:16
Forum: dzVents Lua Framework
Topic: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)
Replies: 103
Views: 7959

Re: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)

No high CPU here, CPU is around 5%. Busy migrating from dzVents 1.02 to 2.0, no problems so far.
Mark