~carstengrohmann

Germany

https://www.carstengrohmann.de

Trackers

~carstengrohmann/deye-mqtt-ha-plugin

Last active a month ago

~carstengrohmann/OOMAnalyser

Last active 2 years ago

~carstengrohmann/smm

Last active 4 years ago

#1 enhancement with deye battery inverter 21 days ago

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 CLOSED

#2 Cannot get the plugin to work a month ago

Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin

REPORTED RESOLVED CLOSED

#2 Cannot get the plugin to work a month ago

Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin

Great news!

Please check DEYE_HA_PLUGIN_IGNORE_TOPIC_PATTERNS in config.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.

#2 Cannot get the plugin to work a month ago

~carstengrohmann assigned ~carstengrohmann to #2 on ~carstengrohmann/deye-mqtt-ha-plugin

#2 Cannot get the plugin to work a month ago

Comment by ~carstengrohmann on ~carstengrohmann/deye-mqtt-ha-plugin

Hmm, Unfortunately I have no idea either, but I would:

  • set LOG_LEVEL=DEBUG in config.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 populated

BTW: You can frame code blocks with “~~~” to make the layout easier to read.

#2 Cannot get the plugin to work a month ago

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

#1 enhancement with deye battery inverter a month ago

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.

#1 enhancement with deye battery inverter a month ago

~carstengrohmann assigned ~carstengrohmann to #1 on ~carstengrohmann/deye-mqtt-ha-plugin

#1 enhancement with deye battery inverter a month ago

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 the write command additionally to the sensors.

#1 enhancement with deye battery inverter a month ago

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.