Giter Site home page Giter Site logo

hassio-addon-ism7mqtt's Introduction

Ism7MQTT Addon Repository

This Repository contains a Home Assistant Addon to run Ism7MQTT for reading data from Wolf heaters, equipped with an ISM7 Module, directly.

Also supports running multiple instances of ism7mqtt. To do so, configure the first instance normally, then, for each additional ISM7 you have, specify a block like this under "additional ISM7 devices":

- device_name: "WolfHeizung2"
  ism7_ip: "192.168.x.y"
  ism7_password: "something"
  interval: 60

Note that each ISM7 needs a distinct device name without spaces or special characters.

For more information, or if you encounter any issues, please refer to https://github.com/zivillian/ism7mqtt

Beginner guide

  1. Go to Settings -> Add Ons and install "Mosquitto broker" and Start it
  2. Go to Settings -> Integrations and install "MQTT" It will ask you if it should use the local "Mosquitto broker" Add-On - click Yes
  3. Go to Settings -> Add Ons "Add On Store" (bottom right) -> Repository (Top Right) -> Add "https://github.com/b3nn0/hassio-addon-ism7mqtt" Repository
  4. Add the "Ism7MQTT" Add-On and Configure it for your WOLFLINK (Name, IP, Password) -> Open the Add-On -> TAB "Configure"
  5. start the Add-On "Ism7MQTT", it will configure all Entities for your WOLF. If something goes wrong, check the log/protocol tab of the Add-on.

Important, if some entities are unavailable

The ISM7 Module is easily overwhelmed when monitoring hundreds of parameters. This can result in temporary connection drops, or some parameters being unavailable/not being updated.

Possible solutions have been found:

  • Reduce load on the microcontroller by disabling the connection to the Wolf portal
  • Manually disable a bunch of parameters you don't need anyway

To do so, click on parameters you don't need and note their device and parameter ID: image

Then use a text editor addon to modify the "config/ism7-parameters-Wolf.json" (or similar, depending on the device name) and remove either a complete device section, or individual parameters. These parameters will then not be queried any more, so more important updates work correctly. The removed parameters will disappear in Home Assistant on next restart.

hassio-addon-ism7mqtt's People

Contributors

b3nn0 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hassio-addon-ism7mqtt's Issues

Installationsanleitung

Hallo,

Gibt es eine Installationsanleitung für das Addon? Ich habe HA installiert, MQTT (mosquito) in HA installiert und das Addon ebenfalls installiert. Aber wie bekomme ich jetzt die Werte aus meiner Wolf-Anlage (in meinem Fall eine Lüftungsanlage) eingebunden?
Es wäre schön wenn es eine Anleitung oder zumindest ein paar Tipps geben würde.

Vielen Dank bereits im Voraus!!

CGB-2 Update only on restart

Ich habe ISM7 an meiner Wolf CGB-2 eingerichtet. Ich nutze WolfLink dazu als Hardware.
Alle Module (BM-2, DHK BM-2, SM, ISM) senden regelmäßig Updates und liefern Werte.
Nur die Heizung selbst (Gerät CGB-2) schickt immer nur dann Werte, wenn ich die Integration MQTT refreshe, bzw. neu starte.
Ich bekomme keinen Fehler oder ähnliches angezeigt, dass die Verbindung verloren ist. Er tut einfach so, dass er seitdem einfach keine Werte bekommen hat.
Hat noch jemand das Problem und eine Idee, wie ich das behebe?
LG, Frank

I have set up ISM7 on my Wolf CGB-2. I use WolfLink for this, as Hardware.
All modules (BM-2, DHK BM-2, SM, ISM) send regular updates and provide values just in time.
Only the heating itself (device CGB-2) only sends values when I refresh or restart the MQTT integration.
I don't get an error or anything similar indicating that the connection is lost. It simply pretends that it has not received any values since then.
Does anyone else have this problem and any ideas on how to fix it?
Best, Frank

