I prefer to use Blocky events as long as what I want to acgieve is do-able in blocky....
This weekend I noticed some unexpected behaviour:
I have a virtual switch that (when Ón, used to register if there is anyone 'in the room') should enable switching on/off a heater based on a Thermostat Setpoint.
The switch that controls the heater is a Sonoff/Tasmota switch connected to Domoticz via MQTT
Nothing soecial I think.
I have the blocky triggered on 'Device'
But as some of the devices in my setup (at least a Mitsubishi AircoWithMe ) sends a status update more than once a minute (with all variables) my Blocky seems to be triggered so much (more than once a second!!) that the flow between MQTT and Domoticz get clogged so much that it takes quite a while before ANY command via MQTT is actually effectuated. Also, my logfiles become sluggish . . .
When I disdable my blocky event after some time everything came back to a normal state and command effectuation was back to nomal again.
Probably limiting the frequency of status updates of the Airco should be limited, but I do not see how to do that.
But can´t I configure stuff in a way that my event is only triggered by specific devices (in my case a temperature change and/or the virtual switch) status change (instead of 'a status change of any device')?[
Triggered Blocky events clogg system Topic is solved
Moderator: leecollings
-
- Posts: 44
- Joined: Tuesday 23 June 2015 23:06
- Target OS: Linux
- Domoticz version: 2023.2
- Location: NL + SE
- Contact:
Triggered Blocky events clogg system
Last edited by joostvanderlinde on Monday 18 December 2023 15:13, edited 1 time in total.
Domoticz on BPI-M2-Pro (compiled on Ubuntu 22.04) and RPI (binary on Raspian 10)
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Triggerd Blocky events clogg system
If you want to keep using blockly you have to slow down device updates from other hardware. Normally there are polling time parameters in the hardware setup.
Device triggers on specific devices is implemented in DzVents.
Device triggers on specific devices is implemented in DzVents.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 44
- Joined: Tuesday 23 June 2015 23:06
- Target OS: Linux
- Domoticz version: 2023.2
- Location: NL + SE
- Contact:
Re: Triggered Blocky events clogg system
Thx for clarifying and advice !
I think I just have to drop my general approach here and do more in dzVents because it simply is capable of doing more things and doing thins better....
I think I just have to drop my general approach here and do more in dzVents because it simply is capable of doing more things and doing thins better....
Domoticz on BPI-M2-Pro (compiled on Ubuntu 22.04) and RPI (binary on Raspian 10)
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
-
- Posts: 300
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: Triggered Blocky events clogg system
Dzvents is much better but would suffer the same issue with that hardware as it is. What I do in a situation when you cannot change the polling time of the hardware (for example at one point my APC UPS hardware had this issue) , is to create a much smaller streamlined script that checks for changes and then only triggers the main script if there is a change.joostvanderlinde wrote: ↑Monday 18 December 2023 15:16 Thx for clarifying and advice !
I think I just have to drop my general approach here and do more in dzVents because it simply is capable of doing more things and doing thins better....
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
Who is online
Users browsing this forum: No registered users and 0 guests