ttys3 / utterances-cmt

this repo holds comments for utterances
0 stars 0 forks source link

post/got-my-first-apc-ups/ #9

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

买了个APC UPS :: /dev/ttyS3 — 回首向来萧瑟处 也无荒野也无灯

今天回到家已经很晚了,一到家发现 NAS 是关机的, PC 按电源也没反应。 然后 发现 山特 mt 1000 pro UPS 灯是灭的。 几经折腾还是不能开机,没有一个灯亮的。查了一下狗

https://ttys3.dev/post/got-my-first-apc-ups/

defclass commented 3 years ago

我的山特目前还坚挺。

wenbronk commented 2 years ago

mt1000 的 golang 脚本可以供参考下吗

ttys3 commented 2 years ago

@wenbronk 协议代码在 https://github.com/ttys3/santak-ups-monitor

当时, 压根没有空去实现完整的功能...

ttys3 commented 2 years ago

@wenbronk 当时设想的是 c/s 架构, server 连接 mt1000 pro ( rs232 串口转 usb ) 并监控状态. server 监测到断电后给所有 client agent 下发自动关机指令.

不过这些都没写 -_-

wenbronk commented 2 years ago

收到, 观摩下, 谢谢大佬