Search found 6 matches

by Tomtommert
Tuesday 28 November 2017 9:32
Forum: LUA
Topic: need help for script - FAN Humidity Time
Replies: 2
Views: 773

Re: need help for script - FAN Humidity Time

Hi, I've got a similar setup, but I'm using only one setting of my fan, high. Check the code below, i did not write this myselfe, found it on the interwebs somehwere.... Hope it helps, works perfectly for me. :) --[[ This script controls the humidity in a typical bathroom setting by detecting ...
by Tomtommert
Tuesday 28 November 2017 9:21
Forum: dzVents
Topic: Simple(?) Lights on when dark script, Please help!
Replies: 7
Views: 2093

Re: Simple(?) Lights on when dark script, Please help!

Tnx! That's a really nice script, except when I use this script I will not be able to turn my lights off at night. When I turn off the lights, the script sees it's dark outside and turns the lights back on. It would be perfect if after I turn off the lights manually the script waits until "X" time ...
by Tomtommert
Wednesday 08 November 2017 9:22
Forum: dzVents
Topic: Simple(?) Lights on when dark script, Please help!
Replies: 7
Views: 2093

Re: Simple(?) Lights on when dark script, Please help!

Hi, Thanks, Before changing anything and after posting the logs this morning I updated to the last (beta) version of Domoticz. Since then the script is working as intended somehow.... I now added your debug information to the script for if it brakes again. Since this was not the first time it ...
by Tomtommert
Tuesday 07 November 2017 20:47
Forum: dzVents
Topic: Simple(?) Lights on when dark script, Please help!
Replies: 7
Views: 2093

Re: Simple(?) Lights on when dark script, Please help!

Hi BakSeeDaa, Thanks for the reply. The SchemerVar variable is currently a String value (have tried the integer also). The issue is indeed the code inside the IF statement does not seem to run. Even the log part cannot be seen in the Log files, but the script is started according to the log. (could ...
by Tomtommert
Tuesday 07 November 2017 16:37
Forum: dzVents
Topic: Simple(?) Lights on when dark script, Please help!
Replies: 7
Views: 2093

Simple(?) Lights on when dark script, Please help!

Hi All, I'm pretty new to scripting and LUA seems to be going a bit above my knowledge. This is why, when I saw the DZVents video I was really happy how simple it seemed. Before long I had my lights turning on when it got dark and off at a specific time. Somehow my script suddenly stopped working ...
by Tomtommert
Tuesday 07 November 2017 16:28
Forum: LUA
Topic: Simple Lights on when dark script, Please help!
Replies: 1
Views: 497

Simple Lights on when dark script, Please help!

Hi All, I'm pretty new to scripting and LUA seems to be going a bit above my knowledge. This is why, when I saw the DZVents video I was really happy how simple it seemed. Before long I had my lights turning on when it got dark and off at a specific time. Somehow my script suddenly stopped working ...