用 blinker-mpy 和 ESP32 实现电脑远程开机的功能。 blinker App 界面配置如下: {¨config¨{¨headerColor¨¨transparent¨¨headerStyle¨¨dark¨¨background¨{¨img¨¨assets/img/headerbg.jpg¨¨isFull¨«}}¨dashboard¨|{¨type¨¨deb¨¨mode¨É¨bg¨É¨cols¨Ñ¨rows¨Í¨key¨¨debug¨´x´É´y´Ð¨speech¨|÷¨lstyle¨Ê}{ßA¨btn¨¨ico¨¨fal fa-power-off¨ßCɨt0¨¨电源键¨¨t1¨¨文本2¨ßDÉßEËßFËßG¨btn-power¨´x´É´y´ÎßI|÷ßJɨclr¨¨#00A90C¨}{ßAßKßLßMßCÉßN¨强制关机¨ßPßQßDÉßEËßFËßG¨btn-shutdown¨´x´Ï´y´ÎßI|÷ßS¨#EA0909¨}{ßAßKßLßMßCÉßN¨当前状态¨ßPßQßDÉßEËßFËßG¨btn-state¨´x´Í´y´ÎßI|÷ßJÊßS¨#FBA613¨}{ßAßKßLßMßCÉßN¨Restart¨ßPßQßDÉßEËßFËßG¨btn-rest¨´x´Ë´y´Î}÷¨actions¨|¦¨cmd¨¦¨switch¨‡¨text¨‡¨on¨¨打开?name¨¨off¨¨关闭?name¨—÷¨triggers¨|{¨source¨ße¨source_zh¨¨开关状态¨¨state¨|ßgßi÷¨state_zh¨|¨打开¨¨关闭¨÷}÷¨rt¨|÷}
hel404/Blinker-Mpy-Remote-Power-Switch
This is a simple demo as a power switch for computer.
PythonMIT