APC USV-Adapter für ioBroker
Adapter für ioBroker zum Abrufen von Informationen von APS-USV-Anlagen über apcupsd.
Homepage von apcupsd: http://www.apcupsd.org/
apcupsd ist ein Daemon zur Steuerung von APC-USV-Anlagen. Mit diesem Adapter können Sie den USV-Status überwachen und auf Basis der bereitgestellten Informationen Entscheidungen treffen.
apcupsd unter Ubuntu installieren:
sudo apt-get -y install apcupsd
Weitere nützliche Informationen zur Konfiguration von apcupsd unter Ubuntu finden Sie unter https://help.ubuntu.com/community/apcupsd
Dieser Adapter nutzt die Sentry-Bibliotheken, um Ausnahmen und Codefehler automatisch an die Entwickler zu melden. Weitere Details und Informationen zum Deaktivieren der Fehlerberichterstattung finden Sie in der Sentry-Plugin-Dokumentation ! Die Sentry-Berichterstattung wird ab js-controller 3.0 verwendet.
Changelog
6.0.3 (2026-05-31)
- Fixed ESLint configuration
- Removed obsolete devDependencies
- Refactored connection timeout to use native socket timeout
- Updated npm configuration
6.0.2 (2026-05-30)
- Fixed CI/CD deploy workflow to use Trusted Publishing
- Fixed setTimeout usage in connection handler
- Updated dependencies
6.0.1 (2026-05-29)
- Fixed adapter startup on invalid configuration
- Fixed CI workflow for TypeScript build
- Updated dependencies
6.0.0 (2026-05-28)
- Migrated adapter source code to TypeScript
- Added TypeScript build pipeline
- CI now tests on all branches
- Updated dependencies
5.0.9 (2026-05-28)
- Migrated i18n to short format (
{lang}.json) - Migrated ESLint config to
@iobroker/eslint-config - Deploy workflow now publishes to Sentry before npm
- Updated
@alcalzone/release-scriptto 5.2.0 - Updated dependencies
5.0.8 (2026-05-25)
- Fixed float regex to correctly match whole-number values (e.g. BCHARGE at 100%)
- Fixed integer fields incorrectly stored as floats (parseFloat → parseInt)
- Fixed state object mutation that could corrupt subsequent state definitions
- Fixed null dereference crash in availability check on first run
- Fixed connection log messages showing
undefined:undefined - Added 5-second TCP connection timeout to prevent polling hangs on unreachable hosts
- Updated CI workflow to use ioBroker testing actions
- Updated dependencies
License
MIT License
Copyright (c) 2025-2026 Serhiy Krasovskyy xhunter74@gmail.com"
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.