Install via the palette manage in the Node-RED admin ui (no restart needed).
Alternatively run the following command in your Node-RED user directory (typically ~/.node-red
):
npm install node-red-contrib-mikrotik
then restart Node-RED and add an instance of the mikrotik node.
Available actions:
Add the node to a flow, add an inject and a debug node, configure your connection and you are ready to go.
If you can override every property with the message object. The names are:
msg. -> username, password, host, port, payload/command
TBD
For the usage of the RAW/Command mode there are here some examples.