Search found 7 matches
- Friday 30 October 2020 23:39
- Forum: dzVents
- Topic: [Solved] Need some help with a script [Solved]
- Replies: 1
- Views: 454
Re: Need some help with a script [Solved]
I don't know what the initial problem was, but... at some point the counter passed 2 (which should never happen) and continued up to infinity
Adding a line which reinitialized it after passing 2 solved the case.
- Friday 30 October 2020 20:48
- Forum: dzVents
- Topic: [Solved] Need some help with a script [Solved]
- Replies: 1
- Views: 454
[Solved] Need some help with a script [Solved]
Hello,
I need some help in finding a mistake in this script:
return
{
on =
{
devices =
{
"Bufor - GÓRA",
},
},
data =
{
count =
{
initial = 0,
},
temp =
{
initial = 0,
},
},
logging =
{
level = domoticz.LOG_DEBUG,
marker = 'nagrzewaniePiecem',
},
execute ...
I need some help in finding a mistake in this script:
return
{
on =
{
devices =
{
"Bufor - GÓRA",
},
},
data =
{
count =
{
initial = 0,
},
temp =
{
initial = 0,
},
},
logging =
{
level = domoticz.LOG_DEBUG,
marker = 'nagrzewaniePiecem',
},
execute ...
- Wednesday 26 February 2020 11:40
- Forum: dzVents
- Topic: Need help in diagnosing a script [Solved]
- Replies: 2
- Views: 623
- Wednesday 26 February 2020 9:18
- Forum: dzVents
- Topic: Need help in diagnosing a script [Solved]
- Replies: 2
- Views: 623
Need help in diagnosing a script [Solved]
Hello,
I need some help in diagnosing a script.
In my setup when a pump is turned on, waterflow readings are being sent to Domoticz every second. They are fed to a waterflow sensor and a variable (as I could not get dzVents or Blockly to work with the sensor). I need a script to check the ...
I need some help in diagnosing a script.
In my setup when a pump is turned on, waterflow readings are being sent to Domoticz every second. They are fed to a waterflow sensor and a variable (as I could not get dzVents or Blockly to work with the sensor). I need a script to check the ...
- Sunday 14 July 2019 8:43
- Forum: dzVents
- Topic: Timer trigger depending on device state. [SOLVED]
- Replies: 2
- Views: 526
Re: Timer trigger depending on device state. [SOLVED]
Yep, that does it.
Thanks!
Thanks!
- Sunday 14 July 2019 7:27
- Forum: dzVents
- Topic: Timer trigger depending on device state. [SOLVED]
- Replies: 2
- Views: 526
Timer trigger depending on device state. [SOLVED]
I need to make an event where if a certain device is on for at least 15 consecutive minutes another device will be triggered. I couldn't find a way to do it with just devices. I made a timer which runs every minute and if device 1 is still on, +1 is added to a counter. If it's off the counter resets ...
- Thursday 20 June 2019 8:06
- Forum: Blockly
- Topic: Cannot get a simple blockly to run
- Replies: 0
- Views: 979
Cannot get a simple blockly to run
I just can't get a very simple blockly to work...
It should trigger an alarm switch if 10 seconds after a pump is started its waterflow is below 20 l/min. Waterflow is stored as a variable since it didn't work with waterflow sensor.
And if pump is "On", 10s timer variable is set to "1" by another ...
It should trigger an alarm switch if 10 seconds after a pump is started its waterflow is below 20 l/min. Waterflow is stored as a variable since it didn't work with waterflow sensor.
And if pump is "On", 10s timer variable is set to "1" by another ...