Search found 34 matches

by bitzy
Friday 10 January 2025 0:47
Forum: dzVents
Topic: Calculate duty cycle
Replies: 8
Views: 723

Re: Calculate duty cycle

what type of boiler are u talking about? and u mean "Duty Cycle (%)=( Active Run Time / Total Time)*100"? u need a total run time on a given time period or u want to see the time it was On between a Off/On/Off cycle?
what do u want to use this for?
by bitzy
Thursday 09 January 2025 20:36
Forum: Other questions and discussions
Topic: lambda probe (o2 sensor)
Replies: 4
Views: 451

Re: lambda probe (o2 sensor)

nobody knows how to read an O2 sensor with raspberry?
by bitzy
Thursday 09 January 2025 20:34
Forum: dzVents
Topic: 3 point motorized mixing valve [Solved]
Replies: 17
Views: 4147

Re: 3 point motorized mixing valve [Solved]

i've repaired the broken rounding function in global_data. now it works like i intended (i think) :D
by bitzy
Friday 27 December 2024 16:25
Forum: Other questions and discussions
Topic: lambda probe (o2 sensor)
Replies: 4
Views: 451

lambda probe (o2 sensor)

i have a gasification wood boiler and i will like to attach an O2 sensor to it to measure the flue gases and to use the raspberry pi to control the primary and secondary air so that the burning of the wood to be the most efficient i can make it. now the primary and secondary air are set (by feeling ...
by bitzy
Wednesday 18 December 2024 15:12
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 659

Re: mirror switches unnecessarily complicated :D

i can't make your idea work and any attempt of trying to use helpOnOff as a trigger for the scripts ended in failure. the logic is needed to making this work escapes me for the moment. nothing i've tried doesn't seems to make it go well. at some point i thought i made it work, the action was ...
by bitzy
Wednesday 18 December 2024 9:20
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 659

Re: mirror switches unnecessarily complicated :D

sometime i need a little bit of time for the physical contacts of the relays that are controlled from domoticz to move since the physical movement is not so fast as a command on a computer. or for example i have an actuator that his motor can be moved in both ways. if it moves in 1 way and i give ...
by bitzy
Monday 16 December 2024 18:06
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 659

Re: mirror switches unnecessarily complicated :D

the real switches are hidden on the normal use. i need them on the user that is allowed (me :D) to test on them, work on them, change on them, work on them, change on them, test on them ... that is why protect them with a password will be useless or a pain in the brain. can u develop a little on the ...
by bitzy
Monday 16 December 2024 14:59
Forum: dzVents
Topic: mirror switches unnecessarily complicated :D
Replies: 9
Views: 659

mirror switches unnecessarily complicated :D

hello everyone. i've made myself a little script that will make 2 switches mirror each other, no matter which one i push and in what state it is, the other one will mirror. (not like the slave device for a switch). so let say i have a switch that will control some real device. i want to activate ...
by bitzy
Thursday 28 March 2024 15:13
Forum: Temperature and Weather
Topic: DS18B20 temperature sensore calibration
Replies: 11
Views: 2607

Re: DS18B20 temperature sensore calibration

i tryied to calibrate them with the help of that button.i did like this: put all the sensores together in a glass with ice and water and adjusted them all to show the same value. all great. then i remove them from the water and let them all side by side to read the room temperature and the ...
by bitzy
Tuesday 23 January 2024 14:14
Forum: dzVents
Topic: how can i get the value of a timer into a variable?
Replies: 7
Views: 765

Re: how can i get the value of a timer into a variable?

It does not work because you probably don't have execute=function(domoticz,timer) in your script but something else for example "item" instead of "timer". If you use "item" then you should also use "item.trigger". It has to match. u are right :D. is working now
by bitzy
Tuesday 23 January 2024 7:04
Forum: dzVents
Topic: how can i get the value of a timer into a variable?
Replies: 7
Views: 765

Re: how can i get the value of a timer into a variable?

You could do it the other way around: local dt = time_Of_The_Timer timer = { 'every dt minutes' } was so easy, i feel a little bit ashamed now :oops: :D for me worked: dt = 2 timer = {'every '..dt..' minutes'} and also the Kedi's version. the local dt=domoticz.utils.stringSplit(timer.trigger," ")[2 ...
by bitzy
Sunday 21 January 2024 12:19
Forum: dzVents
Topic: how can i get the value of a timer into a variable?
Replies: 7
Views: 765

how can i get the value of a timer into a variable?

english is not primary language so i'm sure the title is not suggestive and the explanation will be a struggle :D i want to take the value that i set for a timer into a variable inside the script, something like: timer = { 'every x minutes' } ... local dt = time_Of_The_Timer -- (x). i know i can do ...
by bitzy
Sunday 21 January 2024 11:37
Forum: dzVents
Topic: Switch on for 1 minute and off for 10 minutes
Replies: 9
Views: 1054

Re: Switch on for 1 minute and off for 10 minutes

did u solve your problem? if u use a 10 min trigger u will miss every 1 min that the switch is on, like previously said, so the time between On cycles will only be 9 min. if u necessarily need a 10 min cycle, here's the simplest idea i can came up with: return { on = { timer = { 'every 1 minutes ...
by bitzy
Tuesday 26 December 2023 10:44
Forum: dzVents
Topic: 3 point motorized mixing valve [Solved]
Replies: 17
Views: 4147

Re: 3 point motorized mixing valve [Solved]

this is my variant of a script that will set the flow temperature depending on the exterior temperature and the inside desired temperature: -- This script will set the flow temperature of a heating system based on the external temperature and the -- internal temperature of the room.This is done with ...
by bitzy
Friday 03 November 2023 20:35
Forum: dzVents
Topic: 3 point motorized mixing valve [Solved]
Replies: 17
Views: 4147

Re: 3 point motorized mixing valve [Solved]

i also made a PID algorithm to keep a constant temperature for who want it. return { on = { timer = { 'every 2 minutes' }, -- Triggers the script every 1 minute devices = { -- Triggers when the listed devices or variables change -- 'Auto_TempAdjustment', -- Device 'Auto_TempAdjustment' -- 'Setare ...
by bitzy
Friday 03 November 2023 20:06
Forum: dzVents
Topic: increase or decrease of temperature
Replies: 15
Views: 2442

Re: increase or decrease of temperature

can someone explain how the trend is set in domoticz? after how many readings is the trend set? or is set after a time and the value of the temperature? how dose domoticz set the trend for a sensore temperature?
i have a sensore that is updated every 10 seconds and the trend is changing very slow.
by bitzy
Saturday 21 October 2023 19:24
Forum: dzVents
Topic: delay, pause, sleep script for xx seconds. how to?
Replies: 10
Views: 1985

Re: delay, pause, sleep script for xx seconds. how to?

none of this is helpful. this is the full picture: i have a script that run every 2 minute (or 1 min, or 3, 10 ..) to control an actuator witch move a mixing valve to keep a constant temperature when a pump switch is on and a auto-manual selector is in auto state. when i turn off one of those 2, the ...
by bitzy
Wednesday 18 October 2023 19:21
Forum: dzVents
Topic: delay, pause, sleep script for xx seconds. how to?
Replies: 10
Views: 1985

delay, pause, sleep script for xx seconds. how to?

i need to pause or sleep or delay somehow a script for 120 seconds. someone can help me telling me how to do it? i need a switch to turn on , a variable to get value 'true', then i need the script to wait for 120 seconds for the physical action to take place, then the var to take the 'false' value ...
by bitzy
Tuesday 17 October 2023 21:04
Forum: dzVents
Topic: 3 point motorized mixing valve [Solved]
Replies: 17
Views: 4147

Re: 3 point motorized mixing valve [Solved]

keep in mind that u may need to modify this part for your needs and the system u have: -- Check temperature difference and perform valve adjustments if diff >= 30 then moveValveDown(valvePosition, move_down, 100) elseif diff < 30 and diff >= 20 then moveValveDown(valvePosition, move_down, 80) elseif ...
by bitzy
Monday 16 October 2023 19:58
Forum: dzVents
Topic: 3 point motorized mixing valve [Solved]
Replies: 17
Views: 4147

Re: 3 point motorized mixing valve [Solved]

The same script to keep a constant flow temperature, a little cleaner and easier to follow and modify: return { on = { timer = { 'every 2 minutes' }, -- Triggers the script every 1 minute devices = { 'Auto_TempAdjustment', -- Device 'Selector to switch between 'Auto' and 'Manual' for the temperature ...