시놀로지 ups서버를 다른 장치에서 사용하기

2022. 3. 24. 03:07서버 & NAS

제가 작성한 글은 랜 연결이 아닌 usb 연결하는 ups 설명입니다.

usb를 시놀로지 나스에 연결해줍니다.

 

사진처럼 ups 네트워크 서버를 활성화하고

허용된 디스크스테이션 장치를 눌러

pc나 다른 서버의 ip를 입력합니다.

 

 

 

 

먼저 윈도에서 불러오는 방법입니다.

 

https://github.com/gawindx/WinNUT-Client

 

GitHub - gawindx/WinNUT-Client: This is a NUT windows client for monitoring your ups hooked up to your favorite linux server.

This is a NUT windows client for monitoring your ups hooked up to your favorite linux server. - GitHub - gawindx/WinNUT-Client: This is a NUT windows client for monitoring your ups hooked up to you...

github.com

 

위 링크에 접속해서 릴리즈에서 WinNut-클라이언트 설치 파일을 받아서 설치해줍니다.

 

nas에 ssh로 접속을 해서 /usr/syno/etc/ups/upsd.users 파일을 열어줍니다.

맨 아래로 내리면

 

upsmon이라는 항목이 나옵니다.

password = xxxx 써진 게 비밀번호

upsmon xxxx 써진게 id입니다.

 

 

nut클라이언트를 실행해서 세팅에 들어가 보면

NUT host는 나스의 ip

UPS Name은 ups

Polling Interval 1

 

Login 항목에 ssh에서 확인한 값을 입력하고 Apply, Ok를 눌러주면

이렇게 ups의 각종 값이 불러와집니다.

 

 

시스템 트레이 설정과 

 

종료 설정이 있습니다.

 

#값이 정확하지 않은 경우는 보정 메뉴에서 수정해줘야 합니다.

 

 

 

 

 

Home Assistant에 추가해보기

 

통합 구성요소에서 + 누르고 NUT를 검색합니다.

 

위에껄 누르고

 

윈도에서 설정한 값과 똑같이 넣으면 됩니다.

 

잘 불러왔죠?