ENSURE README IS FOR CORRECT VERSION OF INSTALLED PACKAGE
Watches several points and returns an array of values. Will read the 'out' value of the path
- Topic - The topic sent with the msg every poll (optional).
- Poll Rate - The interval at which points are returned. Must be 5 or more seconds.
- Poll Changes - Toggle whether the poll only returns points which the value has changed since the last poll, or return the values of all the points every poll.
- Paths - The list of paths that are returned on each poll.
Passing the following values will override the default values you may pre-configured.
msg.topic
-> Attached as the topic for every poll message (Any)msg.username
-> Username (String)msg.password
-> Password (String)msg.credentialsKey
-> Key used to obtain credentials from Node-RED settings file (Overridesmsg.username
andmsg.password
) (String)msg.protocol
-> 'https' or 'http' (String)msg.host
-> IP Address (String)msg.port
-> HTTPS/HTTP Port (Number)msg.pollRate
-> Rate at which the poll will be fired (Number >= 5)msg.pollRefresh
-> Set totrue
to poll all watcher's configured paths (Boolean)msg.pollChanges
-> Set totrue
to poll all watcher's configured paths that have changed since last poll (Boolean)msg.pollStop
-> Set totrue
to stop polling and delete the current watcher (Boolean)msg.pollChangesOnly
-> Use when creating the watcher. Toggle whether the poll only returns points which the value has changed since the last poll, or return the values of all the points every poll (Boolean)msg.paths
-> Paths to add to watcher (String[] || String)- Basic paths format
["Point/Test", "Point/Test1"]
- Basic paths format