Can no longer set anything on my CGB-2.

Hi.

I just realized that while in HA it seems like I can still set any parameter of my heating as before, none of them actually make it to the heating, yet they stick in MQTT.

For example: I switch my "Programmwahl Warmwasser" from Auto to Standby, and HA will, even after a restart of ism7mqtt, claim that it is now set to "Standby", yet that's untrue. The heating is still set to "Auto". The same is true for other settings, like "Warmwasser Solltemperatur Eingestellt) FWIW, MQTT Explorer also sees the "changed", yet incorrect (as it's not what is in the heating) values.

I think that might be an unwanted sideeffect of the changes in the latest version?!

Edit: And of course, it started working again minutes after I wrote this. I'll dig around a bit more, closing this one for now

Partymodus und Urlaubsmodus

Diverse Textfelder werden von der Heizung in den Home Assistant übertragen:

Partymodus:
text.wolf_bm2_0x30_330000_uhrzeit_ende "19:49:00"
text.wolf_bm2_0x30_330001_datum_ende "10/15/2023 00:00:00"
text.wolf_bm2_0x30_330002_uhrzeit_start "16:49:00"
text.wolf_bm2_0x30_330003_datum_start "10/15/2023 00:00:00"

Urlaubsmodus:
text.wolf_bm2_0x30_330008_uhrzeit_start "19:49:00"
text.wolf_bm2_0x30_330007_datum_ende "10/15/2023 00:00:00"
text.wolf_bm2_0x30_330008_uhrzeit_start "16:49:00"
text.wolf_bm2_0x30_330009_datum_start "10/15/2023 00:00:00"

Diese scheinen aber nur in diese eine Richtung zu funktionieren. Ein Schreibversuch des Textfeldes auf Home-Assistant-Ebene in die Gegenrichtung scheitert. Auf dem MQTT-Bus werden sie erfolgreich übertragen:

Wolf/BM-2_0x35/set/Uhrzeit_Start/330002 "12:45:56"
Wolf/BM-2_0x35/set/Uhrzeit_Ende/330000 "22:22:22"

... jedoch verbleiben im BM-2-System weiterhin die alten Werte.

Ich habe ein TGB-20 System mit ISM7-Firmware-Version 3.00.

Addon quite regularly stops running

Hi.

Every once in a while, every few days, I notice that the values I get from ism7mqtt stop changing in HA, and when I look, I realize the addon has just stopped running, despite the addon settings "Start on Boot" and "Watchdog" in HA are both enabled. I can just restart it manually and then it runs fine again for a few days when that happens.

This happens just during normal operation, without any activity like updating or restarting HA itself. I've tried to find a hint in the logs, but didn't see anything.

Currently running HASSOS 9.3 /Core 2023.1.5 on VMWare.

Auto-Discovery Einstellungen

Moin zusammen, ich komme leider an dem Punkt nicht weiter, wo HA automatisch Geräte und Entitäten erstellt. Zu meinem Setup. Ich nutze HA in Docker auf einem Raspi. Daher kann ich leider den Add-On Store nicht nutzen. Ich hab mir also Mosquitto native auf dem Raspi installiert und auch konfiguriert. ism7mqtt läuft auch native. Parameter.json ist erstellt. Ich kann auch mit jedem x-beliebigen MQTT Cliient die Nachrichten zum Topic Wolf abrufen. Auch aus der HA MQTT Integration kann ich in den Einstellungen Nachrichten empfangen. Mir fehlt jetzt der letzte Schritt, dass HA automatisch die Geräte etc. erstellt. Hier mal meine Config des Clients:
image
image
image

Nur leider sieht die Integration leer aus:
image

Wo ist mein Fehler? Ich hoffe hier kann mir jemand helfen. Danke :)

Whitelist für "ungefährliche" Parameter der ISM7

