Page 1 of 1

[SOLVED] Rule wouldn't execute

Posted: 03 Dec 2022, 12:35
by Wikibear
Hello together,

I have a strange thing. My rules will complete ignored and not executed as expected.

Code: Select all

On Data2#Lum Do
  PWM,12,[Data2#Lum],5000
Endon
This rule works on other devices without any problem.

Via command:

PWM,12,[Data2#Lum],5000

I get:

Code: Select all

{
"log": "GPIO: 12 duty: 200 Fade:",
"plugin": 1,
"pin": 12,
"mode": "PWM",
"state": 200
}
Everything is fine and my LED is on. So why does the rule shouldn't work?

Build: ESP_Easy_mega_20221105_normal_ESP8266_4M1M Nov 5 2022

Thanks

Re: Rule wouldn't execute

Posted: 03 Dec 2022, 12:54
by Ath
What type of plugin do you have configured for Data2 ?

Re: Rule wouldn't execute

Posted: 03 Dec 2022, 13:16
by Wikibear
It's an mqtt incoming value and it is set. Command work with the right value. But not the rule.

It seems that the trigger will be ignored.

Thanks.

Re: Rule wouldn't execute

Posted: 03 Dec 2022, 13:29
by Wikibear
Found the issue...

There is a new check for events. This wasn't checked and i don't know anything about this new option. Now it's working.

Thanks

Re: [SOLVED] Rule wouldn't execute

Posted: 03 Dec 2022, 13:42
by TD-er
Is this value an integer type, or floating point type?

What setting did you change? Being less strict when rules parsing?

Re: [SOLVED] Rule wouldn't execute

Posted: 04 Dec 2022, 13:51
by Wikibear
It's solved as reported.
Thanks for your help. :)