
UBWH-SP-USB
QSG 10-Jun-2020
Page 6 of 11
http:// Command Interface
Simple commands as below will (e.g.) turn the Smart Plug ON.
Note:
%20
in a URL = Space Character
From Web Browser
http://<device.ip.address>/cm?cmnd=power%20on
From Windows or Linux command/terminal window
curl http://<device.ip.address>/cm?cmnd=power%20on
From a Windows Batch file (*.bat file)
curl http://<device.ip.address>/cm?cmnd=power%%20on
Note
: need double
%
characters if in a batch file
From a PHP script (*.php file)
file_get_contents(
‘
http://<device.ip.address>/cm?cmnd=power%20on
’
);