Search found 1375 matches

by dannybloe
Tuesday 18 September 2018 6:47
Forum: dzVents
Topic: Cannot activate persistent data
Replies: 5
Views: 153

Re: Cannot activate persistent data

Well, glad it works and thanks for the compliment :-)
There is a dumpTable function in the code but it is not put on the domoticz object for no obvious reason. I could add it.
by dannybloe
Monday 17 September 2018 22:15
Forum: dzVents
Topic: Cannot activate persistent data
Replies: 5
Views: 153

Re: Cannot activate persistent data

Take a close look at the examples please. Follow the right syntax: domoticz.data.mydata = 20
by dannybloe
Monday 17 September 2018 19:35
Forum: dzVents
Topic: Cannot activate persistent data
Replies: 5
Views: 153

Re: Cannot activate persistent data

You should do: print(domoticz.data.mydata). Look carefully at the examples. Good luck.
by dannybloe
Tuesday 28 August 2018 17:52
Forum: Bugs
Topic: dzvents after update to version 4.97
Replies: 13
Views: 510

Re: dzvents after update to version 4.97

The type of the variable is defined in domoticz when you created the uservariable. So if it is a number or integer type it will be the same in dzVents.
by dannybloe
Tuesday 28 August 2018 15:53
Forum: Z-Wave
Topic: Looking for a reliable smoke detector
Replies: 14
Views: 622

Re: Looking for a reliable smoke detector

It was never an issue of batteries. Out of the blue they went off without any obvious reason. Once a year wouldn't be a problem but twice in 2 months is not ok. I have two that also works correctly. But I also noticed they send an alarm-off every times Domoticz restart (after a raspbian update need...
by dannybloe
Tuesday 28 August 2018 15:42
Forum: Bugs
Topic: dzvents after update to version 4.97
Replies: 13
Views: 510

Re: dzvents after update to version 4.97

Accessing a user variable in dzVents is done like this:

Code: Select all

domoticz.variables('myUserVar').value
No need to convert it so number if the variable is defined as such in the GUI.
by dannybloe
Tuesday 28 August 2018 15:31
Forum: dzVents
Topic: PIR + light: how to go to previous state
Replies: 9
Views: 491

Re: PIR + light: how to go to previous state

Thanks!!! I will try it tomorrow. Today I tried a different approach, but faced an issue with cancelQueuedCommands. How should it work? I though that when I call device.cancelQueuedCommands() Then the whole queue for device "device" will be cleaned. But unfortunately it doesn't work this way. Is it...
by dannybloe
Tuesday 28 August 2018 15:27
Forum: Bugs and Problems
Topic: dzVents not working
Replies: 10
Views: 275

Re: dzVents not working

Have you tried a classic Lua script? Try to activate dzVents debug logging.
by dannybloe
Sunday 26 August 2018 11:38
Forum: dzVents
Topic: domoticz.time.minute exist?
Replies: 3
Views: 215

Re: domoticz.time.minute exist?

It should be

Code: Select all

domoticz.time.minutes
(plural). See the docs :-). Same as hours and seconds.
by dannybloe
Saturday 25 August 2018 17:42
Forum: Z-Wave
Topic: Looking for a reliable smoke detector
Replies: 14
Views: 622

Re: Looking for a reliable smoke detector

Egregius wrote:
Saturday 25 August 2018 16:57
I have 6 Fibaro 's and am very happy with them. You just need to use rechargeable batteries and replace them regularly.
It was never an issue of batteries. Out of the blue they went off without any obvious reason. Once a year wouldn't be a problem but twice in 2 months is not ok.
by dannybloe
Saturday 25 August 2018 11:06
Forum: Z-Wave
Topic: Looking for a reliable smoke detector
Replies: 14
Views: 622

Re: Looking for a reliable smoke detector

But it has to be zwave.
by dannybloe
Saturday 25 August 2018 10:58
Forum: Z-Wave
Topic: Looking for a reliable smoke detector
Replies: 14
Views: 622

Looking for a reliable smoke detector

Howdee folks, Currently I have 4 Fibaro smoke detectors in da house but I'm not happy with them as they keep generating false alarms. So I am looking for an alternative (zwave). So, I am particularly interested in how reliable they are. No false alarms, no lost connection with the zwave network etc....
by dannybloe
Tuesday 07 August 2018 15:38
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 745

Re: high cpu when dzvents is enabled

Don't see anything weird.
by dannybloe
Tuesday 07 August 2018 13:13
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 745

Re: high cpu when dzvents is enabled

Ok, that's not excessive. So, you can enable debug logging in dzVents. Then, whenever dzVents gets triggered due to an event, you should see something in Domoticz log. Apart from the events you defined in your on-sections in your three scripts, do you see more events in the log? Note that debug logg...
by dannybloe
Tuesday 07 August 2018 10:29
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 745

Re: high cpu when dzvents is enabled

How many active devices do you have in your Domoticz instance?
by dannybloe
Monday 06 August 2018 19:17
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 745

Re: high cpu when dzvents is enabled

Do you have any script defined? If so, can you remove them all or disabled them if you created them in using the built-in editor? Also make sure you don't have dzVents running in debug mode (setting in the GUI).
by dannybloe
Sunday 05 August 2018 12:15
Forum: dzVents
Topic: Run script every min, but only when a switch is on.
Replies: 4
Views: 399

Re: Run script every min, but only when a switch is on.

It doesn't matter if you add some functionality to the on-section because domoticz only has a timer trigger that triggers every minute. So that's what dzVents gotta work with. All the checking for state of devices is done on the Lua side (in dzVents). Having said that... just make an every-minute ti...
by dannybloe
Thursday 02 August 2018 18:52
Forum: dzVents
Topic: dzVents temperature switch
Replies: 10
Views: 497

Re: dzVents temperature switch

Try to remove all the ( and ) in your if-statement.

And next time post the errors you get. That helps 😀
by dannybloe
Monday 30 July 2018 12:57
Forum: dzVents
Topic: dzVents meta-triggers
Replies: 2
Views: 233

Re: dzVents meta-triggers

Yes, that is what we are working on for 2.5.0. System events, hardware events etc.
by dannybloe
Sunday 29 July 2018 15:02
Forum: dzVents
Topic: Last device IDX
Replies: 12
Views: 594

Re: Last device IDX

Yup. I’d say create a Pull Request :p