You can add a udev script to restart NUT when the UPS is plugged in 
https://wiki.debian.org/udev

From: Nut-upsuser 
<[email protected]> On Behalf Of 
Maxence Rioblanc
Sent: 16 November 2021 11:55
To: [email protected]
Subject: [Nut-upsuser] UPS hotplug

Hello,

I'm using nut for few days and found it working perfectly fine in most 
conditions. However, there is one behavior I am not able to handle correctly:
When I boot my computer (I am in a mode=standalone configuration) while my UPS 
is not connected and that I plug it (using USB cable) later, the driver doesn't 
mount automatically, and I am not able to enable communication with my UPS.
I need to restart nut-server.service to get communication established.
Is there any way to make this hot plug works?

My configuration:

  *   Debian 11
  *   NUT 2.7.4-13 installed from apt-get
  *   UPS: ECUS MRT_2_1000 running fine with blazer_usb driver
  *


Regards,
Maxence
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to