EATON USV auf MiniPC mit HA OS (OHNE proxmox)

Ich versuche meine EATON 3S 700 DIN USV nach der Anleitung https://www.simon42.com/home-assistant-usv-integration-nut/#usveinbindung-von-home-assistant einzubinden. Leider scheint das nicht zu funktionieren.
Die USV wird nicht gefunden. Ist das nur mit eine VM auf proxmox möglich?

LOG Eintrag:

[08:55:46] INFO: Starting the UPS monitor and shutdown controller...
   0.000000	fopen /run/nut/upsmon.pid: No such file or directory
   0.000015	Could not find PID file to see if previous upsmon instance is already running!
   0.000267	Using power down flag file /etc/killpower
   0.000510	UPS: EATON@localhost (primary) (power value 1)
   0.000559	[D1] debug level is '1'
   0.000598	Warning: running as one big root process by request (upsmon -p)
   0.000698	[D1] Saving PID 326 into /run/nut/upsmon.pid
Init SSL without certificate database
   0.003396	upsnotify: notify about state 2 with libsystemd: was requested, but not running as a service unit now, will not spam more about it
   0.003412	upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
   0.003416	upsnotify: logged the systemd watchdog situation once, will not spam more about it
   0.003421	[D1] Trying to connect to UPS [EATON@localhost]
   0.514678	User upsmonmaster@127.0.0.1 logged into UPS [EATON]
   0.004399	[D1] Logged into UPS EATON@localhost
   5.005237	UPS EATON@localhost: administratively OFF or asleep
Network UPS Tools upsmon 2.8.1
  40.008741	ups_is_off: EATON@localhost is in state OFF for 35 sec, assuming the line is not fed (if it is calibrating etc., check the upsmon 'OFFDURATION' option)
  40.008774	UPS [EATON@localhost] is reported as (administratively) OFF
  40.008781	[D1] Critical UPS: EATON@localhost
  40.008798	[D1] Shutting down any UPSes in PRIMARY mode...
  40.519356	Client upsmonmaster@127.0.0.1 set FSD on UPS [EATON]
  40.009139	[D1] This system is a primary... waiting for secondaries to logout...
  40.009300	Executing automatic power-fail shutdown
{"message":"Event nut.ups_event fired."}Network UPS Tools upsmon 2.8.1
  45.015454	[D1] Exiting upsmon immediately after initiating shutdown, by default
Network UPS Tools upsmon 2.8.1
s6-rc: info: service legacy-services: stopping
  45.532558	mainloop: Interrupted system call
  45.532607	Signal 15: exiting
  45.532779	[D1] driver_free: forgetting UPS [EATON] (FD 4)
Network UPS Tools upsd 2.8.1
[08:56:31] INFO: upsmon stopped, restarting...
[08:56:31] INFO: upsd stopped, restarting...
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Edit by Jay: Code bitte immer über die Codefunktion „</>“ im Editor einfügen.

Hi, wie schaut denn deine Config dazu aus?

users:
  - username: joerg
    password: Passwortgedöns123!$%
    instcmds:
      - all
    actions: []
    upsmon: master
devices:
  - name: EATON
    driver: usbhid-ups
    port: auto
    config:
      - vendor = "EATON.*"
mode: netserver
shutdown_host: false

Lass mal den Config Eintrag unter „Devices:“ weg

devices:
  - name: Eaton
    driver: usbhid-ups
    port: auto

Meist braucht es das nicht, sollte er eigentlich selbst erkennen!

Auch ich habe eine EATON USV vor einem Mini-PC mit nativ installiertem HAOS in Betrieb.
Es ist ein anderer Typ, das sollte aber nicht das Problem sein.
Meine Konfig sieht so aus:

users:
  - username: xxxxxxxxx
    password: yyyyyyyyy
    instcmds:
      - all
    actions: []
devices:
  - name: Eaton_EL650USBDIN
    driver: usbhid-ups
    port: auto
    config:
      - vendor = "EATON.*"
      - ignorelb
      - override.battery.charge.low = 30
      - override.ups.delay.shutdown = 120
mode: netserver
shutdown_host: "false"

Klappt hervorragend:

Evtl. 'ne blöde Frage: Eine USB-Verbindung hast du zwischen USV und PC?
Es ist schon ziemlich lange her, dass ich die USV eingerichtet habe, aber ich kann mich dunkel erinnern, dass es auch bei mir Probleme mit der Erkennung gab. Ich glaube, ich habe nach dem Stecken der USB-Verbindung, PC und USV einmal neu (kalt) gestartet.

In deiner Konfig ist shutdown_host: false rot gefärbt.
Bei mir mit Anführungszeichen shutdown_host: „false“ grün.
Aber ich glaube nicht, dass das für die Erkennung auschlaggebend ist.

Vielen Dank euch beiden. Ich habe einfach den Code von Schorsch kopiert und den NUC zuerst komplett neu gestartet. Jetzt läuft es.