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