Search found 11 matches

by Mrtn83
Friday 20 November 2020 19:49
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Re: Turn on lights at 7.00 unless the sun has risen [Solved]

Thank you very much!
by Mrtn83
Thursday 19 November 2020 16:25
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Re: Turn on lights at 7.00 unless the sun has risen [Solved]

My superpowers amaze me to from time to time :-). Thank you very much for the explanation. No Midwinter where we live so that won't be an issue. Am I correct that if I would change local d = dz.groups('Buitenverlichting') to local light = domoticz.devices('Buitenlamp achter') only the light ...
by Mrtn83
Thursday 19 November 2020 14:12
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Re: Turn on lights at 7.00 unless the sun has risen [Solved]

Great, thank you very much. For future entertainment. If I would change for instance sunrise to 12:00 would that work?
That way I could use the base of this script for other autimations.
by Mrtn83
Thursday 19 November 2020 10:56
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Re: Turn on lights at 7.00 unless the sun has risen [Solved]

It works perfectly. That makes me want te do more. Would this script work to turn the ligts of at sunrise? return { on = { timer = { 'at 07:00', }, Off = { timer = { 'at sunrise', }, }, execute = function(dz) if dz.time.matchesRule('between 00:00 and sunrise') then local d = dz.groups ...
by Mrtn83
Monday 09 November 2020 22:10
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Re: Turn on lights at 7.00 unless the sun has risen [Solved]

Thank you very much. I will give it a try!
by Mrtn83
Monday 09 November 2020 19:13
Forum: dzVents
Topic: Turn on lights at 7.00 unless the sun has risen [Solved]
Replies: 9
Views: 1129

Turn on lights at 7.00 unless the sun has risen [Solved]

Hello, I'am new to the world of dzVents and with some solutions I found on this forum I have made my own little script. The goal is to turn on the outside lights at 7.00 unless the sun is already up. I have made a group with al the lights that I want to turn on named Buitenverlichting. Could ...
by Mrtn83
Monday 15 June 2020 8:54
Forum: Other questions and discussions
Topic: Backup Domoticz
Replies: 4
Views: 569

Re: Backup Domoticz

Took me while to get back on to this subject. But you're suggestion fixed the problem.
Thanks!
by Mrtn83
Monday 27 April 2020 22:25
Forum: Other questions and discussions
Topic: Backup Domoticz
Replies: 4
Views: 569

Re: Backup Domoticz

I used what was in the wiki:

/usr/bin/curl -s http://$DOMO_IP:$DOMO_PORT/backupdatabase.php > /tmp/$BACKUPFILE
by Mrtn83
Saturday 25 April 2020 23:24
Forum: Other questions and discussions
Topic: Backup Domoticz
Replies: 4
Views: 569

Backup Domoticz

Hello, I have created a script with the wiki ( https://www.domoticz.com/wiki/Daily_backup_to_external_hdd ) to backup the database and the scripts to my NAS. It al works great besides the fact that the database file only contains the message unauthorized. If I FTP to the domoticz backup folder ...
by Mrtn83
Saturday 26 October 2019 15:05
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 423868

Re: Blockly examples

Only on or off, maybe a temperature. I would like to use the automation year round. During the summer the heater is off and shoud stay off.
But during the winter the heater should resume what it is doing.
by Mrtn83
Friday 25 October 2019 22:49
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 423868

Re: Blockly examples

I am just getting started using blockly and i need some help. I want to turn-off the heater when the door is open for longer than 30 seconds. If the door is closed I would like the heater to return to the state that it was in before opening the door. There is an option On / Off but no resume. What ...