Code Monkey home page Code Monkey logo

iobroker.mikrotik's Introduction

Logo ioBroker MikroTik Router adapter

Donate Donate

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.0.16

  • (instalator) changed parse RAW

1.0.14

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

1.0.12

  • (instalator) fixed error symb

1.0.11

1.0.10

  • (instalator) added name object
  • (instalator) fix error

1.0.6

  • (instalator) added in interface RX/TX (packets) issues#20
  • (instalator) Added Support for Compact mode
  • (instalator) Refactoring

1.0.5

  • (instalator) Update Login Protocol issues#23

1.0.4

  • (instalator) fix add_firewall command issues#18

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
  • (instalator) fix issues#9
  • (instalator) add to settings Timeout get
  • (instalator) add firewall list 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 'disbled ' for: filter, interface, filter nat.
  • (instalator) fix error
  • (instalator) added list dhcp and wifi client

0.0.1

  • (instalator) initial version

License

The MIT License (MIT)

Copyright (c) 2021 instalator [email protected]

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.

iobroker.mikrotik's People

Contributors

instalator avatar

Stargazers

 avatar

Watchers

 avatar  avatar

iobroker.mikrotik's Issues

No new installation possible.

Seems like a new installation is still not possible. Where is the opened issue to this topic?

Log from install via adapter -> search -> install

$ iobroker add mikrotik --host HV-iObroker
NPM version: 6.14.15npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://codeload.github.com/homeinstalator/mikronode-ng/tar.gz/v1.0.11
npm ERR! 404
npm ERR! 404 'mikronode-ng@https://github.com/homeinstalator/mikronode-ng/archive/v1.0.11.tar.gz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'iobroker.mikrotik'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2022-01-08T01_32_16_872Z-debug.log
host.HV-iObroker Cannot install [email protected]: 1
ERROR: Process exited with code 25

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/instalator/iobroker.mikrotik

I have also found warnings that may be fixed if possible.

  • [W171] "common.title" is deprecated in io-package.json
  • [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W170] "common.keywords" should not contain "iobroker, adapter, smart home" io-package.json
  • [W113] Adapter should support compact mode
  • [W156] Adapter should support admin 5 UI (jsonConfig) if you do not use a React based UI
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W400] Cannot find "" in latest repository
  • [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.