I trying to do something very basic and simple. I have a "Filament humidity" sensor used as a RM5.1 trigger, which works fine. All the rule does is close a virtual contact sensor and send a Notify to 3 devices.
I'm using device driver: " Zigbee - Xiaomi/Aqara Temperature & Humidity Sensor ", version v1.0.1.1123.
The Notify string is: %device% %value% => %MaxFilamentHumid%.
MaxFilamentHumid is a global decimal variable. The "Define a Rule" "Display current values" option is enabled and it shows:"null 0 => 45.0". The notify devices display the same. The HE "Filament humidity" device shows, humidity = 75. Note, this has worked in the past.
Any ideas as to why it doesn't display: "Filament humidity 75 => 45.0"?
How are you testing this rule? You need an actual trigger (not "Run Rule Actions," for example). The display on the rule page may also not be accurate if there wasn't a trigger. This is because most of your values are pulled from the trigger event, and there isn't such an event if your actions are run any other way.
If that still doesn't work as you expect, enable all logging for the rule and look at the logs filtered to just this rule for more information.
Yes, I was just clicking the "Run Actions" to get the results.
I have the "Filament humidity" device in a ZipLock bag with some wet table-salt, so I will bring it out and cycle the humidity below and above 45% and report back.
After cycling the actual sensor below and above the relative humidity trigger level (45%) the correct variables values were available and displayed.
I think there is an opportunity to improve the HE user interface by assigning the %device% and %value% variables with their current values when the "Run Actions" button is clicked.