Open beebee opened 1 year ago
do you see any task for me so far?
is it a big problem?
ahoy-dtu does not seem to read the retained power on/off state when subscribing to the MQTT broker/topic after a reboot from my experience. I suggest you set some lower persistent limit on your battery inverter directly via ahoy GUI.
Should we think of publishing such tutorials / examples on https://ahoydtu.de?
No big problem from my side about the retain. I was putting it here for documentation/people to fiddle with and thought it might be helpful for the GitHub Wiki for the HA users. No Idea really about how big the need is - Examples on ahoy website sound nice to me.
@beebee @lumapu sollen wir das in tools / doc mit dem Script und einem Readme.md dokumentieren ?
Hello,
I tried to find a pure and simple Home Assistant only solution for a Zero Export / Nulleinspeisung automation without NodeRed and python scripts, additional RPIs, tools etc to simply work directly with HA & ahoy-du via MQTT and didn't find any matching my requirements. So I created my own with some support from ChatGPT to enhance it further and would like to share it here so others can use it as a starting point.
You need:
input_boolean: battery_nulleinspeisung: name: Battery Nulleinspeisung icon: mdi:battery-heart-variant
initial: false
alias: AHOY-DTU Battery Nulleinspeisung mit Hysterese description: >- Hält den Battery-Power-Limit für die Nulleinspeisung durch die Batterie aufrecht. trigger:
service: input_number.set_value target: entity_id: input_number.battery_limit data_template: value: >- {% set minBatteryPower = 0 %} {% set maxBatteryPower = 75 %} {% set hysteresis = 5 %}
Hints: