We have an extensive library of various bOS configuration examples. Select your heating pump, AC, TV or almost any other device and import it to your smart building configuration. We also encourage all system integrators and DIYs to add their own examples to ComfortClick library.
Switch general information from Rest API - Starting from RouterOS v7.1beta4 and newer
Author: Jürgen
This example allows integration of a MikroTik CRS326-24G-2S+ switch into the ComfortClick automation platform. The integration enables seamless communication between the two systems, allowing for the retrieval of general information from the switch through MikroTik's REST API. This integration enhances network management and automation capabilities, providing a user-friendly and efficient solution for monitoring the router's ports and wireless connections within the ComfortClick ecosystem.
Device preparation
Connect to your Mikrotik device by using winbox app and login to your device. By selecting System and Users a User list will open where a new user should be made. When creating a new user a group needs to be created. It can be named as API and the following policies need to be set: read, write, test, api, rest-api.
Configuration
Download the example from our website and import it into your configuration. Step by step instructions on how to import are available in our instructional video.
Change the login credentials under Authentication and use your correct IP address in the Host URL. Import the example into the current configuration (make sure you have the correct MikroTik switch) The IP/Address node contains Control panel with Get IP function to get all the information from the device For more detailed guidance on API and connection settings, please consult their official API.
Please login to post a comment.
We use cookies to personalize content, use live chat, provide social media features and to analyze our traffic. We also share information about your use of our site with analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.