What happened with PLUGIN_UNCONDITIONAL_POLL?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
FanOfHue
Normal user
Posts: 96
Joined: 06 Oct 2018, 10:08

What happened with PLUGIN_UNCONDITIONAL_POLL?

#1 Post by FanOfHue » 27 Jul 2019, 16:21

Just upgraded my dev node from ESPEasy, dated 2018-11-22 to the latest stable release dated 2019-06-30 (last release seems to crash)
But now, the smartnoderules plugin no longer works.

After some debugging, i found this line commented out in the ESPEasy.ino file:
//PluginCall(PLUGIN_UNCONDITIONAL_POLL, 0, dummyString);

So i enabled the line again and after recompile, the plugin works again.

What's the reason that this specific plugin call has been disabled?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: What happened with PLUGIN_UNCONDITIONAL_POLL?

#2 Post by TD-er » 27 Jul 2019, 16:58

Apparently it was commented-out in this commit: https://github.com/letscontrolit/ESPEas ... 913dec24b6
I know that in that commit the handling of GPIO monitoring was optimized.
But I have not done it myself, so I cannot tell you why it was commented out.
Can you make an issue for it on GitHub and add a reference to the commit? (and mention @giig1967g )

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 50 guests