nodered
Platypush documentation
nodered
- class platypush.backend.nodered.NoderedBackend(port: int = 5051, *args, **kwargs)[source]
Bases:
Backend
This backend publishes platypush actions to a Node-RED instance. If you enable this backend on a host that runs Node-RED then a new block (platypush -> run) can be used in your flows. This block will accept JSON requests as input in the format
{"type":"request", "action":"plugin.name.action_name", "args": {...}}
and return the output of the action as block output, or raise an exception if the action failed.Requires:
pynodered (
pip install pynodered
)