Germany
https://www.carstengrohmann.de
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
I released a new version 2024-11-20. This version adds support for active power regulation but need the current docker image from Deye solar inverter MQTT bridge.
I'm not able to integrate ToU, based on the current implementation. You can configure it manually in HA.
Full list of changes:
- Add support for active power regulation
- Internal code changes
- Use new public API to create MQTT topic (requires Deye solar inverter MQTT bridge at least version 2024.11.1)
I am closing this ticket. You are welcome to open a new ticket if you encounter any problems.
REPORTED
RESOLVED CLOSEDComment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
REPORTED
RESOLVED CLOSEDComment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
Great news!
Please check
DEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS
inconfig.env
. The example from the README.md excludes the uptime topic as well as pv2 till pv4 as I don't need these topics.# Topics not published to HA # Use : as separator, supports Unix shell-style wildcards *, ?, [seq] and # [!seq] as implemented with Python fnmatch, DEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS=uptime:*/pv[234]/*
Adapt the pattern in
DEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS
to your needs.
~carstengrohmann assigned ~carstengrohmann to #2 on ~carstengrohmann/deye-mqtt-ha-plugin
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
Hmm, Unfortunately I have no idea either, but I would:
- set
LOG_LEVEL=DEBUG
inconfig.env
and re-create the container- check the debug log
- open a shell inside the container
docker exec -ti deye-mqtt /bin/sh
and check if the plugins directory is populatedBTW: You can frame code blocks with “~~~” to make the layout easier to read.
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
Hi,
DeyeMqttClient.publish()
is available since version 2024.06.2 of deye-inverter-mqtt.Please update to the newest release.
Regards, Carsten
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
I've fixed the missing device class "energy" for topics ac/total_energy_bought and ac/daily_energy_sold in bbaaf004.
~carstengrohmann assigned ~carstengrohmann to #1 on ~carstengrohmann/deye-mqtt-ha-plugin
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
~kosl Regarding writing time of use configuration: You've to write all configuration first and to send a 'write' command to
{MQTT_TOPIC_PREFIX}/timeofuse/control/command
later according the documentation in Writing Time Of Use configuration. Therefore you need a button to trigger thewrite
command additionally to the sensors.
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
I implemented publishing active power regulation to to HA. The plugin is available in branch active_power_regulation.
Please test and share your feedback.