-
-
Notifications
You must be signed in to change notification settings - Fork 399
Open
Labels
Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)bugimpacts-release-2.7.4Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)impacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)python
Milestone
Description
https://github.com/networkupstools/nut/blob/master/scripts/python/app/NUT-Monitor-py3qt5.in#L900
Because was_online is not a class variable, and always reset to True, while on battery, gui_status_notification spams desktop with notifications.
Fix:
Move line 900 to line 887
change was_online to self.was_online on lines 929, 931, 935, 938
The same is also true for the other variants.
Metadata
Metadata
Assignees
Labels
Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)bugimpacts-release-2.7.4Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)impacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)python