Search found 116 matches

by Patricen
Monday 14 April 2025 19:36
Forum: dzVents
Topic: consumption monitoring / calcuation
Replies: 3
Views: 500

Re: consumption monitoring / calcuation

Excellent, this does the job!
by Patricen
Sunday 06 April 2025 16:49
Forum: dzVents
Topic: consumption monitoring / calcuation
Replies: 3
Views: 500

consumption monitoring / calcuation

I do have a flowmeter device that looks to be at detection limit, thus unstable. The device is a water counter that shows total water consumption readout and flow in l/min. Is it possible to read the meter value (total cubic meter reading) and associated sample times to compute consumption over time ...
by Patricen
Monday 31 March 2025 8:00
Forum: dzVents
Topic: Moving average usage
Replies: 6
Views: 1633

Re: Moving average usage

Hello all, As written above, it is working fine, except for low flows as the flowmeter device looks to be at detection limit, thus unstable. As @lost was saying, is it possible to read the meter value (instantaneous cubic meter reading) and associated sample times to compute consumption over time ...
by Patricen
Thursday 13 March 2025 21:18
Forum: dzVents
Topic: Moving average usage
Replies: 6
Views: 1633

Re: Moving average usage

Hello all, Thank you very much for your inputs, I managed using your examples, the final version that looks working fine is below and can be reused and improved of course. I had to add a virtual device "Water_Leak" as I didn't succeed to send a telegram notification using DzVents (if any clue ...
by Patricen
Sunday 09 March 2025 20:37
Forum: dzVents
Topic: Moving average usage
Replies: 6
Views: 1633

Re: Moving average usage

Thanks all,

I'll try this and keep you informed
by Patricen
Sunday 09 March 2025 18:58
Forum: dzVents
Topic: Moving average usage
Replies: 6
Views: 1633

Moving average usage

Hello, I would like to calculate moving average of a value, but can't succeed. The goal is to detect water leak depending on water consumption. I do have the following available values from water counter : number of liters used since midnight and instantaneous water flow. I think the last one is the ...
by Patricen
Tuesday 14 January 2025 20:42
Forum: Heating/cooling
Topic: MOES ZTRV-801 thermostat
Replies: 2
Views: 335

Re: MOES ZTRV-801 thermostat

waltervl wrote: Tuesday 14 January 2025 20:30 Check the zigbee2mqtt GitHub for tips...
Thanks !
by Patricen
Tuesday 14 January 2025 19:56
Forum: Heating/cooling
Topic: MOES ZTRV-801 thermostat
Replies: 2
Views: 335

MOES ZTRV-801 thermostat

Hello, I did purchased ZTRV-801 https://www.moestech.com/blogs/news/ztrv-801 thermostats that are working fine but... The refresh rate is really poor, it can take several hours to send data to the coordinator. The only way to refresh data is to send a command to the valve, the valve will then make ...
by Patricen
Monday 13 January 2025 21:23
Forum: Heating/cooling
Topic: Getting frequent temp updates zigbee2mqtt MOES radiator valve
Replies: 1
Views: 1026

Re: Getting frequent temp updates zigbee2mqtt MOES radiator valve

Hello,
I do face the same issue with a moes trv 801Z valve.
I do have also a brt100 from moes too that reports status frequently.
Is there a specific configuration ?

Thanks
by Patricen
Monday 26 August 2024 18:45
Forum: Bugs and Problems
Topic: Timer setting deactivated on scenes
Replies: 7
Views: 564

Re: Timer setting deactivated on scenes

Indeed, it looks like we do have the same way to change timerplan, using JSON that has not the same behaviour as if changing timerplan from parameters menu.
It looks like there's a bug
by Patricen
Monday 26 August 2024 7:59
Forum: Bugs and Problems
Topic: Timer setting deactivated on scenes
Replies: 7
Views: 564

Timer setting deactivated on scenes

