EvilFreelancer / routeros-api-php

Mikrotik RouterOS API PHP client for your applications
https://mikrotik.com/software
MIT License
396 stars 146 forks source link

Wol #105

Closed utqinadhif closed 1 year ago

utqinadhif commented 1 year ago

How to call api of WOL on tool?

EvilFreelancer commented 1 year ago

Hi! It should be something like:

$query = new Query('/tool/wol');
$query->equal('mac', '00:00:00:00:40:29');
$query->equal('interface', 'ether1'); // optional

https://help.mikrotik.com/docs/display/ROS/Wake+on+LAN

utqinadhif commented 1 year ago

Nice, thanks