Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-05-04 Thread Charles Lepple via Nut-upsuser
On May 4, 2021, at 12:50 PM, Jürgen Wege via Nut-upsuser 
 wrote:
> 
> It also keeps the old date for "STARTTIME".

You mentioned apcupsd earlier. STARTTIME is not a NUT variable, and I don't 
think NUT ever had a system tray application (though maybe one of the 
third-party Windows ports did), so you might want to ask on one of the 
apcupsd-specific lists:

http://www.apcupsd.org/wordpress/email-lists/
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-05-04 Thread Jürgen Wege via Nut-upsuser
Roger,

thanks for the hint.

I tried that already before sending the mail to the group, by terminating the 
Tray app manually sitting in front of the machine and re-started it via Windows 
explorer. But it keeps the (wrong/old) status.

It also keeps the old date for "STARTTIME".

So, it seems to me that the daemon is not prepared to collect a new status and 
holds the status as long as it is running (assuming it will be shut down once 
that status appeared which would most likely be be true in a "normal" setup) 
and the tray app just requests the status from the daemon ... my tought. So, it 
would be nice if there was a method to tell the daemon to change that state.

On the other hand ... it could easily be the case that in the grant time 
between "shutting down" status and the real "off" of the UPS, the power could 
come back. Then, I assume that there would be a similar problem?

 
Jürgen 

-Ursprüngliche Nachricht-
Von: Nut-upsuser 
[mailto:nut-upsuser-bounces+jwege=gmx@alioth-lists.debian.net] Im Auftrag 
von Roger Price
Gesendet: Samstag, 1. Mai 2021 10:20
An: Jürgen Wege via Nut-upsuser
Betreff: Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App 
without re-Starting the monitoring (WIN 7) Computer?

On Fri, 30 Apr 2021, Jürgen Wege via Nut-upsuser wrote:

> Is there any "trick" how to tell the TRAY APP that the shutdown is 
> "over" and make it return to another (corrected) status WITHOUT re-booting?

If the tray app were part of for example Gnome, I would suggest restarting the 
app.  Is there a Windows 7 equivalent of sending SIGHUP to it?

If that doesn't do the job, try asking in a Win 7 forum.

Roger


___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser