Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iobroker-community-adapters/iobroker.mikrotik

ioBroker MikroTik Router adapter
https://github.com/iobroker-community-adapters/iobroker.mikrotik

iobroker iobroker-adapter mikrotik mikrotik-router

Last synced: about 1 month ago
JSON representation

ioBroker MikroTik Router adapter

Awesome Lists containing this project

README

        

![Logo](admin/mikrotik_admin.png)
ioBroker MikroTik Router adapter
=================
![Number of Installations](http://iobroker.live/badges/mikrotik-installed.svg)
![Number of Installations](http://iobroker.live/badges/mikrotik-stable.svg)
[![NPM version](http://img.shields.io/npm/v/iobroker.mikrotik.svg)](https://www.npmjs.com/package/iobroker.mikrotik)
[![Downloads](https://img.shields.io/npm/dm/iobroker.mikrotik.svg)](https://www.npmjs.com/package/iobroker.mikrotik)
[![Tests](https://github.com/instalator/iobroker.mikrotik/workflows/Test%20and%20Release/badge.svg)](https://github.com/instalator/ioBroker.mikrotik/actions/)

[![NPM](https://nodei.co/npm/iobroker.mikrotik.png?downloads=true)](https://nodei.co/npm/iobroker.mikrotik/)

[![Donate](https://img.shields.io/badge/Donate-YooMoney-green)](https://sobe.ru/na/instalator)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PFUALWTR2CTPY)

## Using
### add_firewall
Add address to firewall list and enable.
e.g. `name,127.0.0.1,comment`.
### raw
Send api command to mikrotik, the result of execution will be received in the `mikrotik.0.commands.response` object
e.g.:
`/ip/firewall/address-list/add\n=list=2vpn\n=address=195.82.146.0/24\n=comment=rutracker.org`. OR
`ip/firewall/address-list/add list=FuckRKN address=195.82.146.0/24 comment=rutracker.org`
`ip/kid-control/print`
`ip/kid-control/pause .id=*1`
`ip/kid-control/resume .id=*1`
### reboot, shutdown
Reboot/shutdown mikrotik
### usb_reset
Reset power USB in mikrotik

*The created objects are not deleted automatically when deleted in the router.*

## Changelog

### 1.2.1 (2024-07-25)
* (mcm1957) Default value for commands.add_firewall has been corrected [#138]
* (mcm1957) Some issues reported by adapter-checker have been fixed
* (mcm1957) Testing for node.js 22 has been added
* (mcm1957) Dependencies have been updated

### 1.2.0 (2024-04-20)
- (mcm1957) Adapter requires node.js >= 18 and js-controller >= 5 now
- (mcm1957) Dependencies have been updated

### 1.1.1 (2022-10-17)
* (bluefox) Packages updated

### 1.0.16
* (instalator) changed parse RAW

### 1.0.14
* (instalator) added CAPsMAN [issues#28](https://github.com/instalator/ioBroker.mikrotik/issues/33)

### 1.0.13
* (instalator) changed parse RAW command
* (instalator) added last-link-up-time and last-link-down-time to interface
* (instalator) added [issues#28](https://github.com/instalator/ioBroker.mikrotik/issues/31)

### 1.0.12
* (instalator) fixed error symb

### 1.0.11
* (instalator) fixed [issues#28](https://github.com/instalator/ioBroker.mikrotik/issues/28)

### 1.0.10
* (instalator) added name object
* (instalator) fix error

### 1.0.6
* (instalator) added in interface RX/TX (packets) [issues#20](https://github.com/instalator/ioBroker.mikrotik/issues/20)
* (instalator) Added Support for Compact mode
* (instalator) Refactoring

### 1.0.5
* (instalator) Update Login Protocol [issues#23](https://github.com/instalator/ioBroker.mikrotik/issues/23)

### 1.0.4
* (instalator) fix add_firewall command [issues#18](https://github.com/instalator/ioBroker.mikrotik/issues/18#issue-358331248)

### 1.0.3
* (instalator) added checkboxes - receive the following data

### 1.0.2
* (bondrogeen) added support for the Admin 3
* (instalator) fixed some bugs
* (instalator) added in settings time polling

### 1.0.1
* (instalator) Change in objects symbol "*" to "_", see [issues#10](https://github.com/instalator/ioBroker.mikrotik/issues/10)
* (instalator) fix [issues#9](https://github.com/instalator/ioBroker.mikrotik/issues/9)
* (instalator) add to settings Timeout get
* (instalator) add firewall list [issues#7](https://github.com/instalator/ioBroker.mikrotik/issues/7) and command 'add_firewall' e.g. "name,127.0.0.1,comment"

### 1.0.0
* (instalator) up to stable

### 0.0.20
* (instalator) add mask for password in settings dialog
* (instalator) added info error login or password

### 0.0.12
* (instalator) change logic connect

### 0.0.11
* (instalator) added WAN address to systeminfo

### 0.0.10
* (instalator) change logo
* (instalator) fix error

### 0.0.4
* (instalator) added commands usb power reset
* (instalator) fix error

### 0.0.2
* (instalator) added command 'disabled ' for: filter, interface, filter nat.
* (instalator) fix error
* (instalator) added list dhcp and Wi-Fi client

### 0.0.1
* (instalator) initial version

## License

The MIT License (MIT)

Copyright (c) 2024 iobroker-community-adapters
Copyright (c) 2021-2022 instalator

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.