Community discussions

MikroTik App
 
l2sverige
just joined
Topic Author
Posts: 16
Joined: Tue Oct 26, 2021 8:40 am

CRS and PoE function

Tue Oct 26, 2021 8:48 am

Good morning :)

Is there anybody out there knowing if there's a solution for this...
Is there any way to make a button though http command och other remote service to power cycle PoE ports on a CRS112 POE?

(NOT though WinBox!!!)

I want my customer to have access just to make power on/off easy for a port, maybe thrugh a web portal.

Best Regards,
Johan @ L2 Sweden AB
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: CRS and PoE function

Sun Nov 07, 2021 10:21 pm

Good Evening from Germany,

Solution A: API
The Mikrotik-API is a great Solution....
Some use it via a Small Web-Application (http)
or other via dedicated Programms or simple Scripts

Tipp / Trick:
I had something similar, where the customer (restaurant) didn't have or want any "servers".
So we used Powershell + API to create a Desktop-Shortcut to execute a repetitiv Task.

Solution B: Telegram
It is quite easy to setup a Telegram-Bot for your mikrotik device.
The BOT in turn is able to receive Commands from a Phone or a Telegram-Client

So for exemple, you could set it up to cycle PoE-Power on all Interfaces,
as soon as someone sends "poe" or "resetpoe".


Solution C: HTTP
I don't know if it is possible to receive a HTTP-Request on the Mikrotik
Maybe someone else on the Forum knows the answer!

But you can definitely make (aka. pull) request to a Web-Application.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: CRS and PoE function

Mon Nov 08, 2021 1:29 pm

Examples using address-list or log and firewall, just one idea:

Knoking port 11111 from ip 192.168.0.55 enable port 1 poe,
Knoking port 11112 from ip 192.168.0.55 enable port 2 poe,
etc.

Knoking port 10001 from ip 192.168.0.55 disable port 1 poe,
Knoking port 10002 from ip 192.168.0.55 disable port 2 poe,
etc.

Who is online

Users browsing this forum: No registered users and 30 guests