Seit der Home Assistant 2022.10 Version kann es sehr leicht passieren, dass man bei Nutzung der SmartPhone-App im Dashboard "Übersicht" (bei denen standardmäßig sämtliche Wolf-ISM7-Parameter zu sehen sind) einen Schieberegler beim Herunterwischen verstellt, z. B. die Kesselmaximaltemperatur von 80 °C auf 65 °C.

Damit das nicht passieren kann, habe ich bei meiner Installation alle relevanten Werte unter dem Menüpunkt "Einstellungen" -> "Entitäten" selektiert und mit "ausgewählte verstecken" auf verstecken gesetzt, damit das nicht mehr möglich ist, und anschließend dann nur einige wenige Einstellmöglichkeiten wie "1 x Warmwasser", "Partymodus", "Urlaubsmodus", "Zeitprogramm Zirkulation Heizgerät", "Programmwahl", "Zeitprogramm" bzw. einige interessante nur-lesbare Parameter wie "Wartungsmeldung", "Anlagendruck", "Außentemperatur", "Brennerstatus", "Kesseltemperatur", "Verbrauch aktueller Tag", "Warmwassertemperatur" wieder reaktiviert, d. h. diese sind jetzt nicht mehr versteckt.

Damit ist das obige Problem gut umschifft.
Gut wäre, es gäbe schon im Source-Code eine entsprechende "Whitelist" und diese würde für alle nicht in der Whitelist enthaltenen Entities die "Hidden"-Flags im Source Code automatisch setzen, sobald man das Modul einrichtet.

MQTT - "Client <unknown> closed its connection."

Guten Tag,

ich habe Home Assistant auf einem Raspberry Pi 4 installiert.
Auch die ersten Integrationen wie LG Thinq etc. hinzugefügt.
Die Integration MQTT habe ich aktiviert und meinen externen MQTT Server (Symcon) eingerichtet.
IP: 192.168.1.123 Port: 8884
Die Configuration.yaml um folgende Werte erweitert
mqtt_statestream:
base_topic: homeassistant
publish_attributes: true
publish_timestamps: true

Die Daten kommen auch sauber in meiner Symcon-Zentrale an.

Nun habe ich das Addon "ism7mqtt" aktiviert, die Daten werden auch vom Wolf ISM7 (sichtbar im Log) abgerufen + Mosquitto MQTT installiert, aber die Daten werden nicht an Symcon weitergeleitet.
Im Log von Mosquitto ist folgendes zu sehen

2023-11-01 11:20:37: New connection from 172.30.32.2:52162 on port 1883.
2023-11-01 11:20:37: Client closed its connection.

Gibt es eine Möglichkeit, die Daten an den externen MQTT Broker weiterzuleiten?

Durch meine ganzen Automatisierungen ist ein Wechsel von Symcon zu HA nicht schnell bzw. einfach umzusetzen, daher möchte ich beide Systeme zunächst parallel laufen lassen.

Documentation & HowTo

I'd like to link to this repo for "How to configure in HA". Are you fine with this?

minute-by-minute log entries

Hello,

I installed and set up my Wolf CWL. All works as far as I can see. But I get minute-by-minute log entries:

`Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:18:00"
00:16:23 - Vor 2 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit wechselte zu "00:18:00"
00:16:23 - Vor 2 Minuten

Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:16:00"
00:14:23 - Vor 4 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:16:00"
00:14:23 - Vor 4 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit wechselte zu "00:16:00"
00:14:23 - Vor 4 Minuten

Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:14:00"
00:12:22 - Vor 6 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:14:00"
00:12:22 - Vor 6 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit wechselte zu "00:14:00"
00:12:22 - Vor 6 Minuten

Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:12:00"
00:11:22 - Vor 7 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:12:00"
00:11:22 - Vor 7 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit wechselte zu "00:12:00"
00:11:22 - Vor 7 Minuten

Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:11:00"
00:10:22 - Vor 8 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit BM2 wechselte zu "00:11:00"
00:10:22 - Vor 8 Minuten
Wolf_Lüftungsanlage BM-2 Uhrzeit wechselte zu "00:11:00"
00:10:22 - Vor 8 Minuten`

