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.
- Creates and manages a database for storing essential calculation data.
- Easy access to the database via addon_config folder, accessible through Samba share.
- Home Assistant Supervisor installation.
- An operational MQTT broker (either Home Assistant's built-in broker or a separate one).
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.
Navigate to the addon store in your Home Assistant settings.
Click on the blue addon store icon.
Click the three dots at the top and select 'Add Repository'.
Copy the URL of this page and paste it into the dialog box, then click 'Add'.
Refresh the page. The addon should appear at the bottom of the list. Click on it and select 'Install'.
Configure the MQTT settings using either a local MQTT broker (like Mosquitto broker) or your own.
Select 'Save' and then 'Start' the addon.
Check the Home Assistant logs to confirm that the addon has started without errors.
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.