DzVents scripts are not triggered when a device receives the same value as before

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
tomes
Posts: 35
Joined: Saturday 07 July 2018 22:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

DzVents scripts are not triggered when a device receives the same value as before

Post by tomes »

After upgrading to Domoticz 2025.2 (build 17400), DzVents scripts are not triggered when a device receives the same value as before.

I use an RF Bridge that forwards RF remote button codes to a Text device in Domoticz.
Each button sends a unique code which is written to the Text device.

Example workflow:
Press button A on RF remote
RF Bridge sends code A12345
Text device receives A12345

DzVents script triggers correctly

However:
If the same button is pressed again and the Text device receives the same value (A12345), the DzVents script is not triggered anymore.

The script is triggered again only if:
another button is pressed (different code)
the value in the Text device changes.
This means that each remote button works only once, until another button changes the Text device value.

Tom
User avatar
waltervl
Posts: 7014
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: DzVents scripts are not triggered when a device receives the same value as before

Post by waltervl »

From what version did you update from? As something similar is reported earlier on beta viewtopic.php?t=44392
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tomes
Posts: 35
Joined: Saturday 07 July 2018 22:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: DzVents scripts are not triggered when a device receives the same value as before

Post by tomes »

Thanks for your reply.
I don't know the exact previous version number, as I am running the beta branch and updating frequently (every 2–3 days).
However, I can confirm that:
- this setup was working correctly just a few days ago
- the issue appeared only after a recent update to 2025.2 (build 17400)
So this looks like a recent regression in the beta branch.
User avatar
gizmocuz
Posts: 3026
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: DzVents scripts are not triggered when a device receives the same value as before

Post by gizmocuz »

That is correct, only switch - a - like types are updated when it has the same values.
Other devices that sends the same value won't trigger the eventsystem (lastupdate will change)
Quality outlives Quantity!
Post Reply