Can you help me how to stop this? Do I have to delete the entities?

Read data /Invalid Logstat Fehler bei 3 Sensoren

Bei mir bleiben immer wieder dieselben Sensoren hängen und werden nicht mehr aktualisiert.

Alle anderen Sensoren werden funktionieren.

Nach einem Neustart des Addons werden die 3 Sensoren wieder für einige Zeit aktualisiert.

Es irritiert mich das nur 3 Sensoren betroffen sind.
Übergangsweise habe ich eine Automation laufen die das Addon alle 24 Stunden neu startet, allerdings tritt der Fehler trotzdem noch manchmal auf.

Addon Version 0.15

at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.InvalidDataException: invalid login state at ism7mqtt.Ism7Client.OnAuthenticateAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 338 at ism7mqtt.ResponseDispatcher.DispatchAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 32 at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 212 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.InvalidDataException: invalid login state at ism7mqtt.Ism7Client.OnAuthenticateAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 338 at ism7mqtt.ResponseDispatcher.DispatchAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 32 at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 212 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer)
at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166
Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json
System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166 System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer)
at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 190
Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json
System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.InvalidDataException: invalid login state at ism7mqtt.Ism7Client.OnAuthenticateAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 338 at ism7mqtt.ResponseDispatcher.DispatchAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 32 at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 212 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer)
at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166
System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166 at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 190 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer)
at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166
Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json
System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 166
Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.178.63 -t /config/ism7-parameters-Wolf.json
System.IO.InvalidDataException: invalid login state
at ism7mqtt.Ism7Client.OnAuthenticateAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 338
at ism7mqtt.ResponseDispatcher.DispatchAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 32
at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 212

Unable to connect

Hi I have following issues:

Setting up ism7mqtt ISM7i 192.168.2.29
Creating initial configuration /config/ism7-parameters-ISM7i.json
2024-02-26 07:16:06.6988|INFO|LuCon.WebPortal.StandaloneService.NetworkConnector|Try IP-resolve for host:192.168.2.29
2024-02-26 07:16:06.7672|INFO|LuCon.WebPortal.StandaloneService.NetworkConnector|Try connect destination server -> 192.168.2.29:9092, Timeout:60000 ms
2024-02-26 07:17:06.8052|ERROR|LuCon.WebPortal.StandaloneService.NetworkConnector|Timeout in DoConnect
2024-02-26 07:17:06.8090|ERROR|LuCon.WebPortal.StandaloneService.NetworkConnector|DoConnect
Unhandled exception. LuCon.Common.Declarations.BusinessServiceException: Die Verbindung zur Anlage kann nicht hergestellt werden. Aktualisieren Sie die Anlagenliste und versuchen Sie es nochmal.
at LuCon.WebPortal.StandaloneService.NetworkConnector.DoConnect(String server, IPAddress localIp, Int32 port, String password, IStreamHandler streamHandler)
at ism7config.Program.Main(String[] args) in /app/ism7config/Program.cs:line 120
at ism7config.Program.

(String[] args)
/run.sh: line 26: 147 Aborted (core dumped) /app/ism7config -t $parameters
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

What to do?

Brennerstarts werden als String und nicht als Zahl dargestellt

Hallo zusammen,

wie der Titel schon aussagt, werden ( nur bei mir? ) die Brennerstarts nicht als Zahl ausgewertet.

image

Somit wird es halt auch nicht als Diagramm angezeigt sondern wie im Screenshot ersichtlich als aneinander-reihung von strings

Wie kann man dies beheben ?

Danke vorab und grüße

Invalid value for number and some other problems/questions

First of all: Thanks for the add-on and your work. Very good work!

Wolf CGB-2-14 Firmware 2
BM-2 Firmware 2.50
ISM7 Firmware 3.00

