Comments (7)
👋 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 useful.
from addon-nut.
Please elaborate on the issue you are facing, share your config, and specify what change you believe is necessary.
from addon-nut.
Please elaborate on the issue you are facing, share your config, and specify what change you believe is necessary.
this is my configution
sensor:
- platform: nut
name: "CyberPower PR1500ELCD"
host: 40817795-nut
username: user
password: !secret nut
resources:
- ups.status.display
- ups.timer.reboot
- battery.voltage
- ups.firmware.aux
- ups.mfr
- battery.runtime.low
- ups.delay.shutdown
- ups.load
- ups.realpower.nominal
- battery.charge.warning
- battery.charge.low
- ups.vendorid
- ups.timer.shutdown
- ups.test.result
- ups.firmware
- ups.productid
- battery.runtime
- battery.type
- ups.model
- ups.beeper.status
- battery.charge
- input.sensitivity
- input.transfer.low
- input.transfer.high
- input.voltage
- input.voltage.nominal
- input.transfer.reason
- output.current
- output.frequency
- output.voltage
- output.voltage.nominal
and this is the addon config:
{
"users": [
{
"username": "admin",
"password": "XXX",
"instcmds": [
"all"
],
"actions": []
}
],
"devices": [
{
"name": "myups",
"driver": "usbhid-ups",
"port": "auto",
"config": []
}
],
"mode": "netserver",
"shutdown_hassio": "false"
}
Love this addon so much, thanks guys.
I would like to have a config option to update the sensor value more often that the default one.
It seems that my sensors is updated every 30 seconds more or less, I would like to update it every 10 seconds at least.
Is it possible to add a parameter in the configuration to configure the polling interval (how often the sensor is updated)?
I think that this is necessary because outages, and most often voltage spikes or voltage fluctuations lasts from some milliseconds to some seconds.
with the sensor updating every 30 seconds, it's really difficult to know if some voltage fluctuations is occurring.
from addon-nut.
If you mean the sensor in HA, it would be part of the integration itself.
From what I can see here https://github.com/home-assistant/home-assistant/blob/7d506bc38b73f5a81649a0fe629f054ea5dbdae6/homeassistant/components/nut/sensor.py#L36
It looks to be 60 seconds.
🏡 Open source home automation that puts local control and privacy first - home-assistant/home-assistant
from addon-nut.
If you mean the sensor in HA, it would be part of the integration itself.
From what I can see here https://github.com/home-assistant/home-assistant/blob/7d506bc38b73f5a81649a0fe629f054ea5dbdae6/homeassistant/components/nut/sensor.py#L36
It looks to be 60 seconds.
GitHub**home-assistant/home-assistant**🏡 Open source home automation that puts local control and privacy first - home-assistant/home-assistant
is it possible to configure that value?
can I lower that 60 seconds to 10 seconds?
🏡 Open source home automation that puts local control and privacy first - home-assistant/home-assistant
from addon-nut.
You would need to log the issue on the sensor with the HA repo I'm afraid, I do not believe there is anything we can do at the addon level.
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)
- 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 9
- 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 6
- 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
- Addon fails to start when connected to CP1500AVRLCD3 HOT 3
- No temperature entity for APC SMT1500i HOT 2
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.