Skip to content

The database and scripts to run the battery estimations

Notifications You must be signed in to change notification settings

petervanderwalt/luxpower_control

 
 

Repository files navigation

LuxPower Control & DB Addon for Home Assistant

Introduction

The "LuxPower Control & DB" addon integrates seamlessly with the LuxPower charge control HACS integration. It is designed to create a database and host scripts that are crucial for calculating battery entities within the LuxPower charge control system.

For more details on the LuxPower charge control HACS integration, visit: LuxPower Charge Control HACS Integration.

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Features

  • Creates and manages a database for storing essential calculation data.
  • Easy access to the database via addon_config folder, accessible through Samba share.

Prerequisites

  • Home Assistant Supervisor installation.
  • An operational MQTT broker (either Home Assistant's built-in broker or a separate one).

If using not using Home Assistant Supervised

If your not using Home Assistant Supervised then you will need to build and mount your own docker image of this repo and then run it localy inside your docker instance. instructions for this will not be provided and no support will be given for such installations in this repo as you will be required to edit the code and bash scripts. The sole reason this was created was to make life easier for people wanting to use the battery forecasting.

Installation Guide

Step 1: Access Addon Store

Navigate to the addon store in your Home Assistant settings.

Step 1

Step 2: Open Addon Store

Click on the blue addon store icon.

Step 2

Step 3: Add Repository

Click the three dots at the top and select 'Add Repository'.

Step 2

Step 4: Repository URL

Copy the URL of this page and paste it into the dialog box, then click 'Add'.

Step 2

Step 5: Install Addon

Refresh the page. The addon should appear at the bottom of the list. Click on it and select 'Install'.

Step 2

Step 6: MQTT Setup

Configure the MQTT settings using either a local MQTT broker (like Mosquitto broker) or your own.

Step 2

Step 7: Starting the Addon

Select 'Save' and then 'Start' the addon.

Ensure you have the HACS integration installed.

Post-Installation

Confirming Addon Operation

Check the Home Assistant logs to confirm that the addon has started without errors.

MQTT Data Monitoring

Monitor the following MQTT topics to confirm data transmission:

battery_soc/request battery_soc/response battery_automation/grid_data battery_automation/rates_data battery_automation/soc_data Reporting Issues Encounter an issue? Please raise it on the GitHub repository under the 'Issues' section. Your feedback helps improve the addon.

About

The database and scripts to run the battery estimations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.3%
  • HTML 6.1%
  • CSS 4.0%
  • Shell 1.8%
  • Dockerfile 0.8%