You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, any message can trigger the node as input. A more effective and appropriate implementation would have the input dynamically configure the node settings.
Node-RED uses msg.payload and msg.topic to configure input, where msg.payload is used for main data and msg.topic is used for specific sub-categories/ actions. Nodes such as 'change', 'function', or 'switch' can further be used to change node configuations dynamically. For example, if the current node is being set based on temperature change from a temperature node, the temperature node might have a msg.payload set to the temperature. A function node could then translate 'above 25 degrees' to the current node's specific configurations.
Potential input settings for LED: msg.payload: On/ Off
Currently, the LED node has an option to either configure input from the editor or from input received. These should both be an option and this dropdown configuration should be removed.
The text was updated successfully, but these errors were encountered:
Currently, any message can trigger the node as input. A more effective and appropriate implementation would have the input dynamically configure the node settings.
Node-RED uses
msg.payload
andmsg.topic
to configure input, wheremsg.payload
is used for main data andmsg.topic
is used for specific sub-categories/ actions. Nodes such as 'change', 'function', or 'switch' can further be used to change node configuations dynamically. For example, if the current node is being set based on temperature change from a temperature node, the temperature node might have amsg.payload
set to the temperature. A function node could then translate 'above 25 degrees' to the current node's specific configurations.Potential input settings for LED:
msg.payload: On/ Off
Currently, the LED node has an option to either configure input from the editor or from input received. These should both be an option and this dropdown configuration should be removed.
The text was updated successfully, but these errors were encountered: