Comments (4)
I've just pushed a change which allows the MAXAGE config line to be optionally configured, as it seems to make sense to do so. Once you update the addon, you should be able to add "upsd_maxage": "xx"
to your config, with xx being an Integer.
This may or may not help with your issue.
from addon-nut.
👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.
from addon-nut.
I share my configuration:
Add-on version: b7293c2
You are running the latest version of this add-on.
System: Raspbian GNU/Linux 10 (buster) (armv7 / raspberrypi3)
Home Assistant version: 0.103.2
Supervisor version: 193
and the full log report:
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing...
[15:28:01] INFO: Setting mode to netserver...
[15:28:02] INFO: Generating /etc/nut/upsd.users...
[15:28:04] INFO: Configuring user: nutty
[15:28:05] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[15:28:07] INFO: Configuring Device named trustups...
[15:28:08] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 3.8.0-3396-gcdc7c4b5b1
Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (3.8.0-3396-gcdc7c4b5b1)
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing...
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:28:18] INFO: Starting the UPS information server...
Network UPS Tools upsd 3.8.0-3396-gcdc7c4b5b1
Network UPS Tools upsmon 3.8.0-3396-gcdc7c4b5b1
0.000000 fopen /var/run/nut/upsd.pid: No such file or directory
0.001424 listening on 0.0.0.0 port 3493
[15:28:22] INFO: Starting the UPS monitor and shutdown controller...
0.000000 fopen /var/run/upsmon.pid: No such file or directory
2.197166 Connected to UPS [trustups]: richcomm_usb-trustups
0.032607 Using power down flag file /etc/killpower
0.033469 UPS: trustups@localhost (master) (power value 1)
0.033652 debug level is '1'
0.052003 Trying to connect to UPS [trustups@localhost]
2.225227 User [email protected] logged into UPS [trustups]
0.060635 Logged into UPS trustups@localhost
37.475385 Data for UPS [trustups] is stale - check driver
38.498160 UPS [trustups] data is no longer stale
81.503803 Data for UPS [trustups] is stale - check driver
80.074888 Poll UPS [trustups@localhost] failed - Data stale
82.534048 UPS [trustups] data is no longer stale
167.560042 Data for UPS [trustups] is stale - check driver
168.585812 UPS [trustups] data is no longer stale
211.590312 Data for UPS [trustups] is stale - check driver
210.092910 Poll UPS [trustups@localhost] failed - Data stale
212.616772 UPS [trustups] data is no longer stale
297.647095 Data for UPS [trustups] is stale - check driver
298.678332 UPS [trustups] data is no longer stale
from addon-nut.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from addon-nut.
Related Issues (20)
- NUT fails to start using SNMP. HOT 8
- Only one BX1500M is seen HOT 18
- Missing MIB HOT 4
- NUT not starting (No such file or directory)
- Fails with 2 UPSes HOT 11
- UPS monitoring fails randomly with "Poll UPS [myups@localhost] failed - Data stale" HOT 2
- Manufacturer details missing HOT 1
- Manufacturer details missing HOT 1
- Option 'pollonly' does not exist HOT 4
- NUT fails to start: Can't claim USB device: Other error / Driver failed to start HOT 21
- Server not listening on port 3943 HOT 1
- Two identical Cyberpower UPS's HOT 3
- Data stale error HOT 2
- Unstable experience with APC UPs HOT 5
- driver: snmp-ups - 2 devices - no data for second device HOT 2
- Wrong Output Voltage value HOT 4
- Addon Fails to Start: /etc/cont-init.d/nut.sh exited 1 HOT 3
- No password prompt on password change in integration / password logged in plaintext "log_mode: trace"? HOT 1
- UPS load information not available with NUT addon HOT 1
- Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-nut.