mirror of
https://github.com/hassio-addons/repository-beta.git
synced 2025-05-05 03:21:28 +00:00
🎉 Release of add-on Network UPS Tools 0.4.0
This commit is contained in:
parent
708f5000f8
commit
a26a8f0e96
5 changed files with 42 additions and 45 deletions
|
@ -904,10 +904,10 @@ SOFTWARE.
|
|||
[matrix-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
|
||||
[matrix-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
|
||||
[matrix-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
|
||||
[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.3.1
|
||||
[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.3.1/README.md
|
||||
[addon-nut]: https://github.com/hassio-addons/addon-nut/tree/v0.4.0
|
||||
[addon-doc-nut]: https://github.com/hassio-addons/addon-nut/blob/v0.4.0/README.md
|
||||
[nut-issue]: https://github.com/hassio-addons/addon-nut/issues
|
||||
[nut-version-shield]: https://img.shields.io/badge/version-v0.3.1-blue.svg
|
||||
[nut-version-shield]: https://img.shields.io/badge/version-v0.4.0-blue.svg
|
||||
[nut-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
|
||||
[nut-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
|
||||
[nut-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
Release to fix issues with SNMP devices.
|
||||
## What’s changed
|
||||
|
||||
NUT is now being built rather than relying on the Alpine package. This should resolve the issues with the current release and 32 bit compatibility (particularly on ARM).
|
||||
## 🚀 Enhancements
|
||||
|
||||
Although USB connected devices have been confirmed to be working, please ensure to snapshot prior to the upgrade, and report any issues found.
|
||||
- ⬆Update base image to v9.0.1 and dependencies @sinclairpaul (#65)
|
||||
|
||||
- 🔨Add openssl=1.1.1g-r0
|
||||
- 🔨Add net-snmp-libs=5.8-r3
|
||||
- 🔨Add neon=0.31.1-r0
|
||||
- 🔨Keep libtool installed
|
||||
## 🧰 Maintenance
|
||||
|
||||
Questions? Join our Discord server! https://discord.me/hassioaddons
|
||||
- Cleanup repository @frenck (#60)
|
||||
- Happy New Year @frenck (#62)
|
||||
- Upgrade Code of Conduct @frenck (#63)
|
||||
- 🔨 Add new CI workflow @sinclairpaul (#64)
|
||||
|
||||
[Full Changelog][changelog]
|
||||
## ⬆️ Dependency updates
|
||||
|
||||
[changelog]: https://github.com/hassio-addons/addon-nut/compare/v0.3.0...v0.3.1
|
||||
- ⬆Update base image to v9.0.1 and dependencies @sinclairpaul (#65)
|
||||
|
|
48
nut/DOCS.md
48
nut/DOCS.md
|
@ -71,7 +71,7 @@ devices:
|
|||
port: auto
|
||||
config: []
|
||||
mode: netserver
|
||||
shutdown_host: 'false'
|
||||
shutdown_host: "false"
|
||||
```
|
||||
|
||||
**Note**: _This is just an example, don't copy and paste it! Create your own!_
|
||||
|
@ -86,7 +86,7 @@ dealing with an unknown issue. Possible values are:
|
|||
- `debug`: Shows detailed debug information.
|
||||
- `info`: Normal (usually) interesting events.
|
||||
- `warning`: Exceptional occurrences that are not errors.
|
||||
- `error`: Runtime errors that do not require immediate action.
|
||||
- `error`: Runtime errors that do not require immediate action.
|
||||
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
|
||||
|
||||
Please note that each level automatically includes log messages from a
|
||||
|
@ -261,7 +261,7 @@ Whenever your UPS changes state, an event named `nut.ups_event` will be fired.
|
|||
It's payload looks like this:
|
||||
|
||||
| Key | Value |
|
||||
|---------------|----------------------------------------------|
|
||||
| ------------- | -------------------------------------------- |
|
||||
| `ups_name` | The name of the UPS as you configured it |
|
||||
| `notify_type` | The type of notification |
|
||||
| `notify_msg` | The NUT default message for the notification |
|
||||
|
@ -271,7 +271,7 @@ See the below table for more information as well as the message that will be in
|
|||
`notify_msg`. `%s` is automatically replaced by NUT with your UPS name.
|
||||
|
||||
| Type | Cause | Default Message |
|
||||
|------------|-----------------------------------------------------------------------|----------------------------------------------------|
|
||||
| ---------- | --------------------------------------------------------------------- | -------------------------------------------------- |
|
||||
| `ONLINE` | UPS is back online | "UPS %s on line power" |
|
||||
| `ONBATT` | UPS is on battery | "UPS %s on battery" |
|
||||
| `LOWBATT` | UPS has a low battery (if also on battery, it's "critical") | "UPS %s battery is low" |
|
||||
|
@ -288,21 +288,21 @@ This event allows you to create automations to do things like send a
|
|||
|
||||
```yaml
|
||||
automations:
|
||||
- alias: 'UPS changed state'
|
||||
- alias: "UPS changed state"
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: nut.ups_event
|
||||
- platform: event
|
||||
event_type: nut.ups_event
|
||||
action:
|
||||
- service: notify.mobile_app_<your_device_id_here>
|
||||
data_template:
|
||||
title: "UPS changed state"
|
||||
message: "{{ trigger.event.data.notify_msg }}"
|
||||
data:
|
||||
push:
|
||||
sound:
|
||||
name: default
|
||||
critical: 1
|
||||
volume: 1.0
|
||||
- service: notify.mobile_app_<your_device_id_here>
|
||||
data_template:
|
||||
title: "UPS changed state"
|
||||
message: "{{ trigger.event.data.notify_msg }}"
|
||||
data:
|
||||
push:
|
||||
sound:
|
||||
name: default
|
||||
critical: 1
|
||||
volume: 1.0
|
||||
```
|
||||
|
||||
For more information, see the NUT docs [here][nut-notif-doc-1] and
|
||||
|
@ -311,16 +311,15 @@ For more information, see the NUT docs [here][nut-notif-doc-1] and
|
|||
## Changelog & Releases
|
||||
|
||||
This repository keeps a change log using [GitHub's releases][releases]
|
||||
functionality. The format of the log is based on
|
||||
[Keep a Changelog][keepchangelog].
|
||||
functionality.
|
||||
|
||||
Releases are based on [Semantic Versioning][semver], and use the format
|
||||
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
|
||||
of `MAJOR.MINOR.PATCH`. In a nutshell, the version will be incremented
|
||||
based on the following:
|
||||
|
||||
- ``MAJOR``: Incompatible or major changes.
|
||||
- ``MINOR``: Backwards-compatible new features and enhancements.
|
||||
- ``PATCH``: Backwards-compatible bugfixes and package updates.
|
||||
- `MAJOR`: Incompatible or major changes.
|
||||
- `MINOR`: Backwards-compatible new features and enhancements.
|
||||
- `PATCH`: Backwards-compatible bugfixes and package updates.
|
||||
|
||||
## Support
|
||||
|
||||
|
@ -348,7 +347,7 @@ check [the contributor's page][contributors].
|
|||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018-2020 Dale Higgs
|
||||
Copyright (c) 2018-2021 Dale Higgs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -376,7 +375,6 @@ SOFTWARE.
|
|||
[fake-usb]: https://github.com/hassio-addons/addon-nut/issues/24
|
||||
[forum]: https://community.home-assistant.io/t/community-hass-io-add-on-network-ups-tools/68516
|
||||
[issue]: https://github.com/hassio-addons/addon-nut/issues
|
||||
[keepchangelog]: https://keepachangelog.com/en/1.0.0/
|
||||
[nut-acknowledgements]: https://networkupstools.org/acknowledgements.html
|
||||
[nut-compatible]: https://networkupstools.org/stable-hcl.html
|
||||
[nut-conf]: https://networkupstools.org/docs/man/nut.conf.html
|
||||
|
|
|
@ -67,11 +67,11 @@ If you are more interested in stable releases of our add-ons:
|
|||
[discord]: https://discord.me/hassioaddons
|
||||
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
|
||||
[forum]: https://community.home-assistant.io/t/community-hass-io-add-on-network-ups-tools/68516
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2021.svg
|
||||
[nut-acknowledgements]: https://networkupstools.org/acknowledgements.html
|
||||
[nut-compatible]: https://networkupstools.org/stable-hcl.html
|
||||
[nut-features]: https://networkupstools.org/features.html
|
||||
[nut-sensor-docs]: https://www.home-assistant.io/components/sensor.nut/
|
||||
[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg
|
||||
[release-shield]: https://img.shields.io/badge/version-v0.3.1-blue.svg
|
||||
[release]: https://github.com/hassio-addons/addon-nut/tree/v0.3.1
|
||||
[release-shield]: https://img.shields.io/badge/version-v0.4.0-blue.svg
|
||||
[release]: https://github.com/hassio-addons/addon-nut/tree/v0.4.0
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Network UPS Tools",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"slug": "nut",
|
||||
"description": "Manage battery backup (UPS) devices",
|
||||
"url": "https://github.com/hassio-addons/addon-nut",
|
||||
|
@ -12,8 +12,7 @@
|
|||
"armv7",
|
||||
"i386"
|
||||
],
|
||||
"auto_uart": "true",
|
||||
"boot": "auto",
|
||||
"auto_uart": true,
|
||||
"hassio_api": true,
|
||||
"hassio_role": "manager",
|
||||
"homeassistant_api": true,
|
||||
|
@ -85,5 +84,5 @@
|
|||
"i_like_to_be_pwned": "bool?",
|
||||
"leave_front_door_open": "bool?"
|
||||
},
|
||||
"image": "hassioaddons/nut-{arch}"
|
||||
"image": "ghcr.io/hassio-addons/nut/{arch}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue