node-red-contrib-mikrotik

Node based on node-red-contrib-mikrotik to work with Mikrotik devices which fixes device configuration problem


Keywords
node-red, mikrotik
License
ISC
Install
npm install node-red-contrib-mikrotik@0.7.0

Documentation

CLA assistant compile CodeFactor npm version

node-red-contrib-mikrotik a mikrotik node for Node-RED

Install

NPM

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.

Config

Available actions:

  • log
  • resources
  • wifi
  • connections
  • reboot
  • raw

Usage

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, ssl

SSL

If you like to have a ssl connection between the node and the mikrotik router see the documentation

Basic

TBD


RAW

For the usage of the RAW/Command mode there are here some examples.