Page 1 of 1

Formula in MQTT import does not seem to work

Posted: 13 Jun 2020, 22:54
by BertB
It seems that the formula functuion in MQTT import does not work.
I run:
Build:⋄ 20107 - Mega
System Libraries:⋄ ESP82xx Core 5473656e, NONOS SDK 2.2.2-dev(a58da79), LWIP: 2.1.2 PUYA support
Git Build:⋄ mega-20200608
Plugin Count:⋄ 83 [Normal] [Testing]

on a Wemos.

I expect : %value%/1000 to give a new value divided by a 1000, but that does not happen
mqtt formula 1.PNG
mqtt formula 1.PNG (36.38 KiB) Viewed 10057 times
mqtt formula 1.PNG
mqtt formula 1.PNG (36.38 KiB) Viewed 10057 times

Re: Formula in MQTT import does not seem to work

Posted: 14 Jun 2020, 05:56
by grovkillen
Sounds like a bug.

Re: Formula in MQTT import does not seem to work

Posted: 14 Jun 2020, 11:21
by TD-er
Yep and I think a similar one has also been reported for another plugin.
Pulse counter maybe?

I guess it may be related to when the call to sendData is made...

Re: Formula in MQTT import does not seem to work

Posted: 14 Jun 2020, 17:21
by BertB
Okay, good to hear it is under control