@Andyf66,
I like your idea. I think it could be further simplified to something like:
on = {
devices = {
'Stairs Motion'
}
},
execute = function(dz)
-- Must be the motion sensor...
domoticz.runInMins(5, function(dz)
-- Execute my 5 minute tasks
)
domoticz.runInMins(10, function(dz ...
Search found 8 matches
- Saturday 30 June 2018 15:19
- Forum: dzVents
- Topic: 'General purpose' timers
- Replies: 22
- Views: 5701
- Saturday 24 February 2018 1:22
- Forum: Suggestions
- Topic: Make blockly Else if to an actual else if
- Replies: 28
- Views: 12308
Re: Make blockly Else if to an actual else if
Yeah, I spoke too soon. When m_events is filled from the database for Blockly events, it just remembers a set of condition/action pairs and doesn't remember which Blockly each pair came from.
For example, if I create this Blockly (call it A):
1. condition: temp < 25
action: .....
2. condition ...
For example, if I create this Blockly (call it A):
1. condition: temp < 25
action: .....
2. condition ...
- Friday 23 February 2018 5:43
- Forum: Suggestions
- Topic: Make blockly Else if to an actual else if
- Replies: 28
- Views: 12308
Re: Make blockly Else if to an actual else if
It's a pretty simple change. There are four calls to parseBlocklyActions() in CEventSystem::EvaluateBlockly(). Change all four the same way:
Change:
to:
Change:
Code: Select all
parseBlocklyActions(it->Actions, it->Name, it->ID);
Code: Select all
parseBlocklyActions(it->Actions, it->Name, it->ID);
break;
- Saturday 03 February 2018 5:47
- Forum: Other questions and discussions
- Topic: Usage of timer plans
- Replies: 1
- Views: 327
Usage of timer plans
Does anyone use timer plans for anything other than modes such as home, away, night, etc?
- Tuesday 30 January 2018 16:17
- Forum: Suggestions
- Topic: New Ideas To Excel Domoticz on SmartHome Market...
- Replies: 4
- Views: 1070
Re: New Ideas To Excel Domoticz on SmartHome Market...
I'm curious about this. Can you give a few examples?... however the move from openhab 1 to 2 made everything more complex instead of making it more user friendly.
- Monday 20 February 2017 16:31
- Forum: Suggestions
- Topic: Question for users of passcodes
- Replies: 0
- Views: 684
Question for users of passcodes
I would like to get feedback from users of the passcode feature on a proposed change.
Let's say you were able to configure a user's access to devices individually. For example, you could create a user with "User" permissions, but give the user only "Viewer" access to certain switches (and "User ...
Let's say you were able to configure a user's access to devices individually. For example, you could create a user with "User" permissions, but give the user only "Viewer" access to certain switches (and "User ...
- Monday 29 February 2016 1:46
- Forum: Suggestions
- Topic: Move edit, timers, and notifications to device configuration
- Replies: 2
- Views: 899
Move edit, timers, and notifications to device configuration
There are actually many more setup options on the normal device pages than there are in device setup. The device pages have edit settings (depending on device type, there are a lot of options in here), timers, and notifications. The device setup page has toggle used/unused, rename, and delete. In ...
- Wednesday 27 January 2016 3:41
- Forum: Suggestions
- Topic: Changes I'm working on and zwave clocks
- Replies: 1
- Views: 633
Changes I'm working on and zwave clocks
I'm currently working on extensive refactoring and usability improvements to Domoticz, and I will be starting discussions about a variety of topics to help guide the changes I'm making.
First question is for users with zwave devices with a clock (only example I know of is thermostats). Domoticz ...
First question is for users with zwave devices with a clock (only example I know of is thermostats). Domoticz ...