This is a simple code for sending power off / sleep / reboot commands to the device via web
npx web-power
npm i web-power -g
web-power <port number>
web-power 3000
touch .env
You can set limit in env file
PORT=<Port>
PORT=3000
This is a simple code for sending power off / sleep / reboot commands to the device via web
npx web-power
npm i web-power -g
web-power <port number>
web-power 3000
touch .env
You can set limit in env file
PORT=<Port>
PORT=3000