/nobreak-nut

Primary LanguageDockerfileMIT LicenseMIT

nobreak-nut

nobreak-nut is a Docker-based solution for managing and monitoring uninterruptible power supplies (UPS) using Network UPS Tools (NUT). There are also instructions and a dashboard example to be used in Home Assistant to display the UPS data.

drawing

Table of Contents

Getting Started

These instructions will help you set up and run the nobreak-nut container on your local machine.

Prerequisites

Ensure you have the following installed on your system:

Installation

  1. Clone the repository:

    git clone https://github.com/brunohenriquy/nobreak-nut.git
    cd nobreak-nut
  2. Build and run the Docker container:

    docker-compose up --build -d

Configuration

nobreak-nut uses several configuration files located in the etc/nut directory. These files include:

  • nut.conf
  • ups.conf
  • upsd.conf
  • upsd.users
  • upsmon.conf

Make sure these files are configured according to your UPS and network setup.

NOTE: Today it's configured for the TS Shara 1800VA (Model: 4539)

Usage

To interact with the running nobreak-nut container, use the NUT tools or the Home Assistant integration.

Home Assistant Configuration

The Dashboard example can be found here

drawing

Contributing

Feel free to contribute by opening issues, suggesting features, or submitting pull requests.

License

This project is licensed under the MIT License.