環境
-
Proxmox VE 8.4.16
-
debian-13.2.0-amd64-netinst.iso
-
OMRON BL75T (UPS) + USB Type-B Cable
作業内容
1. Connect "OMRON BL75T" to Proxmox VE
OMRON BL75T 裏側に USB Type-B ポートがあるので適当なケーブルを使用して Proxmox が入ったNodeと接続します
2. Mapping USB Device
Datacentre -> Resource Mapping -> USB Devices -> Add
Name : 任意の名前
Mapping on Node : USB Type-B が接続してある Node を選択
Use USB Vendor/Device ID
-> Choose Device : 自明にOMRONだと分かる物を選択
Create を実行
3. Add USB Device
先ほど Mapping した USB Device を追加していきます
Node -> VM -> Hardware -> Add -> USB Device
Use mapped Device -> OMRON-BL75T を選択し Add する
4. Install PowerAttendant Standard Edition
PowerAttendant Standard Edition 以下、呼称 PowerAttendant とする
a. Install .NET 8.0
wget で .deb を ダウンロード
manager@debian:~$ wget --content-disposition https://packages.microsoft.com/config/debian/13/packages-microsoft-prod.deb
dpkg で .deb をインストール
manager@debian:~$ sudo dpkg -i packages-microsoft-prod.deb
apt search で .NET8.0 ( aspnetcore-runtime-8.0 )を探す
apt update を忘れずに行いましょう
manager@debian:~$ sudo apt search aspnetcore-runtime-8.0
apt install で .NET 8.0 をインストール
manager@debian:~$ sudo apt install aspnetcore-runtime-8.0
b. Install PowerAttendant Standard Edition
まず OMRON公式サイトから PowerAttendant をダウンロードしてください
(ソフトウェア使用許諾に同意し、名前、電話番号、メールアドレス等の登録が必要)
また、RHEL版 と Ubuntu版 があり、後者の Ubuntu版 をダウンロードしてください
適当なディレクトリに展開し、中身の .deb パッケージをインストールします。
manager@debian:~$ sudo dpkg -i PowerAttendant_2.1.2_amd64.deb
実行すると ソフトウェア使用許諾契約 の内容が表示されます
Selecting previously unselected package powerattendant.
(Reading database ... 35980 files and directories currently installed.)
Preparing to unpack PowerAttendant_2.1.2_amd64.deb ...
SOFTWARE LICENSE AGREEMENT
To download, install or use this software, you must agree to the following Software License Agreement. If you do not agree, please do not download, install or use this software.
Software License Agreement
This Software License Agreement ("Agreement") is a binding agreement between OMRON SOCIAL SOLUTIONS CO.,LTD. ("OMRON") and you (the "User") on the terms and conditions of the license of the Software (as defined below).
To download, install or use this Software, you must agree to this Agreement.
1 For the purpose of this Agreement, the following terms have the following meanings.
1.1 The "Authorized Computers" means the one or more computers those are owned by the User and are provided with power from one OMRON's UPS.
1.2 The "End User(s)" means any end user of the User's Products which incorporates the OMRON's UPS and the Software.
1.3 The "OMRON's UPS" means Uninterruptible Power Supply sold by OMRON either directly or through the OMRON's normal distribution channels to the User or End User.
1.4 The "Software" means the computer program "PowerAttendant Standard Edition" and any and all related documentation that are distributed with such computer program. The Software shall include any derivative works the
reto.
1.5 The "User's Product" means the hardware or system software, both developed and marketed by the User.
2 OMRON grants to the User a non-exclusive, non-transferable and limited license as follows: (i) to make one (1) or more copies of the Software and use such copies thereof on the Authorized Computers only for the purpo
se of monitoring and managing OMRON's UPS ; (ii) to make one of more copies of the Software in object code form only and distribute such copies thereof, either directly or through the User's normal distribution channels
, to End User(s), as part of the User's Product which incorporates the OMRON's UPS and the Software, only for the purpose of monitoring and managing such OMRON's UPS on the Authorized Computers; (iii) make copies of the
Software in object cord form as part of a master hard disk drive (including a hard disk drive image ) for cloning the hard disk drive, only for the purpose of the distribution as mentioned (ii) above; and (iv) make one
copy of the Software only for backup purpose.
3 Copyright of the Software remains the sole property of OMRON or the third party who has licensed the Software to OMRON and shall not be assigned to the User under this Agreement. Except as expressly permitted in Sect
ion 2 of this Agreement, the User shall not (i) copy or alter the Software; (ii) sub-license, assign nor lease the Software to any third party without prior written consent of OMRON; (iii) de-compile, reverse engineer n
or otherwise attempt to discern the source code of the Software; or (iv) any and all acts against Foreign Exchange and Foreign Trade Act and any other applicable export control laws and regulations.
4 The User shall treat any information contained in the Software as confidential and shall not disclose it to any third party. This obligation shall survive the termination of this Agreement.
5 If the User finds substantial non-conformity with the manual on the Software and notice it to OMRON in writing within a period of ninety (90) days after the User's purchase of the Software or installation of the Soft
ware, whichever comes earlier, OMRON will replace that Software or correct such non-conformity at OMRON's expense, to the extent that such non-conformity is reproducible and reported by User in writing during such perio
d.
The User acknowledges that all errors or bugs of the Software may not be removed by such replacement or correction.
OMRON may, in its sole discretion, refund the amount paid by User for User's purchase of that Software to User instead of such replacement or correction, in which case this Agreement will terminate.
Notwithstanding the above, the remedy mentioned above shall not apply to any non-conformity resulting from the User's and/or third party's misuse, abuse or improper use of OMRON's UPS, the Software and/or the computer
or failure to follow operating instructions, or use with equipment with which it is not intended to be used.
In addition, notwithstanding the first paragraph of this section, if User obtains the Software by means of a software recording medium included in the package of OMRON's UPS or the free download service on the web site
of OMRON, the Software is provided on "as-is" basis and such paragraph shall not apply.
6 THE ABOVE REPLACEMENT OR CORRECTION, OR REFUND SHALL CONSTITUTE THE USER'S SOLE AND EXCLUSIVE REMEDIES AGAINST OMRON AND THERE ARE NO OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTY OF
MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE. IN NO EVENT, OMRON WILL BE LIABLE FOR ANY LOST PROFITS OR OTHER INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT OR USE OF THE SOFTW
ARE.
7 If the User use the Software in conjunction with other company's software, OMRON shall not guarantee about compatibility, action, non-infringement intellectual property rights of third party and legitimacy of it. Ple
ase confirm by yourself, judge the availability of the Software.
8 In any event, OMRON's entire liability to the User for any cause shall not exceed the amount actually paid by the User to purchase the OMRON's UPS which is monitored and managed by the Software or the amount actually
paid by the User to purchase license(s) of the Software, whichever is lower.
9 If the User breaches this Agreement, OMRON may terminate this Agreement upon notice to the User. In that event, the User shall return the Software and all copies thereof.
10 Neither this Agreement nor any party or portion hereof shall be assigned, sub-licensed or otherwise transferred by the User. Should any provision of this Agreement be held to be void, invalid, unenforceable or illeg
al by a court, the validity and enforceability of the other provisions of this Agreement shall not be affected thereby. Failure of a party to enforce any provision of this Agreement shall not constitute or be construed
as a waiver of such provision or of the right to enforce such provision.
11 If the User will modify, de-compile, reserve engineer, or otherwise attempt to discern the source code of the Software, OMRON shall have no liability for any claim of patent, utility model right, trade secret or cop
yright infringement whenever the User was claimed by the third party who consented OMRON to use the Software or by the other third party.
12 This Agreement shall be governed by and construed under the laws of Japan.
13 If the User is a person living in Japan or a corporation organized and existing under the laws of Japan, any dispute, controversy or difference which may arise between the parties hereto arising out of or in relatio
n to or in connection with this Agreement shall be solely resolved through a legal proceedings before the District Court of Tokyo, which shall have the exclusive jurisdiction over the dispute.
In other cases, any and all dispute, controversy or difference which may arise between the parties hereto out of or in relation to or in connection with this Agreement shall be finally settled by arbitration in Tokyo i
n accordance with the Arbitration Rules of the Japan Commercial Arbitration Association. The award rendered by arbitrator(s) shall be final binding upon the parties hereto.
14 This English version of this Agreement is prepared for reference purpose only. In the event of any conflict or inconsistency between the Japanese version and this English version, the Japanese version shall prevail.
同意するか聞かれるので y で同意しましょう
Do you agree this license? [ y/n ] y
SOFTWARE LICENSE AGREEMENT
Webサーバのアクセスに使用するポート番号を指定できます
ここでは 8000 としています
Please input a http port number(1~65535) of this software[80]: 8000
Unpacking powerattendant (2.1.2) ...
Setting up powerattendant (2.1.2) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/powerattendantd.service' → '/etc/systemd/system/powerattendantd.service'.
Installation of PowerAttendant is finished.
5. Enbale and Start powerattendantd.Service
自動で systemctl enable , systemclt start されるみたいです
6. Access PowerAttendant
localhost 以外からの接続が難しいので cloudflared 使った接続を行います
具体的な方法は以下の記事を見てください
HTTP Host Header を localhost にすることでlocalhostからの通信だと認識してくれます。
接続すると新規ユーザー作成のページが表示されます
Login id/ログインID : 文字数 1~128 の名前
Password/パスワード : 英大文字/英小文字/数字/記号を必ず1文字以上 のパスワード
Mode Selection/モード選択 -> Primary/プライマリ
Save/保存 を実行
保存するとトップページが表示されます
これにて Install "OMRON Power Attendant Standard Edition" for Debian Linux の全作業が終了しました、お疲れさまでした
引用