Home Assistant 2023.7.3
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest

  1. I installed the add-on yesterday and at the moment there is only one error message in the HA log and that's very good. :-) Error message:

`Logger: homeassistant.components.mqtt.number
Source: components/mqtt/number.py:206
Integration: MQTT (documentation, issues)
First occurred: 11:05:22 (4 occurrences)
Last logged: 11:12:39

Invalid value for number.wolf_cgb2_0x03_180179_anlagenkorrekturfaktor: -327.68 (range 0.1 - 2.0)`

  1. Furthermore, there are some log entries "every second" that I cannot explain:

Logbuch
3. August 2023
Uhrzeit BM2 wechselte zu "12:15:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit Start wechselte zu "12:14:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit Ende wechselte zu "15:14:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit BM2 wechselte zu "12:15:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit Start wechselte zu "12:14:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit Ende wechselte zu "15:14:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit wechselte zu "12:15:00"
12:10:25 - Vor 3 Sekunden
Uhrzeit BM2 wechselte zu "12:13:00"
12:08:39 - Vor 2 Minuten

  1. Can it be that some values are not displayed with the correct unit of measurement?
    Example: Erzeugte Wärmemenge aktuelles Jahr 2.147.516.416 kWh
    OK I think this means: 2.147.516 kWh and 416 Watt - right? But I really don't think that can be true?

PS: Is it ok if I also post here in German? :-)

ERROR: Got unexpected response from the API: Service not enabled

Hello, I also have a Wolf ISM7 on my ventilation system. I installed the addon in Home Assistant, entered device name, IP address, password and left the update interval at 60 seconds, when I start the addon, no data is retrieved for me.
Do I need to do more steps?

The log says the following:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[20:46:56] ERROR: Got unexpected response from the API: Service not enabled
Setting up ism7mqtt WolfCWL 192.168.1.239
Starting ism7mqtt --hass-id=WolfCWL --interval=60 --ipAddress=192.168.1.239 -t /config/ism7-parameters-WolfCWL.json -d
-m, --mqttServer=VALUE MQTT Server
-i, --ipAddress=VALUE Wolf Hostname or IP address
-p, --password=VALUE Wolf password
-t, --parameter=VALUE path to parameter.json - defaults to parameter.json
--mqttuser=VALUE MQTT username
--mqttpass=VALUE MQTT password
-s, --separate send values to separate mqtt topics - also
disables json payload
--retain retain mqtt messages
--interval=VALUE push interval in seconds (defaults to 60)
--hass-id=VALUE HomeAssistant auto-discovery device id/entity
prefix (implies --separate and --retain)
-d, --debug dump raw xml messages
-h, --help show help

How to get it working in home assistant?

Hi guys,
could you please advise, what's my mistake, as I don't get it working?
I have a Wolflink Pro device connected and installed mosquitto mqtt and the ism7mqtt integration.
But I can't spot any new discovered entities? Logs from moquitto and ism7mqtt are attached.

2.txt
1.txt

Thank you very much for your advise!

switch to latest

Hi @b3nn0,

I've updated the latest tag to point to the current v0.0.14. This release contains the increased timeout for ism7config and also changes the invariant globalization handling.

Addon not shown after adding repo

Hi,
I added the repo to to the addon store but even after restart of HA the addon is not shown.

image

I cant find any logs relate.

Any guess ?

Are there any plans for multiple Heatpumps?

Hallo,

Great Addon, just installed it and i enjoy it a lot, exactly what i was looking for. Unfortunately, i have to integrate two heatpumps in one Home Assistant installation. Are there any plans to offer something like this in the future ?

Greetings Michael

Kesselsollwert nicht auslesbar

Zunächst: Vielen vielen Dank, dass du das hier programmiert hast. Nutz HA und das Teil erst seit ein paar Tagen und bin schwer begeistert! Richtig tolle Arbeit.