Hello, I mentioned that when switching from timerplan something weird happens. Example : I do have a timed scene that runs when I'm using a timerplan "At home" This timer goes off when selected timerplan is set to "away" (normal behaviour). The issue is that when settling timerplan back to "At home ...
by Patricen
Friday 28 June 2024 19:32
Forum: Other questions and discussions
Topic: Best practices for Domoticz logfile?
Replies: 55
Views: 24564

Re: Best practices for Domoticz logfile?

Sorry, I did not mention, I realized.

I'll try to proceed to rotations, but limiting the log to 3MB would be sufficient, as it looks pretty complicated (for me) to run logrotate.
by Patricen
Friday 28 June 2024 9:18
Forum: Other questions and discussions
Topic: Best practices for Domoticz logfile?
Replies: 55
Views: 24564

Re: Best practices for Domoticz logfile?

Thanks!
I mentioned that this file history is useless for me, is there a parameter to limit domoticz.log size?
by Patricen
Thursday 27 June 2024 20:17
Forum: Other questions and discussions
Topic: Best practices for Domoticz logfile?
Replies: 55
Views: 24564

Re: Best practices for Domoticz logfile?

Hello, My domoticz.log file reached 18GB, good performance indeed! but the 64GB drive of my rpi is now full. I would like to shrink it proceeding to a rotating log file over time week, month, year, tbd. I don't need any ram drive as I'm using a SSD on a raspberry pi. I'm a linux dummy, so I then ...
by Patricen
Wednesday 29 May 2024 18:24
Forum: dzVents
Topic: Stable waterflow detection to detect a leak
Replies: 8
Views: 972

Re: Stable waterflow detection to detect a leak

Thanks, I did change the dz.devices name but got the following error: 2024-05-29 18:17:00.294 Error: dzVents: Error: (3.1.8) WFA: Item data is not a number type. Type is nil 2024-05-29 18:17:00.294 Error: dzVents: Error: (3.1.8) WFA: An error occurred when calling event handler leak 2024-05-29 18:17 ...
by Patricen
Monday 27 May 2024 19:23
Forum: dzVents
Topic: Stable waterflow detection to detect a leak
Replies: 8
Views: 972

Re: Stable waterflow detection to detect a leak

Hello, No success with history, I then tried avgSince but it is not working either. 2024-05-27 19:20:06.933 Error: dzVents: Error: (3.1.8) water leak: .../pi/domoticz/scripts/dzVents/generated_scripts/Fuite.lua:25: attempt to call a nil value (field 'avgSince') Can somebody help me? Thanks return ...
by Patricen
Sunday 26 May 2024 21:57
Forum: dzVents
Topic: Stable waterflow detection to detect a leak
Replies: 8
Views: 972

Re: Stable waterflow detection to detect a leak

You could put every minute the waterflow value in a data set like: data = { waterflow = { history = true, maxItems = 20 } }, then when the max is reached you could compare the last value with the average. If the difference between those 2 value is less then x you have a constant flow and could act ...
by Patricen
Sunday 26 May 2024 10:59
Forum: dzVents
Topic: Stable waterflow detection to detect a leak
Replies: 8
Views: 972

Re: Stable waterflow detection to detect a leak

The metering is issued from an ECO-Devices, screenshot below.
Screenshot_20240526-105744.png
Screenshot_20240526-105744.png (295.53 KiB) Viewed 958 times
Screenshot_20240526-105429.png
Screenshot_20240526-105429.png (333.34 KiB) Viewed 958 times
by Patricen
Sunday 26 May 2024 9:59
Forum: dzVents
Topic: Stable waterflow detection to detect a leak
Replies: 8
Views: 972

Stable waterflow detection to detect a leak

Hello, I installed a sensor on my water meter, I can then detect water consumption and flow. When a stable positive flow is detected, this is really suspicious and looks like a water leak. How is it possible to code with DzVents something like if the waterflow is stable and not equal to zero for ...
by Patricen
Friday 24 May 2024 19:02
Forum: Other questions and discussions
Topic: Device configuration
Replies: 6
Views: 761

Re: Device configuration

Thanks for your help,

I managed doing this as I'm controlling an external contactor with NO and NC contacts that I wired to the NC contact of the zigbee module. This does the job but I was looking for a smarter solution.