Germany
https://www.carstengrohmann.de
~carstengrohmann assigned ~carstengrohmann to #3 on ~carstengrohmann/deye-mqtt-ha-plugin
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
Have you been able to test the proposed change and is the missing data now visible?
Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin
The plugin has the filter
DEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS
to exclude topics that are provided but not used. By default this filter excludes pv2 to pv4. Please adjustDEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS
in yourconfig.env
and recreate the container to activate the changes inconfig.env
, as a simple restart of the container will not do this.
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.