Bei mir lässt sich der Wert für die Kesselsolltemperatur "sensor.wolf_cgb2_0x3_180154_kesselsolltemperatur" nicht auslesen, er bleibt auf "Unknown". Die Kessel-IST-Temperatur ist problemlos zu erkennen. Mach ich was falsch oder ist das Auslesen nicht möglich?

(Ich nutze das schon seit Jahren in der SmartSet Software, um die Hystere zu optimieren - ich hab sehr häufig SOLL und IST verglichen. Wenn das auch hier gehen würde, wäre das schön :-))

Monitor power consumption

Hello,

Is it possible to get the power consumption? The total power consumption can be viewed in the Wolf Portal - so I guess there has to be something to pull it from.

Any ideas on how to do that?

Addon stopped working

No data is updated since June 1st. Restart/rebuild had no effect.

Error log:

Starting ism7mqtt --hass-id=WolfLink --interval=60 --ipAddress=192.168.0.112 -t /config/ism7-parameters-WolfLink.json
Jun 03 13:37:44 System.InvalidOperationException: There is an error in XML document (1, 78).
Jun 03 13:37:44 ---> System.Xml.XmlException: '�', hexadecimal value 0x01, is an invalid character. Line 1, position 78.
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.Throw(Exception e)
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.ParseAttributes()
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.ParseElement()
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
Jun 03 13:37:44 at System.Xml.XmlTextReaderImpl.Read()
Jun 03 13:37:44 at System.Xml.XmlReader.MoveToContent()
Jun 03 13:37:44 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLoginResp.Read4_directlogonresponse()

I tried removing the ism7-parameters-WolfLink.json

Different error:

Setting up ism7mqtt WolfLink 192.168.0.112
Removing legacy retained topics for WolfLink ...
Creating initial configuration /config/ism7-parameters-WolfLink.json
Jun 03 13:44:53 2024-06-03 13:44:53.1358|INFO|LuCon.WebPortal.StandaloneService.NetworkConnector|Try IP-resolve for host:192.168.0.112
Jun 03 13:44:53 2024-06-03 13:44:53.1607|INFO|LuCon.WebPortal.StandaloneService.NetworkConnector|Try connect destination server -> 192.168.0.112:9092, Timeout:60000 ms
Jun 03 13:44:54 2024-06-03 13:44:54.7459|INFO|LuCon.SocketServer.SocketServerBase.GatewayContext|GW:-1,0 Written XML, bytes:118, msg:
Jun 03 13:44:54
Jun 03 13:44:54 ********
Jun 03 13:44:54
Jun 03 13:44:54 2024-06-03 13:44:54.9119|INFO|LuCon.WebPortal.StandaloneService.NetworkConnector|Got XML msg:
Jun 03 13:44:54
Jun 03 13:44:54 WolfLink
Jun 03 13:44:54 682719db543f

Jun 03 13:44:54 2024-06-03T13:55:58
Jun 03 13:44:54 300.10.1.300.300.1
Jun 03 13:44:54 3.0
Jun 03 13:44:54 WOLFLink
Jun 03 13:44:54
Jun 03 13:44:54 2024-06-03 13:44:54.9260|ERROR|LuCon.WebPortal.StandaloneService.NetworkConnector|DoConnect
Unhandled exception. LuCon.Common.Declarations.BusinessServiceException: Die Verbindung zur Anlage kann nicht hergestellt werden. Aktualisieren Sie die Anlagenliste und versuchen Sie es nochmal.
at LuCon.WebPortal.StandaloneService.NetworkConnector.DoConnect(String server, IPAddress localIp, Int32 port, String password, IStreamHandler streamHandler)
at ism7config.Program.Main(String[] args) in /app/ism7config/Program.cs:line 120
at ism7config.Program.

(String[] args)
/run.sh: line 26: 154 Aborted (core dumped) /app/ism7config -t $parameters
155 Done | ts
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped

