Giter VIP home page Giter VIP logo

Comments (4)

sinclairpaul avatar sinclairpaul commented on June 19, 2024 1

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.

addons-assistant avatar addons-assistant commented on June 19, 2024

👋 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.

federicopuntoni avatar federicopuntoni commented on June 19, 2024

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.

addons-assistant avatar addons-assistant commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.