Home assisant 远程关机方案
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=8151&extra=page%3D1&page=3&mobile=2
https://zhuanlan.zhihu.com/p/562740471
远程开机的方式有控制电源,WOL;
Wake On LAN
Wake On LAN 简单,但不可靠,电源控制复杂了些,但是稳定。
远程关机的方式有很多,可以分两类,硬关和软关,
remote-shutdown-pc
国外karpach大神的remote-shutdown-pc软件,免费开源的,C#语言编写,
开源地址:https://github.com/karpach/remote-shutdown-pc 为了表达对原作者的开源精神表示敬意,我将简介翻译一下,让更多的人了解。
he project is a windows application, which gives an ability to shutdown, suspend, hibernate PC, restart or turn screen off using HTTP GET request.
The application stays in a system tray area, where you can trigger custom command shutdown as well.
The program has following settings:
The application can be easily used with IFTTT or AutoVoice to shutdown PC remotely.
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=8151&extra=page%3D1&page=3&mobile=2
https://zhuanlan.zhihu.com/p/562740471
远程开机的方式有控制电源,WOL;
Wake On LAN
Wake On LAN 简单,但不可靠,电源控制复杂了些,但是稳定。
远程关机的方式有很多,可以分两类,硬关和软关,
硬关:电源控制或者关机按键,物理通断电启动关闭。
软件关机:有mstsc(本文只说Windows),向日葵、TeamViewer、Nat123等远程控制软件,还有EventGhost,这是个强大的软件。借助第三方程序或插件,要么需要开启win系统的RPC服务然后使用HA的开关机add-on插件,虽然相对简单但都存在着不便或安全隐患。
remote-shutdown-pc
国外karpach大神的remote-shutdown-pc软件,免费开源的,C#语言编写,
开源地址:https://github.com/karpach/remote-shutdown-pc 为了表达对原作者的开源精神表示敬意,我将简介翻译一下,让更多的人了解。
he project is a windows application, which gives an ability to shutdown, suspend, hibernate PC, restart or turn screen off using HTTP GET request.
The application stays in a system tray area, where you can trigger custom command shutdown as well.
The program has following settings:
Load program at Windows startup
Security code
System tray menu customization
Custom port number
http://remote-host-name:5001/secret/forceshutdown
The application can be easily used with IFTTT or AutoVoice to shutdown PC remotely.
0