Seems it cannot connect to the ISM any longer, nothing was changed from my side and it was working for several month before. On the website of the ISM it flips from Connecting to SSL authentication to Not connect. Any ideas?

Probleme (vermutlich) seit Version 0.0.15: ISM unbekanntes Geräte bei MQTT und Regler/Steuerelemente funktionieren nicht mehr

Aktuelle Versionen:

  • Core 2023.11.3
  • Supervisor 2023.12.0
  • Operating System 11.1
  • Mosquitto broker 6.4.0

Vor drei Wochen habe ich ein Update auf Ism7MQTT v.0.0.15 gemacht und gleich im Anschluss auch ein HA Core Update von 2023.09.x auf 2013.11.3.

Leider erst heute - als ich 1 x Warmwasser über HA schalten wollte - ist mir aufgefallen das es jetzt Probleme gibt:

Problem 1: Bei der HA MQTT Client Integration taucht jetzt ein Wolf ISM Gerät auf
HA_Wolf_MQTT
das es da vorher eigentlich nicht gab. Bei dem ISM Gerät sind dann allerdings auch alle Sensoren unbekannt.
HA_ISM_Neu_Unbekannt
Vermutlich hängt das mit der multiple instances ab 0.0.15 zusammen, allerdings habe ich bei der Ism7MQTT Addon Konfiguration nichts geändert und dort natürlich unter Weitere ISM7 Geräte nichts eingetragen.

Frage: Ist das normal das das Wolf ISM Gerät jetzt bei der HA MQTT Integration auftaucht und wenn ja ist es normal das dort alle Sensoren unbekannt sind, oder wo liegt der Fehler?

Problem 2: Was gravierender ist ist das Steuerelemente jetzt nicht mehr funktionieren. Wie bereits erwähnt wollte ich eben das Steuerelement 1 x Warmwasser benutzen
HA_Wolf_WW_Regler
Der Schieberegler lässt sich dann zwar bewegen und welchselt seinen Status von grau auf blau, aber springt dann sofort wieder zurück in den Urzustand und 1 x Warmwasser wir bei der Heizung wird nicht ausgelöst.
Weder im Logbuch, noch im HA Protokoll, oder im Ism7MQTT Addon Protokoll gibt es irgendwelche (Fehler)Meldungen dazu.

Das Ism7MQTT Addon Protokoll sieht mir ansonsten auch so aus als wenn eigentlich alles i.O. sein sollte.
s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started Reading config from MQTT broker add-on: core-mosquitto/addons Setting up ism7mqtt Wolf 192.168.100.2 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.100.2 -t /config/ism7-parameters-Wolf.json

