Waaren,
Thanks that was the solution...
I used an old example taken from the internet
BR,
Marc
Search found 19 matches
- Saturday 15 June 2019 10:48
- Forum: dzVents
- Topic: Local variable not recognized? [Solved]
- Replies: 2
- Views: 2288
- Saturday 15 June 2019 8:30
- Forum: dzVents
- Topic: Local variable not recognized? [Solved]
- Replies: 2
- Views: 2288
Local variable not recognized? [Solved]
All I try to use the within_min() command and use a local variable at the beginning of the script. But there is always this log that the Value is "a nil value" it seems the local variable is not recognized. Someone any idea how to solve this? See script and log below. local RANDOM_DELAY_MINS = 20 ...
- Monday 25 March 2019 12:25
- Forum: Utility
- Topic: roller shutter switch
- Replies: 3
- Views: 2164
- Monday 25 March 2019 10:31
- Forum: Utility
- Topic: roller shutter switch
- Replies: 3
- Views: 2164
roller shutter switch
Hi All, I was searching for a roller shutter switch on aliexpress. I prefer one which has also buttons to manually open and close the roller shutter (for the ladies in the house ;) ) But I can not find anything anyone a suggestion. If it is from somewhere else not a problem not to expensive it is ...
- Thursday 15 November 2018 9:36
- Forum: dzVents
- Topic: Problems at specific time
- Replies: 2
- Views: 310
Problems at specific time
All, Sometime ago my script(s) stopped working at 23:00 at nighttime. The entire script seems to work but the 23:00 at night time is not switching off. And there is no logentry anymore. It started in 4.9700 and I upgrade to 4.10199 but it is still not working. The state of "$Hulp-Laat-Thuis" is off ...
- Tuesday 24 April 2018 17:27
- Forum: dzVents
- Topic: Sunset time is "hanging"
- Replies: 12
- Views: 1519
- Tuesday 24 April 2018 13:55
- Forum: dzVents
- Topic: Sunset time is "hanging"
- Replies: 12
- Views: 1519
- Monday 23 April 2018 16:41
- Forum: dzVents
- Topic: Sunset time is "hanging"
- Replies: 12
- Views: 1519
Re: Sunset time is "hanging"
Here is also some logging, I will add the logging of tonight also that will be definitely also at 20:10, but according to my dashboard sunset is at 20:44 tonight. 2018-04-21 20:10:00.392 dzVents: Info: ------ Start internal script: DZ_SfeerVerlichtingBinnen:, trigger: at 15 minutes before sunset ...
- Monday 23 April 2018 16:29
- Forum: dzVents
- Topic: Sunset time is "hanging"
- Replies: 12
- Views: 1519
Re: Sunset time is "hanging"
Thanks for the reply here is the script return { on = { timer = { 'at nighttime at 07:00 on mon, tue, wed, thu, fri', 'at nighttime at 08:20 on sat, sun', 'at sunrise', 'at sunset', 'at 15 minutes before sunset', 'at 22:00 at nighttime on mon, tue, wed, thu, fri, sat, sun', 'at 23:00 at nighttime on ...
- Thursday 19 April 2018 16:37
- Forum: dzVents
- Topic: Sunset time is "hanging"
- Replies: 12
- Views: 1519
Sunset time is "hanging"
All, I have a dzvent script that is trigged at sunset and 15 minutes before sunset. But is seems that after the daylight saving suddenly the sunset is "fixed" it is always 20:11 even the sunset is already later but the time does not change. If I restart the Domoticz proces it will take that day the ...
- Monday 05 March 2018 14:53
- Forum: Utility
- Topic: High Disk Load
- Replies: 0
- Views: 959
High Disk Load
All, The moment I connect my smartmeter to domoticz my disk load on the domoticz machine (win10 PC) goes skyhigh to 100% it is almost impossible to use the domoticz GUI and I have to deactivate the meter to get the disk load back to normal again (around 1%). Any one any idea what could be the cause ...
- Friday 09 February 2018 13:32
- Forum: dzVents
- Topic: time later then sunrise
- Replies: 2
- Views: 477
time later then sunrise
How can I compare in dzVents if present time is later then sunrise? I want to use this in an if statement.
I tried already several options but nothing seems to work.
I tried already several options but nothing seems to work.
- Friday 09 February 2018 10:33
- Forum: dzVents
- Topic: dzVents if and elseif not working.
- Replies: 2
- Views: 2173
Re: dVents if and elseif not working.
Thanks that solved the problem!
- Friday 09 February 2018 9:50
- Forum: dzVents
- Topic: dzVents if and elseif not working.
- Replies: 2
- Views: 2173
dzVents if and elseif not working.
Who can help me I am just a beginner in programming in dzVents I try to switch on two groups if they are not switched in yet with an extra switch. Added some log rules to show if the script passes these phrases but there is nothing in the logging and the lamps are not switched on. See code and ...
- Thursday 25 January 2018 9:24
- Forum: LUA
- Topic: Convert to LUA, LUA Beginner
- Replies: 3
- Views: 1165
Convert to LUA, LUA Beginner
All, I tried already a various number of options, surfed the forum but I always end up with not finding the correct information. I try to learn LUA scripting so first of all I search for a beginners explanation of LUA scripting I am familiar with programming. But not with all the parameters and ...
- Monday 15 January 2018 13:13
- Forum: Blockly
- Topic: Repeat x times
- Replies: 1
- Views: 584
Repeat x times
Any one any idea were to find this in blocky:
https://blockly-demo.appspot.com/static ... index.html
Thanks,
Marc
It is shown in the blocky examples on this page:https://blockly-demo.appspot.com/static ... index.html
Thanks,
Marc
- Monday 15 January 2018 11:41
- Forum: Blockly
- Topic: Switch On/Off every minute with Blocky
- Replies: 6
- Views: 2180
Re: Switch On/Off every minute with Blocky
Thanks for your reactions, I am only a beginner so two blocky events? Could you please make an example. I am a bit confused with the else statement, if I understand it correctly the "else" is carried out even if the "if" is matched? It is not a "normal" "if then else" statement? Why not add it with ...
- Monday 15 January 2018 11:13
- Forum: Blockly
- Topic: Switch On/Off every minute with Blocky
- Replies: 6
- Views: 2180
Re: Switch On/Off every minute with Blocky
Okay, But how should I switch off if it is outside the timewindow. I thought I could achieve the switch off out side the time window with the "else if" if it is not in the time window there is an else and this is switch off. If it is in the time window I thought it would not use the "else if" or am ...
- Monday 15 January 2018 10:30
- Forum: Blockly
- Topic: Switch On/Off every minute with Blocky
- Replies: 6
- Views: 2180
Switch On/Off every minute with Blocky
All, I searched already the forum but could not find my answer. If it is already there please redirect me, no problem otherwise here is my problem. I created a blocky script to sitch on/off light in the morning and the evening. But it is switched on and a few seconds later off. During the period it ...