3rd Order Polynomial

@josh51 Glad to hear that’s working for you! I’ll update this thread once I know more about the node / PAC behavior we’re seeing here – hopefully we can find a more permanent solution soon.

Regarding the return statement, here is a great page from the Node-RED documentation site that I reference all the time: nodered.org/docs/user-guide/writing-functions

Returning multiple messages is really easy, if you want to send them at the same time you can increase the number of outputs of the function node and then return [ msg1, msg2, ... ]; or use the node.send(msg) method to send multiple messages asynchronously, like I did with the batch code.

For those following along…
Turns out that this is a bug in the PAC Control RESTful API.
Here is the KB article on it; Opto22 - KB88804

Its been fixed in the latest PR1 firmware release, 2.0.2.
Visit your manage.groov.com portal and be sure to download and install the latest firmware version.

Note to self… always check your firmware versions… check and double check <grin

1 Like