Seite 18 von 21

Re: Home assistant - custom integration für openWB

Verfasst: Sa Nov 01, 2025 4:11 pm
von Johnny79
arni hat geschrieben: Mi Okt 29, 2025 12:58 pm Irgenwelche Tipps.
Ja, in die mosquitto.conf muss folgender Inhalt:
connection openwb
address openwb.fritz.box:1883
start_type automatic
topic openWB/# both 2
local_clientid openwb.mosquitto
try_private false
cleansession true
Edit unter address musst die die IP der openWB eingeben z.B. 192.168.0.111:1883.

Code: Alles auswählen

:1883
muss angehängt werden, dass is der Port.

Re: Home assistant - custom integration für openWB

Verfasst: Sa Nov 01, 2025 4:42 pm
von openWB
Wenn man nicht genau weiß was man macht würde ich von # Both als Option abraten.

Re: Home assistant - custom integration für openWB

Verfasst: Sa Nov 01, 2025 6:05 pm
von arni
So habe den Fehler gefunden.
die mosquitto.conf in der >>Share>mosquitto Ornder war falsch eingetragen:

Code: Alles auswählen

#
# bridge to openWB Wallbox
#
connection openwb
address 192.168.178.XX:1883
start_type automatic
topic openWB/# in 2
topic openWB/set/ChargeMode both 2
topic openWB/config/set/pv/minCurrentMinPv
topic openWB/set/lp/1/ChargePointEnabled both 2
topic openWB/set/lp/2/ChargePointEnabled both 2
topic openWB/config/set/sofort/lp/1/chargeLimitation both 2
topic openWB/config/set/sofort/lp/2/chargeLimitation both 2
topic openWB/config/set/sofort/lp/1/current both 2
topic openWB/config/set/sofort/lp/2/current both 2
topic openWB/config/set/sofort/lp/1/energyToCharge both 2
topic openWB/config/set/sofort/lp/2/energyToCharge both 2
topic openWB/config/set/sofort/lp/1/socToChargeTo both 2
topic openWB/config/set/sofort/lp/2/socToChargeTo both 2
topic openWB/set/lp/1/%Soc both 2
topic openWB/set/lp/2/%Soc both 2
local_clientid openwb.mosquitto
try_private false
cleansession true
Jetzt gehts... Es hat mich Monate gekostet ;-DDD

Re: Home assistant - custom integration für openWB

Verfasst: Fr Nov 07, 2025 7:47 pm
von a4320909533
Hi zusammen,
ich konnte die neue API in meiner HA Custom Integration hinzufügen und suche Alpha-Tester.
Bitte schaut euch diesen Post mit weiteren Infos an, falls ihr Interesse habt:
viewtopic.php?p=135643#p135643
Lest dort auch unbedingt die Warnung und seid euch im Klaren, dass ihr aktuell frühe Tester seid.

Happy testing - und bitte gebt über Github Feedback.
Andreas

Re: Home assistant - custom integration für openWB

Verfasst: So Dez 14, 2025 2:05 pm
von a4320909533
Hi zusammen,
ich habe ein pre-Release der neuen openWB Home Assistant Integration erzeugt. Wer weiß, wie er mit HACS auf eine Preview-Version updatet, kann die neue Integration gerne testen.

Aber vorsicht: Stellt sicher, dass ihr die simpleAPI habt, indem ihr das API vorher aufruft:
http://IP-ADRESSE/openWB/simpleAPI/simp ... epoint_all

Das ist aktuell nur in der Alpha-Version 2.1.9.

Viel Erfolg beim Testen
Andreas

Re: Home assistant - custom integration für openWB

Verfasst: Mo Dez 15, 2025 1:15 pm
von kai9555
Gibt es für die Migration von MQTT zur API eine bestimmte Vorgehensweise?

Re: Home assistant - custom integration für openWB

Verfasst: Di Dez 16, 2025 5:59 am
von kai9555
Ich habs jetzt einfach mal probiert. Leider kommen keine Daten an (siehe Anhang). Über MQTT geht es jedoch. Eine Idee woran das liegen kann?
Ich bin natürlich auf der aktuellen 2.1.9 Alpha und die IP Adresse der openWB ist auch korrekt. Über die Adresse: http://192.168.2.84/openWB/simpleAPI/si ... epoint_all
kommen auch Daten.

Re: Home assistant - custom integration für openWB

Verfasst: Di Dez 16, 2025 8:21 am
von a4320909533
kai9555 hat geschrieben: Mo Dez 15, 2025 1:15 pm Gibt es für die Migration von MQTT zur API eine bestimmte Vorgehensweise?
Dir bleibt nichts anderes übrig, als die bestehende Integration zu löschen und mit der API-Variante wieder anzulegen. Wenn du den gleichen Prefix (Feld API Präfix auf der 2. Konfigurationsseite) nimmst, sollten die Entitäten gleich heißen.

Re: Home assistant - custom integration für openWB

Verfasst: Di Dez 16, 2025 8:24 am
von a4320909533
kai9555 hat geschrieben: Di Dez 16, 2025 5:59 am Ich habs jetzt einfach mal probiert. Leider kommen keine Daten an (siehe Anhang). Über MQTT geht es jedoch. Eine Idee woran das liegen kann?
Ich bin natürlich auf der aktuellen 2.1.9 Alpha und die IP Adresse der openWB ist auch korrekt. Über die Adresse: http://192.168.2.84/openWB/simpleAPI/si ... epoint_all
kommen auch Daten.
Was sagt denn das Debug-Log?
Die Integration sollte diese API aufrufen:
http://192.168.2.84/openWB/simpleAPI/si ... int_all=15

Kommen denn darüber auch Daten? Wenn du ohne den Parameter 15 aufrufst, schlägt der Auto-ID-Mechanismus der openWB-API zu.

Re: Home assistant - custom integration für openWB

Verfasst: Di Dez 16, 2025 8:37 am
von kai9555
Wenn ich den Link aufrufe, kommen keine Daten (siehe Anhang)

Welches Log bräuchtest du? Detail?