m1s_ups_control_mirror_test/README.md

28 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-04-29 07:04:45 +00:00
# m1s_ups_control
2024-07-15 07:24:44 +00:00
## KR
2024-07-15 07:25:52 +00:00
ODROID-M1S 용 UPS모듈용 파이썬 스크립트
2024-07-15 07:27:44 +00:00
+ ### 기능
+ 자동 종료
+ UPS/전원상태를 로그에 저장
2024-07-15 07:29:24 +00:00
+ BE400같은 통신기능이 없는 UPS를 대신하여 다른 서버/컴퓨터에 종료신호 뿌리기(작업중)
2024-07-15 12:47:39 +00:00
+ ### 설치방법
+ 1.https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment 이링크를 따라서 /boot/config.ini 수정후 재부팅
2024-07-15 12:51:56 +00:00
+ 2.```git clone https://github.com/gunu3371/m1s_ups_control.git``` 실행
+ 3.```sh install_service.sh``` 실행
2024-07-15 12:50:01 +00:00
+ ### 사용방법
2024-07-15 12:51:56 +00:00
+ ```systemctl status m1s_ups``` 로 상태확인
2024-07-15 12:51:15 +00:00
+ ```/etc/m1s_ups/log/``` 에서 로그확인
2024-07-15 07:24:44 +00:00
## EN
2024-07-15 07:29:24 +00:00
Python script for UPS module for ODROID-M1S
+ ### Features
2024-07-15 07:30:05 +00:00
+ Automatic shutdown
+ Save UPS/power status in log
+ Providing a shutdown signal to other servers/computers in place of a UPS that does not have a communication function such as BE400 (work in progress)
2024-07-15 12:50:01 +00:00
+ ### Installation method
+ 1. https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment Follow this link, edit /boot/config.ini and reboot.
2024-07-15 12:51:56 +00:00
+ 2. Run ```git clone https://github.com/gunu3371/m1s_ups_control.git```
+ 3. Run ```sh install_service.sh```
2024-07-15 12:50:01 +00:00
+ ### How to use
2024-07-15 12:51:15 +00:00
+ Check status with ```systemctl status m1s_ups```
+ Check log in ```/etc/m1s_ups/log/```