Ein Reboot von Host oder HA ändert an der Situation und den Problemen nichts. Außer das nach einem Reboot dann eben der Schieberegler für 1 x Warmwasser auf blau - also aktiv - stand. Allerdings wurde 1 x Warmwasser trotzdem nicht ausgelöst und auch da passiert dann wieder das gleiche, sprich wenn ich den Schieberegler dann von blau (aktiv) auf grau (inaktiv) schalte springt dieser sofort wieder zurück, sprich auf blau (aktiv). Ergo irgendetwas liegt da ziemlich im Argen. :-(

Bevor ich jetzt per Ism7MQTT Downgrade versuche ob dann wieder alles wie vorher funktioniert, hat hier ja vielleicht jemand eine Idee was jetzt die Ursachen für die Problemen sind. Bei den aktuellen oder alten Issues hier oder bei zivillian konnte ich nichts Passendes dazu finden.

Anm.: Das "vermutlich" in der Betreffzeile habe ich geschrieben da ich natürlich nicht mit Sicherheit sagen kann das die Probleme mit/durch v0.0.15 aufgetaucht sind, aber sicher ist das die Steuerung nach der Ersteinrichtung und über Monate hinweg, problemlos funktioniert hat.

VG Jim

Using ISM7MQTT without the Addon

Hello there, I've come access this HA addon as I'm getting a Wolf Home Link gateway in a couple weeks.
But I have one issue: I'm using HA core, so I am not able to install addons.
What does this addon do on top of the ISM7MQTT program to be able to have the entities in Home Assistant? Or ist ist purely there to make installation easier for hassio users?

Thanks in advance for your answer!

ism7mqtt unexpectedly quit with return code 134

Hallo,
seit ein paar Stunden zeigt das Log u.a. oben genannte Fehlermeldung, Das Addon wird aber ausgeführt (grüner Bubble).
Es wurden lediglich die neuesten HA-Updates installiert, sonst keine Änderung.
Folgendes Protokoll wird bei Neustart des Addons ausgegeben:

Starting ism7mqtt --hass-id=WolfWP --interval=60 --ipAddress=xxx -t /config/ism7-parameters-WolfWP.json -d
May 08 23:44:37 received mqtt with topic 'homeassistant/status' 'offline'
System.Net.Sockets.SocketException (110): Operation timed out
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task)
at ism7mqtt.Ism7Client.ConnectAsync(CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 63
at ism7mqtt.Ism7Client.RunAsync(String password, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 50
at ism7mqtt.Program.Main(String[] args) in /app/ism7mqtt/Program.cs:line 145
Unhandled exception. System.Net.Sockets.SocketException (110): Operation timed out
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task)
at ism7mqtt.Ism7Client.ConnectAsync(CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 63
at ism7mqtt.Ism7Client.RunAsync(String password, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 50
at ism7mqtt.Program.Main(String[] args) in /app/ism7mqtt/Program.cs:line 145
at ism7mqtt.Program.

(String[] args)
/run.sh: line 26: 388 Aborted (core dumped) /app/ism7mqtt $ISM_ARGS
389 Done | ts
ism7mqtt unexpectedly quit with return code 134

MQTT ist nicht auf dem HA...das war von Anfang an so. Die Meldung received mqtt with topic 'homeassistant/status' 'offline' ist aber neu.
Ich bekomme regelmäßig (auch seit der Installation des Addons) eine Benachrichtigung von Wolf, dass die Verbindung instabil sei. Ich habe aber zusätzlich weder über APP, noch über die Webseite Zugriff auf die Daten.

Über MQTT Explorer funktioniert der Zugriff auf den ISM7, aber die Daten werden nicht aktualisiert.
Hat noch jemand das Problem? Liegt es an den HA-Updates? Was ist hier falsch? Ich weiß leider nicht, wie man debugged...

Habe noch wenig Erfahrung mit HA und noch weniger mit GitHub, also seht es mir nach, falls dieses Issue nicht den Regeln(?) entspricht?

Beste Grüße
Susanne

use oldism7proxy possible?

I have an ism7i with FW-Version: 1.70
so i can communicate with

./oldism7proxy -i 192.168.1.127 -d

and that activate the config tool via:

./ism7config -i 127.0.0.1 -p secretpassword

but can I use that in the addon ass well?

auto create parameter.json

After reversing the android app, ism7mqtt no longer requires the smartset pc app and database to create a valid parameter.json. Instead there is an ism7config binary which directly connects to the ism, reads the available devices and parameters and writes them to the paramter.json. This is currently still in beta, because I haven't found anyone to test the new implementation.

Do you have any idea how this might be implemented for this addon? I'm still not really using HA, so I don't know how this is done by other integrations, but maybe you have an idea.

Program selection for heating not adjustable? Time program not adjustable

Hello

I have the following problems:

Firstly:
I can set the Auto, Party and Standby program for hot water in Home Assistant, but not the program for heating. Here I can only find a sensor that shows me which program has been selected (sensor.wolf_bwl1s_0x3_240025_betriebsart) Heating is a BWL 1S /7. So how can I select the program (Auto, Standby etc ) for the heating?

Secondly;
I have the option to select the time programs or the vacation mode. However, I cannot specify the desired time/period myself.

Many thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.