Skip to content

ajvdw/dbus-esphome-p1

Repository files navigation

dbus-esphome-p1

Integrate ESPHome P1 meter into Victron Energy Venus OS

Purpose

With the scripts in this repo it should be possible to add the ESPhome P1 meter to VenusOS.

Origin

This repo is based on similar projects for shelly and home wizard integration

Install & Configuration

Get the code

Just grap a copy of the main branche and copy them to /data/dbus-esphome-p1. After that call the install.sh script.

The following script should do everything for you:

wget https://github.com/ajvdw/dbus-esphome-p1/archive/refs/heads/main.zip
unzip main.zip "dbus-esphome-p1-main/*" -d /data
mv /data/dbus-esphome-p1-main /data/dbus-esphome-p1
chmod a+x /data/dbus-esphome-p1/install.sh
/data/dbus-esphome-p1/install.sh
rm main.zip

⚠️ Check configuration after that - because service is already installed an running and with wrong connection data you will spam the log-file

Change config.ini

Within the project there is a file /data/dbus-esphome-p1/config.ini - just change the values - most important is the host

Section Config vlaue Explanation
DEFAULT SignOfLifeLog Time in minutes how often a status is added to the log-file current.log with log-level INFO
DEFAULT CustomName Name of your device - usefull if you want to run multiple versions of the script
DEFAULT DeviceInstance DeviceInstanceNumber e.g. 40
DEFAULT LogLevel Define the level of logging - lookup: https://docs.python.org/3/library/logging.html#levels
DEFAULT Host IP or hostname of the ESPHome device

Used documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published