🎉 Release of add-on Network UPS Tools 0.4.0

This commit is contained in:
Community Hass.io Add-ons Bot 2021-01-22 22:20:00 +00:00
parent 708f5000f8
commit a26a8f0e96
5 changed files with 42 additions and 45 deletions

View file

@ -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

View file

@ -1,16 +1,16 @@
Release to fix issues with SNMP devices.
## Whats 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)

View file

@ -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!_
@ -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,7 +288,7 @@ 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
@ -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

View file

@ -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

View file

@ -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}"
}