Search found 5 matches

by klodek12
Tuesday 04 May 2021 0:23
Forum: Blockly
Topic: Need help with timer switch on utility counter
Replies: 8
Views: 1121

Re: Need help with timer switch on utility counter

Really... wow. It's working now.

Thank you. I lost half day today to figure out what's going on :)
by klodek12
Monday 03 May 2021 22:18
Forum: Blockly
Topic: Need help with timer switch on utility counter
Replies: 8
Views: 1121

Re: Need help with timer switch on utility counter

Thank you for your feedback, I will think about it. From the other hand could you tell me why this blockly code below doesn't work? https://iv.pl/images/6d9c6345c44ab90a7db38b26b8d36912.png When Selector called "Zdalne" is on "Level1" it should activate my scene "RoletyDół", but nothing changes. ...
by klodek12
Monday 03 May 2021 13:54
Forum: Blockly
Topic: Need help with timer switch on utility counter
Replies: 8
Views: 1121

Re: Need help with timer switch on utility counter

Yes, you are right. My simple blockly logic that I shared was just example. I'd like to get this finall solution: I switch ON "Output5" and timer is counting how long it is ON. When timer reaches for example 10 seconds it should be switched OFF. That's my goal. You can say that I can use this ...
by klodek12
Monday 03 May 2021 13:11
Forum: Blockly
Topic: Need help with timer switch on utility counter
Replies: 8
Views: 1121

Re: Need help with timer switch on utility counter

I'm using this code to count time. The bad thing in this code below is fact that timer is updated only when switch goes from ON to OFF. --getUptime.lua local frequency = 30 -- set to desired frequency (1,2,3,4,5,6,10,12,15,20,30) -- lower number ==>> more accurate reporting local mySwitch = 'Output5 ...
by klodek12
Sunday 02 May 2021 21:28
Forum: Blockly
Topic: Need help with timer switch on utility counter
Replies: 8
Views: 1121

Need help with timer switch on utility counter

Hello Guys, I need help with some easy blockly logic. I use script to count how much time the switch is ON ( https://www.domoticz.com/forum/viewtopic.php?f=14&t=23713&start=20 ) This timer is working good: https://i.imgur.com/RPojJBU.png Now, I would like to turn off another switch depends of value ...