Het (grote?) hewalex warmtepomp(boiler) avontuur

Pagina: 1 ... 21 22 Laatste
Acties:

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo zusammen , ich brauche echt Hilfe ich habe auch eine hewalex wärmepumpe pwcu 300k 2.3kw
Ich habe elfin EW11a und ich glaube er empfängt daten aber ich schaffe es nicht es in homeassitent zu integrieren. Ich wäre für jede Hilfe die ich bekommen kann dankbar. Gruß

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op donderdag 6 maart 2025 @ 17:08:
Hallo zusammen , ich brauche echt Hilfe ich habe auch eine hewalex wärmepumpe pwcu 300k 2.3kw
Ich habe elfin EW11a und ich glaube er empfängt daten aber ich schaffe es nicht es in homeassitent zu integrieren. Ich wäre für jede Hilfe die ich bekommen kann dankbar. Gruß
Auf Seite 74 dieses Themas findest du viele Informationen darüber, wie du die Hewalex in Home Assistant integrieren kannst. @Jojan265 hat viel darüber geschrieben und eine vollständige Schritt-für-Schritt-Anleitung gegeben.
Du musst einen AppDaemon verwenden, damit die Informationen aus der Hewalex in MQTT umgewandelt werden.

[ Voor 7% gewijzigd door andre75 op 08-03-2025 20:44 ]


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Danke das habe ich überlesen ich werde es mal damit ausprobieren

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo zusammen habe mich jetzt an die Anleitung gehalten aber er macht folgenden Fehler bei mir :

Also die Pumpe ist angeschlossen der EW11 hat eine ip
aber im Homeassitent zeigt er :
Afbeeldingslocatie: https://tweakers.net/i/I6e3M5KD-Y7Dyab2-tvsIsbWfrM=/800x/filters:strip_exif()/f/image/cDCAG09rql4AbKepkhzyrvt6.png?f=fotoalbum_large

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op woensdag 12 maart 2025 @ 13:27:
Hallo zusammen habe mich jetzt an die Anleitung gehalten aber er macht folgenden Fehler bei mir :

Also die Pumpe ist angeschlossen der EW11 hat eine ip
aber im Homeassitent zeigt er :
[Afbeelding]
Versuche es mal mit einem anderen Skript. Das Skript von EduardWitteveen ist auf GitHub nicht zu finden. Einige Nutzer dieses Forums verwenden ein Skript von Chibald, das einwandfrei funktioniert.
https://github.com/Chibald/Hewalex2Mqtt

Acties:
  • 0 Henk 'm!

  • Hvdbnl
  • Registratie: December 2020
  • Laatst online: 08-06 11:18
andre75 schreef op woensdag 12 maart 2025 @ 21:41:
[...]


Versuche es mal mit einem anderen Skript. Das Skript von EduardWitteveen ist auf GitHub nicht zu finden. Einige Nutzer dieses Forums verwenden ein Skript von Chibald, das einwandfrei funktioniert.
https://github.com/Chibald/Hewalex2Mqtt
Ik had hem geforked en aangepast omdat ik 2 hewalexen heb, dus die versie gebruiken is misschien overbodig.

Je kan hem wel forken van EduardWitteveen en dan dit doen:
https://github.com/Eduard...96d465e8dff6e11f4e7cb137e

Dan moet hij het wel doen

All electric | 6500Wp zon | 15kWh accu | 54 kWh E-2008 | 3x MP2 3000 | Hewalex & spaarpomp | Hewalex 300L Boiler | Proxmox & Home automation


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Leider verstehe ich nicht was ich jetzt machen muss .
Also ich habe jetzt versucht beide über den Addonstore zu installieren aber es funktioniert nicht bei beiden der selbe fehler . 8)7 8)7

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op woensdag 12 maart 2025 @ 23:15:
Leider verstehe ich nicht was ich jetzt machen muss .
Also ich habe jetzt versucht beide über den Addonstore zu installieren aber es funktioniert nicht bei beiden der selbe fehler . 8)7 8)7
Installiere die AppDaemon über HACS.
Folge den Schritten Schritt für Schritt, wie sie auf Seite 74 dieses Forums beschrieben sind.
Het (grote?) hewalex warmtepomp(boiler) avontuur
Mit einem AppDaemon und den Schritten von @Jojan265 sollte es funktionieren.

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
andre75 schreef op donderdag 13 maart 2025 @ 20:24:
[...]


Installiere die AppDaemon über HACS.
Folge den Schritten Schritt für Schritt, wie sie auf Seite 74 dieses Forums beschrieben sind.
Het (grote?) hewalex warmtepomp(boiler) avontuur
Mit einem AppDaemon und den Schritten von @Jojan265 sollte es funktionieren.
Ich habe da noch eine Verständnis Frage :
Der APPDeamon ersetzt den Docker ?
Ich bin echt am lesen aber leider bin ich noch recht frisch im Homeassitent unterwegs . 8)7
Aber danke für die Vorschläge in anderen Foren wird gar nicht geantwortet auf meine Fragen .
Ihr seit Super :)

Acties:
  • 0 Henk 'm!

  • Sterke-Jerke
  • Registratie: Juni 2006
  • Laatst online: 07-06 14:02
We antwoorden in Nederlands, er is namelijk een kans dat de tread gesloten wordt wanneer we in een ander taal werken,

Belangrijkste verschil
• AppDaemon is een uitbreiding binnen Home Assistant voor extra slimme automatiseringen.
• Docker is een manier om applicaties te draaien, inclusief Home Assistant en AppDaemon, zonder dat ze elkaar in de weg zitten.

AppDaemon draait binnen Home Assistant en kan heel specifieke logica uitvoeren die je niet standaard in de bediening (Home Assistant zelf) kunt instellen.

S.J.


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo zusammen ich bin ein Stück weiter . ich habe die Anleitung befolgt bekomme aber folgenden Fehler in APPdeamon:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[13:52:30] INFO: Starting AppDaemon...
2025-03-14 13:52:38.041685 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-14 13:52:38.042308 INFO AppDaemon: Python version is 3.11.10
2025-03-14 13:52:38.042515 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-14 13:52:38.042682 INFO AppDaemon: Added log: AppDaemon
2025-03-14 13:52:38.042851 INFO AppDaemon: Added log: Error
2025-03-14 13:52:38.043008 INFO AppDaemon: Added log: Access
2025-03-14 13:52:38.043204 INFO AppDaemon: Added log: Diag
2025-03-14 13:52:38.571184 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-14 13:52:38.971147 INFO HASS: HASS Plugin Initializing
2025-03-14 13:52:38.971311 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-14 13:52:38.971442 INFO HASS: HASS Plugin initialization complete
2025-03-14 13:52:38.974502 INFO AppDaemon: Initializing HTTP
2025-03-14 13:52:38.974928 INFO AppDaemon: Using 'ws' for event stream
2025-03-14 13:52:38.981648 INFO AppDaemon: Starting API
2025-03-14 13:52:38.983968 INFO AppDaemon: Starting Admin Interface
2025-03-14 13:52:38.984324 INFO AppDaemon: Starting Dashboards
2025-03-14 13:52:39.044181 INFO HASS: Connected to Home Assistant 2025.3.2
2025-03-14 13:52:39.057518 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-14 13:52:39.058424 INFO AppDaemon: Found 1 active apps
2025-03-14 13:52:39.058757 INFO AppDaemon: Found 0 inactive apps
2025-03-14 13:52:39.059016 INFO AppDaemon: Found 0 global libraries
2025-03-14 13:52:39.059262 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-14 13:52:39.060773 INFO AppDaemon: Running on port 5050
2025-03-14 13:52:39.137278 INFO HASS: Evaluating startup conditions
2025-03-14 13:52:39.172098 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-14 13:52:39.172428 INFO HASS: All startup conditions met
2025-03-14 13:52:39.312901 INFO AppDaemon: Got initial state from namespace default
2025-03-14 13:52:41.069686 INFO AppDaemon: Scheduler running in realtime
2025-03-14 13:52:41.073421 INFO AppDaemon: Adding /config/apps to module import path
2025-03-14 13:52:41.073793 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-14 13:52:41.074051 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-14 13:52:41.081227 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-14 13:52:41.255625 WARNING AppDaemon: No app description found for: /config/apps/hello.py - ignoring
2025-03-14 13:52:41.256268 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-14 13:52:41.256960 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-14 13:52:41.257840 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-14 13:52:41.258738 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-14 13:52:41.259399 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-14 13:52:41.261206 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-14 13:52:41.261761 INFO AppDaemon: Loading app hewalex2mqtt using class Myapp from module hewalex2mqtt
2025-03-14 13:52:41.263733 WARNING AppDaemon: Unable to find class Myapp in module hewalex2mqtt - 'hewalex2mqtt' is not initialized
2025-03-14 13:52:41.264277 WARNING AppDaemon: Unable to find module hewalex2mqtt - initialize() skipped
2025-03-14 13:52:41.264846 INFO AppDaemon: App initialization complete

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op vrijdag 14 maart 2025 @ 13:56:
Hallo zusammen ich bin ein Stück weiter . ich habe die Anleitung befolgt bekomme aber folgenden Fehler in APPdeamon:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[13:52:30] INFO: Starting AppDaemon...
2025-03-14 13:52:38.041685 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-14 13:52:38.042308 INFO AppDaemon: Python version is 3.11.10
2025-03-14 13:52:38.042515 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-14 13:52:38.042682 INFO AppDaemon: Added log: AppDaemon
2025-03-14 13:52:38.042851 INFO AppDaemon: Added log: Error
2025-03-14 13:52:38.043008 INFO AppDaemon: Added log: Access
2025-03-14 13:52:38.043204 INFO AppDaemon: Added log: Diag
2025-03-14 13:52:38.571184 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-14 13:52:38.971147 INFO HASS: HASS Plugin Initializing
2025-03-14 13:52:38.971311 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-14 13:52:38.971442 INFO HASS: HASS Plugin initialization complete
2025-03-14 13:52:38.974502 INFO AppDaemon: Initializing HTTP
2025-03-14 13:52:38.974928 INFO AppDaemon: Using 'ws' for event stream
2025-03-14 13:52:38.981648 INFO AppDaemon: Starting API
2025-03-14 13:52:38.983968 INFO AppDaemon: Starting Admin Interface
2025-03-14 13:52:38.984324 INFO AppDaemon: Starting Dashboards
2025-03-14 13:52:39.044181 INFO HASS: Connected to Home Assistant 2025.3.2
2025-03-14 13:52:39.057518 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-14 13:52:39.058424 INFO AppDaemon: Found 1 active apps
2025-03-14 13:52:39.058757 INFO AppDaemon: Found 0 inactive apps
2025-03-14 13:52:39.059016 INFO AppDaemon: Found 0 global libraries
2025-03-14 13:52:39.059262 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-14 13:52:39.060773 INFO AppDaemon: Running on port 5050
2025-03-14 13:52:39.137278 INFO HASS: Evaluating startup conditions
2025-03-14 13:52:39.172098 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-14 13:52:39.172428 INFO HASS: All startup conditions met
2025-03-14 13:52:39.312901 INFO AppDaemon: Got initial state from namespace default
2025-03-14 13:52:41.069686 INFO AppDaemon: Scheduler running in realtime
2025-03-14 13:52:41.073421 INFO AppDaemon: Adding /config/apps to module import path
2025-03-14 13:52:41.073793 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-14 13:52:41.074051 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-14 13:52:41.081227 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-14 13:52:41.255625 WARNING AppDaemon: No app description found for: /config/apps/hello.py - ignoring
2025-03-14 13:52:41.256268 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-14 13:52:41.256960 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-14 13:52:41.257840 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-14 13:52:41.258738 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-14 13:52:41.259399 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-14 13:52:41.261206 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-14 13:52:41.261761 INFO AppDaemon: Loading app hewalex2mqtt using class Myapp from module hewalex2mqtt
2025-03-14 13:52:41.263733 WARNING AppDaemon: Unable to find class Myapp in module hewalex2mqtt - 'hewalex2mqtt' is not initialized
2025-03-14 13:52:41.264277 WARNING AppDaemon: Unable to find module hewalex2mqtt - initialize() skipped
2025-03-14 13:52:41.264846 INFO AppDaemon: App initialization complete
Ich war auch eine Weile damit beschäftigt, es zum Laufen zu bringen. Schau dir die Einstellungen ganz genau an, das kommt sehr genau.

Überprüfen Sie MQTT

/addon_configs/a0d7b954_appdaemon/apps/hewalex2mqttconfig.ini
[MQTT]
MQTT_ip = korrekte IP-Adresse?
MQTT_port = 1883. Richtiger MQTT-Port?
MQTT_authentication = True
MQTT_user = Benutzername, falls zutreffend?
MQTT_pass = Passwort?
MQTT_GatewayDevice_Topic = HewaGate

[Pcwu]
#-----------------------------------------------------------------------------------------------
Device_Pcwu_Enabled = True
Device_Pcwu_Address = IP-Adresse Enfi11 korrekt?
Device_Pcwu_Port = Port Enfi11 richtig?
Device_Pcwu_MqttTopic = Heatpump

ist Master-Slave richtig?

/addon_configs/a0d7b954_appdaemon/apps/hewalex2mqtt.py
import appdaemon.plugins.hass.hassapi as hass
import os
import threading
import configparser
import serial
from hewalex_geco.devices import PCWU
import paho.mqtt.client as mqtt
import logging
import sys

# The class definition for the AppDaemon app
class MyApp(hass.Hass):
# Declare dev as a class attribute
dev = None

# Your app initialization logic here
def initialize(self):
# polling interval
self.get_status_interval = 30.0

# Controller (Master)
conHardId = 1 (Meister richtig)
conSoftId = 1

# PCWU (Slave)
devHardId = 2 (Sklave richtig)
devSoftId = 2

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hi ich bin umgestiegen auf Waveshare und jetzt ist ein neuer Fehler da .

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2025.3.3
 Home Assistant Supervisor: 2025.03.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting pyserial
  Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 4.0 MB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[14:39:28] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2025-03-15 14:39:32.504075 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-15 14:39:32.504276 INFO AppDaemon: Python version is 3.11.10
2025-03-15 14:39:32.504412 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-15 14:39:32.504591 INFO AppDaemon: Added log: AppDaemon
2025-03-15 14:39:32.504719 INFO AppDaemon: Added log: Error
2025-03-15 14:39:32.504822 INFO AppDaemon: Added log: Access
2025-03-15 14:39:32.504925 INFO AppDaemon: Added log: Diag
2025-03-15 14:39:32.742746 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-15 14:39:32.981412 INFO HASS: HASS Plugin Initializing
2025-03-15 14:39:32.981705 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-15 14:39:32.981929 INFO HASS: HASS Plugin initialization complete
2025-03-15 14:39:32.982399 INFO AppDaemon: Initializing HTTP
2025-03-15 14:39:32.982785 INFO AppDaemon: Using 'ws' for event stream
2025-03-15 14:39:32.986689 INFO AppDaemon: Starting API
2025-03-15 14:39:32.989093 INFO AppDaemon: Starting Admin Interface
2025-03-15 14:39:32.989645 INFO AppDaemon: Starting Dashboards
2025-03-15 14:39:33.007102 INFO HASS: Connected to Home Assistant 2025.3.3
2025-03-15 14:39:33.019286 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-15 14:39:33.020249 INFO AppDaemon: Found 1 active apps
2025-03-15 14:39:33.020557 INFO AppDaemon: Found 0 inactive apps
2025-03-15 14:39:33.020896 INFO AppDaemon: Found 0 global libraries
2025-03-15 14:39:33.021145 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-15 14:39:33.021859 INFO AppDaemon: Running on port 5050
2025-03-15 14:39:33.083716 INFO HASS: Evaluating startup conditions
2025-03-15 14:39:33.093054 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-15 14:39:33.093454 INFO HASS: All startup conditions met
2025-03-15 14:39:33.142840 INFO AppDaemon: Got initial state from namespace default
2025-03-15 14:39:35.027752 INFO AppDaemon: Scheduler running in realtime
2025-03-15 14:39:35.032096 INFO AppDaemon: Adding /config/apps to module import path
2025-03-15 14:39:35.032451 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-15 14:39:35.032721 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-15 14:39:35.038918 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-15 14:39:35.220010 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-15 14:39:35.221090 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-15 14:39:35.221929 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-15 14:39:35.222776 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-15 14:39:35.223402 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-15 14:39:35.224238 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-15 14:39:35.226899 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-15 14:39:35.228456 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-15 14:39:35,231 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-15 14:39:35,231 :: hewalex2mqtt :: INFO :: reading config
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT user: 
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT pass: 
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-15 14:39:35.234305 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.234727 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-15 14:39:35.235019 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.242134 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-15 14:39:35.242572 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.243434 INFO AppDaemon: App initialization complete

Acties:
  • 0 Henk 'm!

  • Jojan265
  • Registratie: Februari 2022
  • Laatst online: 23:11
shooter77 schreef op zaterdag 15 maart 2025 @ 14:43:
Hi ich bin umgestiegen auf Waveshare und jetzt ist ein neuer Fehler da .

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2025.3.3
 Home Assistant Supervisor: 2025.03.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting pyserial
  Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 4.0 MB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[14:39:28] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2025-03-15 14:39:32.504075 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-15 14:39:32.504276 INFO AppDaemon: Python version is 3.11.10
2025-03-15 14:39:32.504412 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-15 14:39:32.504591 INFO AppDaemon: Added log: AppDaemon
2025-03-15 14:39:32.504719 INFO AppDaemon: Added log: Error
2025-03-15 14:39:32.504822 INFO AppDaemon: Added log: Access
2025-03-15 14:39:32.504925 INFO AppDaemon: Added log: Diag
2025-03-15 14:39:32.742746 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-15 14:39:32.981412 INFO HASS: HASS Plugin Initializing
2025-03-15 14:39:32.981705 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-15 14:39:32.981929 INFO HASS: HASS Plugin initialization complete
2025-03-15 14:39:32.982399 INFO AppDaemon: Initializing HTTP
2025-03-15 14:39:32.982785 INFO AppDaemon: Using 'ws' for event stream
2025-03-15 14:39:32.986689 INFO AppDaemon: Starting API
2025-03-15 14:39:32.989093 INFO AppDaemon: Starting Admin Interface
2025-03-15 14:39:32.989645 INFO AppDaemon: Starting Dashboards
2025-03-15 14:39:33.007102 INFO HASS: Connected to Home Assistant 2025.3.3
2025-03-15 14:39:33.019286 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-15 14:39:33.020249 INFO AppDaemon: Found 1 active apps
2025-03-15 14:39:33.020557 INFO AppDaemon: Found 0 inactive apps
2025-03-15 14:39:33.020896 INFO AppDaemon: Found 0 global libraries
2025-03-15 14:39:33.021145 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-15 14:39:33.021859 INFO AppDaemon: Running on port 5050
2025-03-15 14:39:33.083716 INFO HASS: Evaluating startup conditions
2025-03-15 14:39:33.093054 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-15 14:39:33.093454 INFO HASS: All startup conditions met
2025-03-15 14:39:33.142840 INFO AppDaemon: Got initial state from namespace default
2025-03-15 14:39:35.027752 INFO AppDaemon: Scheduler running in realtime
2025-03-15 14:39:35.032096 INFO AppDaemon: Adding /config/apps to module import path
2025-03-15 14:39:35.032451 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-15 14:39:35.032721 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-15 14:39:35.038918 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-15 14:39:35.220010 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-15 14:39:35.221090 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-15 14:39:35.221929 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-15 14:39:35.222776 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-15 14:39:35.223402 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-15 14:39:35.224238 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-15 14:39:35.226899 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-15 14:39:35.228456 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-15 14:39:35,231 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-15 14:39:35,231 :: hewalex2mqtt :: INFO :: reading config
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT user: 
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: MQTT pass: 
2025-03-15 14:39:35,233 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-15 14:39:35.234305 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.234727 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-15 14:39:35.235019 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.242134 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-15 14:39:35.242572 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 14:39:35.243434 INFO AppDaemon: App initialization complete
Zo is de start bij mij (zie onderstaande logfile):

Mij valt op, dat je geen user en wachtwoord hebt ingevuld bij de MQTT.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2025.3.3
 Home Assistant Supervisor: 2025.03.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting pyserial
  Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 4.1 MB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[15:28:42] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2025-03-15 15:28:45.651254 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-15 15:28:45.651455 INFO AppDaemon: Python version is 3.11.10
2025-03-15 15:28:45.651660 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-15 15:28:45.651775 INFO AppDaemon: Added log: AppDaemon
2025-03-15 15:28:45.651894 INFO AppDaemon: Added log: Error
2025-03-15 15:28:45.651998 INFO AppDaemon: Added log: Access
2025-03-15 15:28:45.652113 INFO AppDaemon: Added log: Diag
2025-03-15 15:28:45.827917 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-15 15:28:46.014471 INFO HASS: HASS Plugin Initializing
2025-03-15 15:28:46.014659 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-15 15:28:46.014815 INFO HASS: HASS Plugin initialization complete
2025-03-15 15:28:46.015192 INFO AppDaemon: Initializing HTTP
2025-03-15 15:28:46.015445 INFO AppDaemon: Using 'ws' for event stream
2025-03-15 15:28:46.018376 INFO AppDaemon: Starting API
2025-03-15 15:28:46.020165 INFO AppDaemon: Starting Admin Interface
2025-03-15 15:28:46.020392 INFO AppDaemon: Starting Dashboards
2025-03-15 15:28:46.031076 INFO HASS: Connected to Home Assistant 2025.3.3
2025-03-15 15:28:46.040733 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-15 15:28:46.041544 INFO AppDaemon: Found 1 active apps
2025-03-15 15:28:46.041714 INFO AppDaemon: Found 0 inactive apps
2025-03-15 15:28:46.041869 INFO AppDaemon: Found 0 global libraries
2025-03-15 15:28:46.042043 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-15 15:28:46.042682 INFO AppDaemon: Running on port 5050
2025-03-15 15:28:46.074855 INFO HASS: Evaluating startup conditions
2025-03-15 15:28:46.081805 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-15 15:28:46.082046 INFO HASS: All startup conditions met
2025-03-15 15:28:46.124034 INFO AppDaemon: Got initial state from namespace default
2025-03-15 15:28:48.050474 INFO AppDaemon: Scheduler running in realtime
2025-03-15 15:28:48.055217 INFO AppDaemon: Adding /config/apps to module import path
2025-03-15 15:28:48.055994 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-15 15:28:48.056685 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-15 15:28:48.067955 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-15 15:28:48.275605 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-15 15:28:48.276381 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-15 15:28:48.276894 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-15 15:28:48.277378 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-15 15:28:48.278469 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-15 15:28:48.279581 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-15 15:28:48.280472 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-15 15:28:48.282757 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-15 15:28:48,283 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-15 15:28:48,283 :: hewalex2mqtt :: INFO :: reading config addon_config Appdaemon
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.178.7
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-15 15:28:48,284 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-15 15:28:48,285 :: hewalex2mqtt :: DEBUG :: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b''
2025-03-15 15:28:48,285 :: hewalex2mqtt :: INFO :: Subscribed to: Heatpump/Command
2025-03-15 15:28:48,285 :: hewalex2mqtt :: DEBUG :: Sending SUBSCRIBE (d0, m1) [(b'Heatpump/Command', 1)]
2025-03-15 15:28:48,292 :: hewalex2mqtt :: DEBUG :: Received CONNACK (0, 0)
2025-03-15 15:28:48,292 :: hewalex2mqtt :: INFO :: Connected to MQTT Broker with result code: 0
2025-03-15 15:28:48,292 :: hewalex2mqtt :: DEBUG :: Sending SUBSCRIBE (d0, m2) [(b'Heatpump/Command/#', 0)]
2025-03-15 15:28:48,292 :: hewalex2mqtt :: DEBUG :: Received SUBACK
2025-03-15 15:28:48,293 :: hewalex2mqtt :: DEBUG :: Received SUBACK
2025-03-15 15:28:48,695 :: hewalex2mqtt :: INFO :: Heatpump/date 2025-03-15
2025-03-15 15:28:48,696 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m3), 'b'Heatpump/date'', ... (10 bytes)

LG-HM071MR-U44 / SWW Hewalex PCWU 3.0 / PV SMA + Jinko 14 kWp / Kia e-Niro


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hat jemand mal Zeit für mich ich könnte im Discord auf euch warten
https://discord.gg/wQFgbDcc

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo hier noch mal der Log von AppDeamon
Habe jetzt sogar einen neuen User erzeugt bei MQTT klappt aber immer noch nicht .
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2025.3.3
 Home Assistant Supervisor: 2025.03.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting pyserial
  Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.6 MB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[19:06:44] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2025-03-15 19:06:48.226144 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-15 19:06:48.226510 INFO AppDaemon: Python version is 3.11.10
2025-03-15 19:06:48.226759 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-15 19:06:48.226997 INFO AppDaemon: Added log: AppDaemon
2025-03-15 19:06:48.227225 INFO AppDaemon: Added log: Error
2025-03-15 19:06:48.227416 INFO AppDaemon: Added log: Access
2025-03-15 19:06:48.227662 INFO AppDaemon: Added log: Diag
2025-03-15 19:06:48.470765 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-15 19:06:48.695416 INFO HASS: HASS Plugin Initializing
2025-03-15 19:06:48.695680 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-15 19:06:48.695859 INFO HASS: HASS Plugin initialization complete
2025-03-15 19:06:48.696249 INFO AppDaemon: Initializing HTTP
2025-03-15 19:06:48.696656 INFO AppDaemon: Using 'ws' for event stream
2025-03-15 19:06:48.699902 INFO AppDaemon: Starting API
2025-03-15 19:06:48.702322 INFO AppDaemon: Starting Admin Interface
2025-03-15 19:06:48.702793 INFO AppDaemon: Starting Dashboards
2025-03-15 19:06:48.714902 INFO HASS: Connected to Home Assistant 2025.3.3
2025-03-15 19:06:48.724109 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-15 19:06:48.724995 INFO AppDaemon: Found 1 active apps
2025-03-15 19:06:48.725479 INFO AppDaemon: Found 0 inactive apps
2025-03-15 19:06:48.727766 INFO AppDaemon: Found 0 global libraries
2025-03-15 19:06:48.727970 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-15 19:06:48.728773 INFO AppDaemon: Running on port 5050
2025-03-15 19:06:48.769162 INFO HASS: Evaluating startup conditions
2025-03-15 19:06:48.775873 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-15 19:06:48.776267 INFO HASS: All startup conditions met
2025-03-15 19:06:48.817796 INFO AppDaemon: Got initial state from namespace default
2025-03-15 19:06:50.734351 INFO AppDaemon: Scheduler running in realtime
2025-03-15 19:06:50.737521 INFO AppDaemon: Adding /config/apps to module import path
2025-03-15 19:06:50.738013 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-15 19:06:50.738357 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-15 19:06:50.745437 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-15 19:06:50.919855 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-15 19:06:50.920537 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-15 19:06:50.922100 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-15 19:06:50.922761 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-15 19:06:50.923493 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-15 19:06:50.924259 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-15 19:06:50.925021 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-15 19:06:50.929200 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-15 19:06:50,930 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-15 19:06:50,930 :: hewalex2mqtt :: INFO :: reading config
2025-03-15 19:06:50,931 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-15 19:06:50,933 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-15 19:06:50,933 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-15 19:06:50.934674 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.935351 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-15 19:06:50.935714 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.941115 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-15 19:06:50.941454 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.942325 INFO AppDaemon: App initialization complete



Afbeeldingslocatie: https://tweakers.net/i/iSUZY9wfQfM0IXkkSmL6mgPYGvA=/800x/filters:strip_exif()/f/image/BtUwbEpr1JeERrGNx68fH8RF.png?f=fotoalbum_large

Afbeeldingslocatie: https://tweakers.net/i/__B2GHEm8YBCT8toI-Zqt9dDIKM=/800x/filters:strip_exif()/f/image/OxZPOAvoknSclD1t2EOnGS2j.png?f=fotoalbum_large
Ich habe alles noch mal neu gemacht von Seite 74 aber ich weiß nicht warum es nicht klappt

Acties:
  • 0 Henk 'm!

  • Jerra
  • Registratie: Oktober 2016
  • Laatst online: 01:59

Jerra

Beunhaas in wording

Nou wordt het toch wel heel veel duitse activiteit hier.

@shooter77
Würde es Ihnen etwas ausmachen, Ihre Fragen auf Niederländisch zu stellen und Antworten zu erhalten? Auf diese Weise halten wir das Forum (und die Antworten) zielgruppengerecht.

Acties:
  • +2 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Ik ga het eens proberen, kijken wat Google kan doen

Acties:
  • 0 Henk 'm!

  • Jojan265
  • Registratie: Februari 2022
  • Laatst online: 23:11
shooter77 schreef op zaterdag 15 maart 2025 @ 19:11:
Hallo hier noch mal der Log von AppDeamon
Habe jetzt sogar einen neuen User erzeugt bei MQTT klappt aber immer noch nicht .
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2025.3.3
 Home Assistant Supervisor: 2025.03.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting pyserial
  Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading https://wheels.home-assistant.io/musllinux-index/pyserial-3.5-py2.py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.6 MB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[19:06:44] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2025-03-15 19:06:48.226144 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2025-03-15 19:06:48.226510 INFO AppDaemon: Python version is 3.11.10
2025-03-15 19:06:48.226759 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-03-15 19:06:48.226997 INFO AppDaemon: Added log: AppDaemon
2025-03-15 19:06:48.227225 INFO AppDaemon: Added log: Error
2025-03-15 19:06:48.227416 INFO AppDaemon: Added log: Access
2025-03-15 19:06:48.227662 INFO AppDaemon: Added log: Diag
2025-03-15 19:06:48.470765 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2025-03-15 19:06:48.695416 INFO HASS: HASS Plugin Initializing
2025-03-15 19:06:48.695680 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2025-03-15 19:06:48.695859 INFO HASS: HASS Plugin initialization complete
2025-03-15 19:06:48.696249 INFO AppDaemon: Initializing HTTP
2025-03-15 19:06:48.696656 INFO AppDaemon: Using 'ws' for event stream
2025-03-15 19:06:48.699902 INFO AppDaemon: Starting API
2025-03-15 19:06:48.702322 INFO AppDaemon: Starting Admin Interface
2025-03-15 19:06:48.702793 INFO AppDaemon: Starting Dashboards
2025-03-15 19:06:48.714902 INFO HASS: Connected to Home Assistant 2025.3.3
2025-03-15 19:06:48.724109 INFO AppDaemon: App 'hewalex2mqtt' added
2025-03-15 19:06:48.724995 INFO AppDaemon: Found 1 active apps
2025-03-15 19:06:48.725479 INFO AppDaemon: Found 0 inactive apps
2025-03-15 19:06:48.727766 INFO AppDaemon: Found 0 global libraries
2025-03-15 19:06:48.727970 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2025-03-15 19:06:48.728773 INFO AppDaemon: Running on port 5050
2025-03-15 19:06:48.769162 INFO HASS: Evaluating startup conditions
2025-03-15 19:06:48.775873 INFO HASS: Startup condition met: hass state=RUNNING
2025-03-15 19:06:48.776267 INFO HASS: All startup conditions met
2025-03-15 19:06:48.817796 INFO AppDaemon: Got initial state from namespace default
2025-03-15 19:06:50.734351 INFO AppDaemon: Scheduler running in realtime
2025-03-15 19:06:50.737521 INFO AppDaemon: Adding /config/apps to module import path
2025-03-15 19:06:50.738013 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-15 19:06:50.738357 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-15 19:06:50.745437 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-15 19:06:50.919855 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-15 19:06:50.920537 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-15 19:06:50.922100 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-15 19:06:50.922761 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-15 19:06:50.923493 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-15 19:06:50.924259 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-15 19:06:50.925021 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-15 19:06:50.929200 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-15 19:06:50,930 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-15 19:06:50,930 :: hewalex2mqtt :: INFO :: reading config
2025-03-15 19:06:50,931 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-15 19:06:50,932 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-15 19:06:50,933 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-15 19:06:50,933 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-15 19:06:50.934674 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.935351 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-15 19:06:50.935714 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.941115 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-15 19:06:50.941454 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-15 19:06:50.942325 INFO AppDaemon: App initialization complete



[Afbeelding]

[Afbeelding]
Ich habe alles noch mal neu gemacht von Seite 74 aber ich weiß nicht warum es nicht klappt
Welk adres heeft je Hewalex? Standaard staat deze op 2, maar ik heb hem op 3 gezet en daarvoor dus ook file /addon_configs/a0d7b954_appdaemon/apps/hewalex2mqtt.py:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class MyApp(hass.Hass):
    # Declare dev as a class attribute
    dev = None

    # Your app initialization logic here
    def initialize(self):
        # polling interval
        self.get_status_interval = 20.0
        
        # Controller (Master)
        self.conHardId = 1
        self.conSoftId = 1
        
        # PCWU (Slave)
        self.devHardId = 3
        self.devSoftId = 3

LG-HM071MR-U44 / SWW Hewalex PCWU 3.0 / PV SMA + Jinko 14 kWp / Kia e-Niro


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo ,
Ik zal nu de verbinding op de Hewalex Controller opnieuw wijzigen. Op dit moment heb ik een hele dunne kabel erop. Ik gebruik nu een Eib KNX-kabel om bij de 4 schroeven te komen.
Zodra ik dat heb gedaan, meld ik me weer. Ik hoop dat de buslijn ongeveer 10 meter lang kan zijn.[/quote]Welk adres heeft je Hewalex? Standaard staat deze op 2, maar ik heb hem op 3 gezet en daarvoor dus ook file /addon_configs/a0d7b954_appdaemon/apps/hewalex2mqtt.py:
[quote]
Ik heb ook de controller gewijzigd naar 3 en 3. Maar dezelfde fout

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo ,
De kabel is gearriveerd.
Hier zijn de foto's van hoe ik het heb aangesloten.
Afbeeldingslocatie: https://tweakers.net/i/_dGxzd8-bSjOq1xR0NGFtICs-fI=/800x/filters:strip_icc():strip_exif()/f/image/zhVHrVW4vcOn3WFcXO5lJZzX.jpg?f=fotoalbum_large

Afbeeldingslocatie: https://tweakers.net/i/f0T4-MpJLAiPer5PWOG2KWDuW9c=/800x/filters:strip_icc():strip_exif()/f/image/CuTwiR65E6giWw8Kiz1Dp6dP.jpg?f=fotoalbum_large

Afbeeldingslocatie: https://tweakers.net/i/INgNUGoZm8DyfRj5VsXQ6406www=/x800/filters:strip_icc():strip_exif()/f/image/GxgTVXA0vmjFi4zfT8hWbpm8.jpg?f=fotoalbum_large
k heb de Hewalex ingesteld op 2 en 2 en ook op 34500 Baut. Maar ik krijg nog steeds deze foutmelding. Het lag dus ook niet aan de kabel...
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
2025-03-18 17:48:54.567815 INFO HASS: All startup conditions met
2025-03-18 17:48:54.593620 INFO AppDaemon: Got initial state from namespace default
2025-03-18 17:48:56.545993 INFO AppDaemon: Scheduler running in realtime
2025-03-18 17:48:56.548034 INFO AppDaemon: Adding /config/apps to module import path
2025-03-18 17:48:56.548365 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-18 17:48:56.548629 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-18 17:48:56.552070 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-18 17:48:56.648050 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-18 17:48:56.648728 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-18 17:48:56.649272 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-18 17:48:56.649902 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-18 17:48:56.650463 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-18 17:48:56.650988 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-18 17:48:56.651502 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-18 17:48:56.652549 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: reading config
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-18 17:48:56.654833 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.655073 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-18 17:48:56.655223 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.659981 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-18 17:48:56.660212 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.660832 INFO AppDaemon: App initialization complete

Hier is mijn Hewalex2Mqtt.ini:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
[MQTT]
MQTT_ip = 192.168.1.222                               #Vul hier het IP adres in van HA
MQTT_port = 1883
MQTT_authentication = True
MQTT_user = mqtt
MQTT_pass = mqtt
MQTT_GatewayDevice_Topic = HewaGate

[Pcwu]
Device_Pcwu_Enabled = True
Device_Pcwu_Address = 192.168.1.220            #Vul hier het IP adres in van de Waveshare
Device_Pcwu_Port = 8899
Device_Pcwu_MqttTopic = Heatpump

En hier is mijn Hewalex2Mqqt.py:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
import appdaemon.plugins.hass.hassapi as hass
import os
import threading
import configparser
import serial
from hewalex_geco.devices import PCWU
import paho.mqtt.client as mqtt
import logging
import sys

# The class definition for the AppDaemon app
class MyApp(hass.Hass):
    # Declare dev as a class attribute
    dev = None

    # Your app initialization logic here
    def initialize(self):
        # polling interval
        self.get_status_interval = 30.0
        
        # Controller (Master)
        conHardId = 1
        conSoftId = 1
        
        # PCWU (Slave)
        devHardId = 2
        devSoftId = 2

        #mqtt
        self.flag_connected_mqtt = 0
        self.MessageCache = {}

        # Initialize the logger
        self.initLogger()

        # Initialize the configuration first
        self.initConfiguration()

        # Start MQTT connection
        self.start_mqtt()

        # Declare dev as a class attribute
        self.dev = PCWU(conHardId, conSoftId, devHardId, devSoftId, self.on_message_serial)

        # Call device_readregisters_enqueue to start the periodic task
        self.device_readregisters_enqueue()

    def initLogger(self):
        # Set up the logger
        self.logger = logging.getLogger(__name__)
        self.logger.setLevel(logging.DEBUG)
        formatter = logging.Formatter('%(asctime)s :: %(name)s :: %(levelname)s :: %(message)s')
        stream_handler = logging.StreamHandler(sys.stdout)
        stream_handler.setFormatter(formatter)
        stream_handler.setLevel(logging.DEBUG)
        self.logger.addHandler(stream_handler)
        self.logger.info("Initializing Hewalex 2 Mqtt")

    # Read Configs
    def initConfiguration(self):
        self.logger.info("reading config")
        config_file = os.path.join(os.path.dirname(__file__), 'hewalex2mqttconfig.ini')
        config = configparser.ConfigParser()
        config.read(config_file)
    
        # Mqtt
        self._MQTT_ip = config.get('MQTT', 'MQTT_ip')
        self._MQTT_port = config.getint('MQTT', 'MQTT_port')
        self._MQTT_authentication = config.getboolean('MQTT', 'MQTT_authentication')
        self._MQTT_user = config.get('MQTT', 'MQTT_user')
        self._MQTT_pass = config.get('MQTT', 'MQTT_pass')
        self.logger.info(f'MQTT ip: {self._MQTT_ip}')
        self.logger.info(f'MQTT port: {self._MQTT_port}')
        self.logger.info(f'MQTT authentication: {self._MQTT_authentication}')
        self.logger.info(f'MQTT user: {self._MQTT_user}')
        self.logger.info(f'MQTT pass: {self._MQTT_pass}')

        # PCWU Device
        self._Device_Pcwu_Enabled = config.getboolean('Pcwu', 'Device_Pcwu_Enabled')
        if self._Device_Pcwu_Enabled:
            self._Device_Pcwu_Address = config.get('Pcwu', 'Device_Pcwu_Address')
            self._Device_Pcwu_Port = config.getint('Pcwu', 'Device_Pcwu_Port')
            self._Device_Pcwu_MqttTopic = config.get('Pcwu', 'Device_Pcwu_MqttTopic')
            self.logger.info(f'Device_Pcwu_MqttTopic: {self._Device_Pcwu_MqttTopic}')
    
        # Use the values as needed in your app
        if self._Device_Pcwu_Enabled:
            # Create the serial connection with the correct baudrate
            # Do something with self._Device_Pcwu_Address, self._Device_Pcwu_Port, and self._Device_Pcwu_MqttTopic
            # For example, assign them to class attributes
            pass
        else:
            # Handle the case when Pcwu is not enabled
            pass

    def on_message_mqtt(self, client, userdata, message):    
        self.logger.info("Received message with topic: {}".format(message.topic))
        self.logger.info("Received command: {}".format(message.payload.decode('utf-8')))

        if message.topic == self._Device_Pcwu_MqttTopic + '/Command':
            command = message.payload.decode('utf-8')
            self.logger.info("Received message with topic:", message.topic)
            self.logger.info("Received command:", command)
            # Add your code to process the received command here
        else:
            # Handle other MQTT messages if needed
            pass

    # Define flag_connected_mqtt as a global variable at the beginning of the script
    #flag_connected_mqtt = 0
    def log_mqtt_status(self, kwargs):
        if self.flag_connected_mqtt == 1:
            self.logger.info("MQTT Broker is connected.")
        else:
            self.logger.info("MQTT Broker is disconnected.")

    def start_mqtt(self):
        self.mqtt_client = mqtt.Client()
        if self._MQTT_authentication:
            self.mqtt_client.username_pw_set(username=self._MQTT_user, password=self._MQTT_pass)
        self.mqtt_client.on_connect = self.on_mqtt_connect
        self.mqtt_client.on_disconnect = self.on_mqtt_disconnect
        self.mqtt_client.on_message = self.on_message_mqtt
        self.mqtt_client.enable_logger(self.logger)
        self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
        if self._Device_Pcwu_Enabled:
            self.logger.info('Subscribed to: ' + self._Device_Pcwu_MqttTopic + '/Command')
            self.mqtt_client.subscribe(self._Device_Pcwu_MqttTopic + '/Command', qos=1)

        self.mqtt_client.loop_start()
    
    def on_mqtt_connect(self, client, userdata, flags, rc):
        self.logger.info("Connected to MQTT Broker with result code: {}".format(rc))
        self.mqtt_client.subscribe("HewaGate")  # Update this to your desired topic
        self.flag_connected_mqtt = 1
    
    def on_mqtt_disconnect(self, client, userdata, rc):
        self.logger.info("Disconnected from MQTT Broker with result code: {}".format(rc))
        self.flag_connected_mqtt = 0
    
    def on_message_serial(self, obj, h, sh, m):
        #self.logger.info(f'on_message_serial flag_connected_mqtt: {self.flag_connected_mqtt}')
        #self.logger.info('on_message_serial')
        #self.logger.info(f'MessageCache obj: {obj}')
        #self.logger.info(f'MessageCache h: {h}')
        #self.logger.info(f'MessageCache sh: {sh}')
        #self.logger.info(f'MessageCache m: {m}')
        try:    
            if self.flag_connected_mqtt != 1:
                self.logger.info('on_message_serial not connected to mqtt')
                return False
            
            global MessageCache
            topic = self._Device_Pcwu_MqttTopic
            if sh["FNC"] == 0x50:
                mp = obj.parseRegisters(sh["RestMessage"], sh["RegStart"], sh["RegLen"])        
                for item in mp.items():
                    if isinstance(item[1], dict): # skipping dictionaries (time program) 
                        continue
                    key = topic + '/' + str(item[0])
                    val = str(item[1])
                    if key not in self.MessageCache or self.MessageCache[key] != val:
                        self.MessageCache[key] = val
                        self.logger.info(key + " " + val)
                        self.mqtt_client.publish(key, val)
    
        except Exception as e:
            self.logger.info('Exception in on_message_serial: '+ str(e))
    
    def device_readregisters_enqueue(self):
        """Get device status every x seconds"""
        #self.logger.info('Get device status')
        #self.logger.info(f'device_readregisters_enqueue flag_connected_mqtt: {self.flag_connected_mqtt}')
        threading.Timer(self.get_status_interval, self.device_readregisters_enqueue).start()
        if self._Device_Pcwu_Enabled:        
            self.readPCWU()
            self.readPcwuConfig()

    def readPCWU(self):    
        #self.logger.info(f'readPCWU flag_connected_mqtt: {self.flag_connected_mqtt}')
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        #self.logger.info(f'readPCWU: {ser}')
        self.dev.readStatusRegisters(ser)    
        ser.close()   
    
    def readPcwuConfig(self):    
        #self.logger.info(f'readPcwuConfig flag_connected_mqtt: {self.flag_connected_mqtt}')
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        #self.logger.info(f'readPCWUConfig: {ser}')
        self.dev.readConfigRegisters(ser)
        ser.close()
    
    def writePcwuConfig(self, registerName, payload):    
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        self.logger.info(f'writePcwuConfig: {ser}')
        self.dev.write(ser, registerName, payload)
        ser.close()
    
    def printPcwuMqttTopics(self):        
        print('| Topic | Type | Description | ')
        print('| ----------------------- | ----------- | ---------------------------')
        dev = PCWU(conHardId, conSoftId, devHardId, devSoftId, on_message_serial)
        for k, v in dev.registers.items():
            if isinstance(v['name'] , list):
                for i in v['name']:
                    if i:
                        print('| ' + _Device_Pcwu_MqttTopic + '/' + str(i) + ' | ' + v['type'] + ' | ' + str(v.get('desc')))
            else:
                print('| ' +_Device_Pcwu_MqttTopic + '/' + str(v['name'])+ ' | ' + v['type'] + ' | ' + str(v.get('desc')))
            if k > dev.REG_CONFIG_START:          
                print('| ' + _Device_Pcwu_MqttTopic + '/Command/' + str(v['name']) + ' | ' + v.get('type') + ' | ' + str(v.get('desc')))



if __name__ == "__main__":
    # Create an instance of your AppDaemon app
    app = MyApp()
    # Initialize the configuration
    app.initConfiguration()
    # Start MQTT connection
    app.start_mqtt()
    # Add this line to log the MQTT status periodically (e.g., every 60 seconds)
    app.run_every(app.log_mqtt_status, datetime.datetime.now(), 20)
    # Run the AppDaemon app
    app.run()

Acties:
  • 0 Henk 'm!

  • Jojan265
  • Registratie: Februari 2022
  • Laatst online: 23:11
shooter77 schreef op dinsdag 18 maart 2025 @ 21:59:
Hallo ,
De kabel is gearriveerd.
Hier zijn de foto's van hoe ik het heb aangesloten.
[Afbeelding]

[Afbeelding]

[Afbeelding]
k heb de Hewalex ingesteld op 2 en 2 en ook op 34500 Baut. Maar ik krijg nog steeds deze foutmelding. Het lag dus ook niet aan de kabel...
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
2025-03-18 17:48:54.567815 INFO HASS: All startup conditions met
2025-03-18 17:48:54.593620 INFO AppDaemon: Got initial state from namespace default
2025-03-18 17:48:56.545993 INFO AppDaemon: Scheduler running in realtime
2025-03-18 17:48:56.548034 INFO AppDaemon: Adding /config/apps to module import path
2025-03-18 17:48:56.548365 INFO AppDaemon: Adding /config/apps/hewalex_geco to module import path
2025-03-18 17:48:56.548629 INFO AppDaemon: Adding /config/apps/hewalex_geco/devices to module import path
2025-03-18 17:48:56.552070 INFO AppDaemon: Loading App Module: /config/apps/hewalex2mqtt.py
2025-03-18 17:48:56.648050 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/crc.py - ignoring
2025-03-18 17:48:56.648728 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/__init__.py - ignoring
2025-03-18 17:48:56.649272 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/__init__.py - ignoring
2025-03-18 17:48:56.649902 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/base.py - ignoring
2025-03-18 17:48:56.650463 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/pcwu.py - ignoring
2025-03-18 17:48:56.650988 WARNING AppDaemon: No app description found for: /config/apps/hewalex_geco/devices/zps.py - ignoring
2025-03-18 17:48:56.651502 INFO AppDaemon: Loading app hewalex2mqtt using class MyApp from module hewalex2mqtt
2025-03-18 17:48:56.652549 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: reading config
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222                               #Vul hier het IP adres in van HA
2025-03-18 17:48:56,653 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-18 17:48:56,654 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-18 17:48:56.654833 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.655073 WARNING hewalex2mqtt: Unexpected error running initialize() for hewalex2mqtt
2025-03-18 17:48:56.655223 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.659981 WARNING hewalex2mqtt: Traceback (most recent call last):
  File "/usr/lib/python3.11/encodings/idna.py", line 165, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/apps/hewalex2mqtt.py", line 40, in initialize
    self.start_mqtt()
  File "/config/apps/hewalex2mqtt.py", line 125, in start_mqtt
    self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 839, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 974, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2025-03-18 17:48:56.660212 WARNING hewalex2mqtt: ------------------------------------------------------------
2025-03-18 17:48:56.660832 INFO AppDaemon: App initialization complete

Hier is mijn Hewalex2Mqtt.ini:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
[MQTT]
MQTT_ip = 192.168.1.222                               #Vul hier het IP adres in van HA
MQTT_port = 1883
MQTT_authentication = True
MQTT_user = mqtt
MQTT_pass = mqtt
MQTT_GatewayDevice_Topic = HewaGate

[Pcwu]
Device_Pcwu_Enabled = True
Device_Pcwu_Address = 192.168.1.220            #Vul hier het IP adres in van de Waveshare
Device_Pcwu_Port = 8899
Device_Pcwu_MqttTopic = Heatpump

En hier is mijn Hewalex2Mqqt.py:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
import appdaemon.plugins.hass.hassapi as hass
import os
import threading
import configparser
import serial
from hewalex_geco.devices import PCWU
import paho.mqtt.client as mqtt
import logging
import sys

# The class definition for the AppDaemon app
class MyApp(hass.Hass):
    # Declare dev as a class attribute
    dev = None

    # Your app initialization logic here
    def initialize(self):
        # polling interval
        self.get_status_interval = 30.0
        
        # Controller (Master)
        conHardId = 1
        conSoftId = 1
        
        # PCWU (Slave)
        devHardId = 2
        devSoftId = 2

        #mqtt
        self.flag_connected_mqtt = 0
        self.MessageCache = {}

        # Initialize the logger
        self.initLogger()

        # Initialize the configuration first
        self.initConfiguration()

        # Start MQTT connection
        self.start_mqtt()

        # Declare dev as a class attribute
        self.dev = PCWU(conHardId, conSoftId, devHardId, devSoftId, self.on_message_serial)

        # Call device_readregisters_enqueue to start the periodic task
        self.device_readregisters_enqueue()

    def initLogger(self):
        # Set up the logger
        self.logger = logging.getLogger(__name__)
        self.logger.setLevel(logging.DEBUG)
        formatter = logging.Formatter('%(asctime)s :: %(name)s :: %(levelname)s :: %(message)s')
        stream_handler = logging.StreamHandler(sys.stdout)
        stream_handler.setFormatter(formatter)
        stream_handler.setLevel(logging.DEBUG)
        self.logger.addHandler(stream_handler)
        self.logger.info("Initializing Hewalex 2 Mqtt")

    # Read Configs
    def initConfiguration(self):
        self.logger.info("reading config")
        config_file = os.path.join(os.path.dirname(__file__), 'hewalex2mqttconfig.ini')
        config = configparser.ConfigParser()
        config.read(config_file)
    
        # Mqtt
        self._MQTT_ip = config.get('MQTT', 'MQTT_ip')
        self._MQTT_port = config.getint('MQTT', 'MQTT_port')
        self._MQTT_authentication = config.getboolean('MQTT', 'MQTT_authentication')
        self._MQTT_user = config.get('MQTT', 'MQTT_user')
        self._MQTT_pass = config.get('MQTT', 'MQTT_pass')
        self.logger.info(f'MQTT ip: {self._MQTT_ip}')
        self.logger.info(f'MQTT port: {self._MQTT_port}')
        self.logger.info(f'MQTT authentication: {self._MQTT_authentication}')
        self.logger.info(f'MQTT user: {self._MQTT_user}')
        self.logger.info(f'MQTT pass: {self._MQTT_pass}')

        # PCWU Device
        self._Device_Pcwu_Enabled = config.getboolean('Pcwu', 'Device_Pcwu_Enabled')
        if self._Device_Pcwu_Enabled:
            self._Device_Pcwu_Address = config.get('Pcwu', 'Device_Pcwu_Address')
            self._Device_Pcwu_Port = config.getint('Pcwu', 'Device_Pcwu_Port')
            self._Device_Pcwu_MqttTopic = config.get('Pcwu', 'Device_Pcwu_MqttTopic')
            self.logger.info(f'Device_Pcwu_MqttTopic: {self._Device_Pcwu_MqttTopic}')
    
        # Use the values as needed in your app
        if self._Device_Pcwu_Enabled:
            # Create the serial connection with the correct baudrate
            # Do something with self._Device_Pcwu_Address, self._Device_Pcwu_Port, and self._Device_Pcwu_MqttTopic
            # For example, assign them to class attributes
            pass
        else:
            # Handle the case when Pcwu is not enabled
            pass

    def on_message_mqtt(self, client, userdata, message):    
        self.logger.info("Received message with topic: {}".format(message.topic))
        self.logger.info("Received command: {}".format(message.payload.decode('utf-8')))

        if message.topic == self._Device_Pcwu_MqttTopic + '/Command':
            command = message.payload.decode('utf-8')
            self.logger.info("Received message with topic:", message.topic)
            self.logger.info("Received command:", command)
            # Add your code to process the received command here
        else:
            # Handle other MQTT messages if needed
            pass

    # Define flag_connected_mqtt as a global variable at the beginning of the script
    #flag_connected_mqtt = 0
    def log_mqtt_status(self, kwargs):
        if self.flag_connected_mqtt == 1:
            self.logger.info("MQTT Broker is connected.")
        else:
            self.logger.info("MQTT Broker is disconnected.")

    def start_mqtt(self):
        self.mqtt_client = mqtt.Client()
        if self._MQTT_authentication:
            self.mqtt_client.username_pw_set(username=self._MQTT_user, password=self._MQTT_pass)
        self.mqtt_client.on_connect = self.on_mqtt_connect
        self.mqtt_client.on_disconnect = self.on_mqtt_disconnect
        self.mqtt_client.on_message = self.on_message_mqtt
        self.mqtt_client.enable_logger(self.logger)
        self.mqtt_client.connect(self._MQTT_ip, self._MQTT_port)
        if self._Device_Pcwu_Enabled:
            self.logger.info('Subscribed to: ' + self._Device_Pcwu_MqttTopic + '/Command')
            self.mqtt_client.subscribe(self._Device_Pcwu_MqttTopic + '/Command', qos=1)

        self.mqtt_client.loop_start()
    
    def on_mqtt_connect(self, client, userdata, flags, rc):
        self.logger.info("Connected to MQTT Broker with result code: {}".format(rc))
        self.mqtt_client.subscribe("HewaGate")  # Update this to your desired topic
        self.flag_connected_mqtt = 1
    
    def on_mqtt_disconnect(self, client, userdata, rc):
        self.logger.info("Disconnected from MQTT Broker with result code: {}".format(rc))
        self.flag_connected_mqtt = 0
    
    def on_message_serial(self, obj, h, sh, m):
        #self.logger.info(f'on_message_serial flag_connected_mqtt: {self.flag_connected_mqtt}')
        #self.logger.info('on_message_serial')
        #self.logger.info(f'MessageCache obj: {obj}')
        #self.logger.info(f'MessageCache h: {h}')
        #self.logger.info(f'MessageCache sh: {sh}')
        #self.logger.info(f'MessageCache m: {m}')
        try:    
            if self.flag_connected_mqtt != 1:
                self.logger.info('on_message_serial not connected to mqtt')
                return False
            
            global MessageCache
            topic = self._Device_Pcwu_MqttTopic
            if sh["FNC"] == 0x50:
                mp = obj.parseRegisters(sh["RestMessage"], sh["RegStart"], sh["RegLen"])        
                for item in mp.items():
                    if isinstance(item[1], dict): # skipping dictionaries (time program) 
                        continue
                    key = topic + '/' + str(item[0])
                    val = str(item[1])
                    if key not in self.MessageCache or self.MessageCache[key] != val:
                        self.MessageCache[key] = val
                        self.logger.info(key + " " + val)
                        self.mqtt_client.publish(key, val)
    
        except Exception as e:
            self.logger.info('Exception in on_message_serial: '+ str(e))
    
    def device_readregisters_enqueue(self):
        """Get device status every x seconds"""
        #self.logger.info('Get device status')
        #self.logger.info(f'device_readregisters_enqueue flag_connected_mqtt: {self.flag_connected_mqtt}')
        threading.Timer(self.get_status_interval, self.device_readregisters_enqueue).start()
        if self._Device_Pcwu_Enabled:        
            self.readPCWU()
            self.readPcwuConfig()

    def readPCWU(self):    
        #self.logger.info(f'readPCWU flag_connected_mqtt: {self.flag_connected_mqtt}')
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        #self.logger.info(f'readPCWU: {ser}')
        self.dev.readStatusRegisters(ser)    
        ser.close()   
    
    def readPcwuConfig(self):    
        #self.logger.info(f'readPcwuConfig flag_connected_mqtt: {self.flag_connected_mqtt}')
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        #self.logger.info(f'readPCWUConfig: {ser}')
        self.dev.readConfigRegisters(ser)
        ser.close()
    
    def writePcwuConfig(self, registerName, payload):    
        ser = serial.serial_for_url("socket://%s:%s" % (self._Device_Pcwu_Address, self._Device_Pcwu_Port))
        self.logger.info(f'writePcwuConfig: {ser}')
        self.dev.write(ser, registerName, payload)
        ser.close()
    
    def printPcwuMqttTopics(self):        
        print('| Topic | Type | Description | ')
        print('| ----------------------- | ----------- | ---------------------------')
        dev = PCWU(conHardId, conSoftId, devHardId, devSoftId, on_message_serial)
        for k, v in dev.registers.items():
            if isinstance(v['name'] , list):
                for i in v['name']:
                    if i:
                        print('| ' + _Device_Pcwu_MqttTopic + '/' + str(i) + ' | ' + v['type'] + ' | ' + str(v.get('desc')))
            else:
                print('| ' +_Device_Pcwu_MqttTopic + '/' + str(v['name'])+ ' | ' + v['type'] + ' | ' + str(v.get('desc')))
            if k > dev.REG_CONFIG_START:          
                print('| ' + _Device_Pcwu_MqttTopic + '/Command/' + str(v['name']) + ' | ' + v.get('type') + ' | ' + str(v.get('desc')))



if __name__ == "__main__":
    # Create an instance of your AppDaemon app
    app = MyApp()
    # Initialize the configuration
    app.initConfiguration()
    # Start MQTT connection
    app.start_mqtt()
    # Add this line to log the MQTT status periodically (e.g., every 60 seconds)
    app.run_every(app.log_mqtt_status, datetime.datetime.now(), 20)
    # Run the AppDaemon app
    app.run()
Je moet hem niet aan de RCU aansluiten, maar op de tweede RS485 poort:

Afbeeldingslocatie: https://tweakers.net/i/Qto1zfXGGYALE6-F6DzVRfBHKso=/800x/filters:strip_exif()/f/image/1H33KZXiyjbJSlPaHUQSkptX.png?f=fotoalbum_large

LG-HM071MR-U44 / SWW Hewalex PCWU 3.0 / PV SMA + Jinko 14 kWp / Kia e-Niro


Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo, kan iemand mij vertellen welke stekker ik moet hebben?
Afbeeldingslocatie: https://tweakers.net/i/9WR4Z5_f3-qL9zu_eQDltzciHTA=/800x/filters:strip_icc():strip_exif()/f/image/UesapIyGv5XU1b3TRgyvcFHZ.jpg?f=fotoalbum_large
gibt es da eine Bezeichnung? die die ich Zuhause habe sind zu groß.

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo, ik heb het nu aangesloten, maar mijn Waveshare ontvangt geen gegevens via poort A en B
Ik heb er morgen een nieuwe besteld, we gaan verder
Afbeeldingslocatie: https://tweakers.net/i/UH_D-4EBPn4TCGSsbRBkQyLQC9M=/x800/filters:strip_icc():strip_exif()/f/image/p3apYMRu0Vvk7DmqTeMhuznU.jpg?f=fotoalbum_large

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
Jojan265 schreef op dinsdag 18 maart 2025 @ 22:07:
[...]

Je moet hem niet aan de RCU aansluiten, maar op de tweede RS485 poort:

[Afbeelding]
Het kan wel in serie met het display. Ik heb het ook in serie aangesloten en het werkt prima. De 2e RS485 aansluiting kan ik niet meer bij.

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op woensdag 19 maart 2025 @ 12:10:
Hallo, ik heb het nu aangesloten, maar mijn Waveshare ontvangt geen gegevens via poort A en B
Ik heb er morgen een nieuwe besteld, we gaan verder
[Afbeelding]
Controleer goed de instellingen van de Waveshare.
Dest. port staat bij jouw in 1883 en dat is goed.
Ik heb Port aangepast van 8899 naar 506 omdat het mij ook niet goed lukte.
DNS Server IP misschien aanpassen ? Standaard 8.8.4.4
Als Port is aangepast, dan deze ook aanpassen in Hewalex2Mqtt.ini
Ik moest ook een paar keer de App deamon opnieuw opstarten om het goed te krijgen.

Hewalex2Mqqt.py
Controller is master en deze staat op 1
PCWU is slave en ik heb deze op 2 gezet.

Afbeeldingslocatie: https://tweakers.net/i/yR2sKkVJrF4a6_rBXk-48PGziwE=/fit-in/4000x4000/filters:no_upscale():strip_exif()/f/image/nihdd9l5PKOc790HzEfy5fGZ.png?f=user_large

[ Voor 73% gewijzigd door andre75 op 19-03-2025 18:28 ]


Acties:
  • +3 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Ik heb de fout gevonden waarom AppDeamon niet doorging.
Ik moest het becommentarieerde gebied verwijderen, zie code.
Nu heb ik gegevens in de MQTT-makelaar maar nog niet in de homeassitent .
Maar het werkt!!!!
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
[MQTT]
MQTT_ip = 192.168.1.222
MQTT_port = 1883
MQTT_authentication = True
MQTT_user = mqtt
MQTT_pass = mqtt
MQTT_GatewayDevice_Topic = HewaGate

[Pcwu]
Device_Pcwu_Enabled = True
Device_Pcwu_Address = 192.168.1.200
Device_Pcwu_Port = 506
Device_Pcwu_MqttTopic = Heatpump

Hier is een log van Appdeamon:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
025-03-20 21:39:06.157319 INFO AppDaemon: Calling initialize() for hewalex2mqtt
2025-03-20 21:39:06,158 :: hewalex2mqtt :: INFO :: Initializing Hewalex 2 Mqtt
2025-03-20 21:39:06,160 :: hewalex2mqtt :: INFO :: reading config
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: MQTT ip: 192.168.1.222
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: MQTT port: 1883
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: MQTT authentication: True
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: MQTT user: mqtt
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: MQTT pass: mqtt
2025-03-20 21:39:06,161 :: hewalex2mqtt :: INFO :: Device_Pcwu_MqttTopic: Heatpump
2025-03-20 21:39:06,162 :: hewalex2mqtt :: DEBUG :: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b''
2025-03-20 21:39:06,162 :: hewalex2mqtt :: INFO :: Subscribed to: Heatpump/Command
2025-03-20 21:39:06,162 :: hewalex2mqtt :: DEBUG :: Sending SUBSCRIBE (d0, m1) [(b'Heatpump/Command', 1)]
2025-03-20 21:39:06,184 :: hewalex2mqtt :: DEBUG :: Received CONNACK (0, 0)
2025-03-20 21:39:06,184 :: hewalex2mqtt :: INFO :: Connected to MQTT Broker with result code: 0
2025-03-20 21:39:06,184 :: hewalex2mqtt :: DEBUG :: Sending SUBSCRIBE (d0, m2) [(b'HewaGate', 0)]
2025-03-20 21:39:06,184 :: hewalex2mqtt :: DEBUG :: Received SUBACK
2025-03-20 21:39:06,186 :: hewalex2mqtt :: DEBUG :: Received SUBACK
2025-03-20 21:39:06,568 :: hewalex2mqtt :: INFO :: Heatpump/date 2012-06-17
2025-03-20 21:39:06,568 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m3), 'b'Heatpump/date'', ... (10 bytes)
2025-03-20 21:39:06,570 :: hewalex2mqtt :: INFO :: Heatpump/time 22:13:50
2025-03-20 21:39:06,570 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m4), 'b'Heatpump/time'', ... (8 bytes)
2025-03-20 21:39:06,571 :: hewalex2mqtt :: INFO :: Heatpump/T1 21.9
2025-03-20 21:39:06,571 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m5), 'b'Heatpump/T1'', ... (4 bytes)
2025-03-20 21:39:06,571 :: hewalex2mqtt :: INFO :: Heatpump/T2 33.6
2025-03-20 21:39:06,572 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m6), 'b'Heatpump/T2'', ... (4 bytes)
2025-03-20 21:39:06,572 :: hewalex2mqtt :: INFO :: Heatpump/T3 32.2
2025-03-20 21:39:06,572 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m7), 'b'Heatpump/T3'', ... (4 bytes)
2025-03-20 21:39:06,572 :: hewalex2mqtt :: INFO :: Heatpump/T6 -50.0
2025-03-20 21:39:06,573 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m8), 'b'Heatpump/T6'', ... (5 bytes)
2025-03-20 21:39:06,573 :: hewalex2mqtt :: INFO :: Heatpump/T7 -50.0
2025-03-20 21:39:06,573 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m9), 'b'Heatpump/T7'', ... (5 bytes)
2025-03-20 21:39:06,574 :: hewalex2mqtt :: INFO :: Heatpump/T8 22.7
2025-03-20 21:39:06,574 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m10), 'b'Heatpump/T8'', ... (4 bytes)
2025-03-20 21:39:06,574 :: hewalex2mqtt :: INFO :: Heatpump/T9 -50.0
2025-03-20 21:39:06,575 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m11), 'b'Heatpump/T9'', ... (5 bytes)
2025-03-20 21:39:06,575 :: hewalex2mqtt :: INFO :: Heatpump/T10 23.9
2025-03-20 21:39:06,575 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m12), 'b'Heatpump/T10'', ... (4 bytes)
2025-03-20 21:39:06,576 :: hewalex2mqtt :: INFO :: Heatpump/IsManual True
2025-03-20 21:39:06,576 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m13), 'b'Heatpump/IsManual'', ... (4 bytes)
2025-03-20 21:39:06,576 :: hewalex2mqtt :: INFO :: Heatpump/FanON False
2025-03-20 21:39:06,577 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m14), 'b'Heatpump/FanON'', ... (5 bytes)
2025-03-20 21:39:06,577 :: hewalex2mqtt :: INFO :: Heatpump/CirculationPumpON False
2025-03-20 21:39:06,577 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m15), 'b'Heatpump/CirculationPumpON'', ... (5 bytes)
2025-03-20 21:39:06,577 :: hewalex2mqtt :: INFO :: Heatpump/HeatPumpON False
2025-03-20 21:39:06,577 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m16), 'b'Heatpump/HeatPumpON'', ... (5 bytes)
2025-03-20 21:39:06,579 :: hewalex2mqtt :: INFO :: Heatpump/CompressorON False
2025-03-20 21:39:06,580 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m17), 'b'Heatpump/CompressorON'', ... (5 bytes)
2025-03-20 21:39:06,580 :: hewalex2mqtt :: INFO :: Heatpump/HeaterEON False
2025-03-20 21:39:06,580 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m18), 'b'Heatpump/HeaterEON'', ... (5 bytes)
2025-03-20 21:39:06,580 :: hewalex2mqtt :: INFO :: Heatpump/EV1 120
2025-03-20 21:39:06,580 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m19), 'b'Heatpump/EV1'', ... (3 bytes)
2025-03-20 21:39:06,580 :: hewalex2mqtt :: INFO :: Heatpump/WaitingStatus 2
2025-03-20 21:39:06,580 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m20), 'b'Heatpump/WaitingStatus'', ... (1 bytes)
2025-03-20 21:39:07,286 :: hewalex2mqtt :: INFO :: Heatpump/InstallationScheme 1
2025-03-20 21:39:07,286 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m21), 'b'Heatpump/InstallationScheme'', ... (1 bytes)
2025-03-20 21:39:07,287 :: hewalex2mqtt :: INFO :: Heatpump/HeatPumpEnabled True
2025-03-20 21:39:07,287 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m22), 'b'Heatpump/HeatPumpEnabled'', ... (4 bytes)
2025-03-20 21:39:07,288 :: hewalex2mqtt :: INFO :: Heatpump/TapWaterSensor 0
2025-03-20 21:39:07,288 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m23), 'b'Heatpump/TapWaterSensor'', ... (1 bytes)
2025-03-20 21:39:07,289 :: hewalex2mqtt :: INFO :: Heatpump/TapWaterTemp 50.0
2025-03-20 21:39:07,289 :: hewalex2mqtt :: DEBUG :: Sending PUBLISH (d0, q0, r0, m24),


Nu hoef ik alleen nog maar de gegevens als entiteiten op te halen en de verwarming met overtollig zonlicht te laten werken.

Bedankt, bedankt, bedankt voor de hulp

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo,
Ik heb opnieuw hulp nodig:
Hoe krijg ik de gegevens van afbeelding 1 naar gegevens in afbeelding 2, wat moet ik doen?
Heeft iemand een idee?Afbeeldingslocatie: https://tweakers.net/i/FEz84aj1rZ9QWa-axVeDquLT6jU=/fit-in/4000x4000/filters:no_upscale():strip_exif()/f/image/n6WpG3exXQ3BbVdxrAZPR43U.png?f=user_large

Afbeeldingslocatie: https://tweakers.net/i/HvO-qgzCwvZF8v4MVefyLj3Cza4=/800x/filters:strip_exif()/f/image/TI4eshPIuseb3qZ6tqYnIqt0.png?f=fotoalbum_large

Heeft iemand de yaml die ik kan aanpassen.
Helaas herkent mijn Homeassistent nieuwe apparaten niet automatisch. 8)7 |:(

En ik wil graag een schakelaar in de Homeassitent waarmee ik de E Heater aan en uit kan zetten. Heeft iemand zoiets al geïmplementeerd?

Gruß

Acties:
  • 0 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
shooter77 schreef op vrijdag 21 maart 2025 @ 13:37:
Hallo,
Ik heb opnieuw hulp nodig:
Hoe krijg ik de gegevens van afbeelding 1 naar gegevens in afbeelding 2, wat moet ik doen?
Heeft iemand een idee?[Afbeelding]

[Afbeelding]

Heeft iemand de yaml die ik kan aanpassen.
Helaas herkent mijn Homeassistent nieuwe apparaten niet automatisch. 8)7 |:(

En ik wil graag een schakelaar in de Homeassitent waarmee ik de E Heater aan en uit kan zetten. Heeft iemand zoiets al geïmplementeerd?

Gruß
Maak een fila aan mqtt.yaml

#Hewalex PCWU

switch:
- name: "Heatpump On"
command_topic: "Heatpump/Command/HeatPumpEnabled"
payload_on: "True"
payload_off: "False"
state_on: "On"
state_off: "Off"
unique_id: hewalex_heatpump_on_switch
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "Heatpump Deactivation"
command_topic: "Heatpump/Command/ExtControllerHPOFF"
payload_on: "True"
payload_off: "False"
state_on: "On"
state_off: "Off"
unique_id: hewalex_heatpump_extcontrol_switch
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"


binary_sensor:

- name: "Status"
state_topic: "Heatpump/HeatPumpEnabled"
unique_id: "warmtepomp_heatpump"
payload_on: "True"
payload_off: "False"
device_class: "running"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"

- name: "Circulatiepomp"
state_topic: "Heatpump/CirculationPumpON"
unique_id: "warmtepomp_waterpomp"
payload_on: "True"
payload_off: "False"
device_class: "running"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"

- name: "Ventilator"
state_topic: "Heatpump/FanON"
payload_on: "True"
payload_off: "False"
unique_id: "warmtepomp_fan"
device_class: "running"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"

- name: "Compressor"
state_topic: "Heatpump/CompressorON"
unique_id: "warmtepomp_compressor"
payload_on: "True"
payload_off: "False"
device_class: "running"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"


climate:
- name: "Setpoint"
unique_id: "hewalex_setpoint"
retain: true
modes:
- "heat"
- "off"
current_temperature_topic: "Heatpump/T2"
temperature_command_topic: "Heatpump/Command/TapWaterTemp"
initial: "30"
min_temp: 15
max_temp: 50
temp_step: 1
temperature_command_template: "{{ value | int }}"
power_command_topic: "Heatpump/Command/HeatPumpEnabled"
mode_state_topic: "Heatpump/HeatPumpEnabled"
mode_command_topic: "Heatpump/Command/HeatPumpEnabled"
mode_state_template: "{% if value == 'True' %}Heat On{% else %}Heat Off{% endif %}"
mode_command_template: "{% if value == 'heat' %}True{% else %}False{% endif %}"
temperature_state_template: "Heatpump/TapWaterSensor"

sensor:

- name: "T1 Aanzuiglucht"
state_topic: "Heatpump/T1"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t1"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T2 Temperatuur buffer onder "
state_topic: "Heatpump/T2"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t2"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T3 Temperatuur buffer boven"
state_topic: "Heatpump/T3"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t3"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T6 HP Condensor IN"
state_topic: "Heatpump/T6"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t6"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T7 Condensor UIT"
state_topic: "Heatpump/T7"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t7"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T8 Temperatuur verdamper"
state_topic: "Heatpump/T8"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t8"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T9 Zuiggastemperatuur"
state_topic: "Heatpump/T9"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t9"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "T10 Persgastempeartuur"
state_topic: "Heatpump/T10"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_t10"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

- name: "Expansie ventiel"
state_topic: "Heatpump/EV1"
unit_of_measurement: "unit"
unique_id: "hewalex_heatpump_ev1"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"

- name: "Ingestelde Hysterese"
state_topic: "Heatpump/TapWaterHysteresis"
unit_of_measurement: "°C"
unique_id: "warmtepomp_hysteresis"
device:
identifiers:
- "heatpump_hewalex"
name: "Hewalex"

- name: "Ingestelde setpoint"
state_topic: "Heatpump/TapWaterTemp"
unit_of_measurement: "°C"
unique_id: "hewalex_heatpump_tapwater"
device:
identifiers:
- "hewalex_heatpump"
name: "Hewalex"

Acties:
  • 0 Henk 'm!

  • shooter77
  • Registratie: Maart 2025
  • Laatst online: 24-03 18:26
Hallo,
Ik heb nu de volgende Mqtt.yaml gemaakt.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
switch:
  - name: "Heizstab"
    command_topic: "Heatpump/Command/HeaterEON"  # Topic, um den Heizstab zu steuern
    payload_on: "True"                          # Payload für das Einschalten
    payload_off: "False"                        # Payload für das Ausschalten
    state_topic: "Heatpump/HeaterEON"           # Topic, um den Status des Heizstabs zu überwachen
    state_on: "True"                            # Status für "an"
    state_off: "False"                          # Status für "aus"
    unique_id: hewalex_heater_switch            # Eindeutige ID des Schalters
    device:
      identifiers:
        - "heatpump_hewalex"                    # Identifikator für das Gerät
      name: "Hewalex"                   # Name des Geräts


binary_sensor:
  - name: "Status"
    state_topic: "Heatpump/HeatPumpEnabled"
    unique_id: "warmtepomp_heatpump"
    payload_on: "True"
    payload_off: "False"
    device_class: "running"
    device:
      identifiers:
        - "heatpump_hewalex"

      name: "Hewalex"


  - name: "Ventilator"
    state_topic: "Heatpump/FanON"
    payload_on: "True"
    payload_off: "False"
    unique_id: "warmtepomp_fan"
    device_class: "running"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "Heizstab"
    state_topic: "Heatpump/HeaterEON"
    payload_on: "True"
    payload_off: "False"
    unique_id: "Eheater"
    device_class: "running"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"      

  - name: "Compressor"
    state_topic: "Heatpump/CompressorON"
    unique_id: "warmtepomp_compressor"
    payload_on: "True"
    payload_off: "False"
    device_class: "running"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"


climate:
  - name: "Setpoint"
    unique_id: "hewalex_setpoint"
    retain: true
    modes:
      - "heat"
      - "off"
    current_temperature_topic: "Heatpump/T2"
    temperature_command_topic: "Heatpump/Command/TapWaterTemp"
    initial: "30"
    min_temp: 15
    max_temp: 55
    temp_step: 1
    temperature_command_template: "{{ value | int }}"
    power_command_topic: "Heatpump/Command/HeatPumpEnabled"
    mode_state_topic: "Heatpump/HeatPumpEnabled"
    mode_command_topic: "Heatpump/Command/HeatPumpEnabled"
    mode_state_template: "{% if value == 'True' %}heat{% else %}off{% endif %}"
    mode_command_template: "{% if value == 'heat' %}True{% else %}False{% endif %}"
    temperature_state_template: "Heatpump/TapWaterSensor"


sensor:
  - name: "T1 Umgebungstemperatur"
    state_topic: "Heatpump/T1"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_t1"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "T2 Temperatur Speicher oben"
    state_topic: "Heatpump/T2"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_t2"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "T3 Temperatur Speicher unten"
    state_topic: "Heatpump/T3"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_t3"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "T8 Temperatuur verdamper"
    state_topic: "Heatpump/T8"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_t8"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "T10 Persgastempeartuur"
    state_topic: "Heatpump/T10"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_t10"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "Ingestelde Hysterese"
    state_topic: "Heatpump/TapWaterHysteresis"
    unit_of_measurement: "°C"
    unique_id: "warmtepomp_hysteresis"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"

  - name: "Ingestelde setpoint"
    state_topic: "Heatpump/TapWaterTemp"
    unit_of_measurement: "°C"
    unique_id: "hewalex_heatpump_tapwater"
    device:
      identifiers:
        - "heatpump_hewalex"
      name: "Hewalex"


Maar mijn schakelaar werkt nog steeds niet.
Het werkt alleen als ik het display op de warmtepomp aanzet, dan verandert de status. Als ik overschakel naar HA gebeurt er niets.
Ik kan het setpoint ook nog niet aanpassen.
Afbeeldingslocatie: https://tweakers.net/i/iimM2oZ6h1Rrh6FdljvcUL8IFcg=/800x/filters:strip_exif()/f/image/SfwE212Ub6ilBHBodJDNGyL6.png?f=fotoalbum_large
En ik heb een aantal sensoren naar het Duits vertaald.

Acties:
  • 0 Henk 'm!

  • gvamero
  • Registratie: Februari 2023
  • Laatst online: 20-04 14:39
Dankzij dit forum heb ik de Hewalex Warmtepomp PCWU 3kW met de instructies van @Jojan265 en in Home Assistant aan de praat gekregen, waarvoor dank.

Nu werken zowel Domoticz als Home Assistant en onafhankelijk van elkaar, zodra ik ook mijn Hewalex ZPS18e zonnecollector pomp in Home Assitant heb stap ik definitief over.

De hewalex2mqtt.py van @chibald ondersteund zowel de PCWU Warmtepomp als de ZPS18 zonneboiler maar in de versie van @Jojan265 is de ZPS 18 zonneboiler code verwijderd.

Heeft iemand AppDeamon met ZPS18e werkend heeft binnen Home Assistant? Zo ja, dan door ik dat graag.

Ik heb nog onvoldoende kennis van programmeren om hewalex2mqtt.py weer met ZPS uit te breiden dus zou me heel veel tijd schelen als iemand dit al heeft gedaan. Maar in de tussentijd probeer ik zelf de de ZPS18 code van Cibald werkend te krijgen met Appdeamon.

[ Voor 41% gewijzigd door gvamero op 08-04-2025 21:35 . Reden: Inhoud specifieker gemaakt. ]


Acties:
  • 0 Henk 'm!

  • magiel
  • Registratie: Januari 2005
  • Laatst online: 22:55
Hallo allemaal. In m’n zoektocht naar verwarming icm ventilatie lucht niet weggooien ben ik ook bij de hewalex uitgekomen.

Anno 2025, is de hewalex nog een goede koop? Subsidie even niet in acht nemend.

Ik wil het er _niet_ over hebben.


Acties:
  • 0 Henk 'm!

  • Martin7182
  • Registratie: Juni 2020
  • Laatst online: 00:02
Heeft iemand wel eens het probleem gehad dat het condenswater tijdelijk niet wegloopt? Ik had de afvoerslang in een 2 liter petfles gehangen, maar na een aantal dagen was er maar een halve liter water verzameld. Het uiteinde van de slang hing in het water, maar toen ik er lucht liet bijkomen stroomde er opeens ~2 liter water uit. De flessenhals is ruim genoeg en sluit niet af. De Hewalex hangt op 1.5 meter hoogte en de afvoerslang slingert met een paar ruime bochten naar beneden.

Acties:
  • 0 Henk 'm!

  • Jan_De_Tuinman
  • Registratie: November 2011
  • Laatst online: 21:22
magiel schreef op donderdag 17 april 2025 @ 21:03:
Hallo allemaal. In m’n zoektocht naar verwarming icm ventilatie lucht niet weggooien ben ik ook bij de hewalex uitgekomen.

Anno 2025, is de hewalex nog een goede koop? Subsidie even niet in acht nemend.
Ligt natuurlijk ook aan te verwarmen ruimte, grootte, warmte verlies en etc... Wij hebben het redelijk goed uitgehouden afgelopen winter met een hewalex in ons huis. Af en toe bijverwarmen met ons airco systeem.

De hewalex gaat wel meer geluid produceren naarmate het kouder wordt. Dat is iets wat ik nog wil tackelen voor komende wintern.

Acties:
  • 0 Henk 'm!

  • Sterke-Jerke
  • Registratie: Juni 2006
  • Laatst online: 07-06 14:02
Martin7182 schreef op donderdag 17 april 2025 @ 22:45:
Heeft iemand wel eens het probleem gehad dat het condenswater tijdelijk niet wegloopt? Ik had de afvoerslang in een 2 liter petfles gehangen, maar na een aantal dagen was er maar een halve liter water verzameld. Het uiteinde van de slang hing in het water, maar toen ik er lucht liet bijkomen stroomde er opeens ~2 liter water uit. De flessenhals is ruim genoeg en sluit niet af. De Hewalex hangt op 1.5 meter hoogte en de afvoerslang slingert met een paar ruime bochten naar beneden.
Ik denk dat het door je bochten komt. De Hewalex trekt ietwat vacuum.waarschijnlijk functioneren je bochten als een soort zwanehals.

S.J.


Acties:
  • 0 Henk 'm!

  • ijgenweis
  • Registratie: Mei 2021
  • Laatst online: 17-05 09:26
Martin7182 schreef op donderdag 17 april 2025 @ 22:45:
Heeft iemand wel eens het probleem gehad dat het condenswater tijdelijk niet wegloopt?
Ik heb ( nog ) geen Hewa, maar een dun slangetje van de lucht aanzuig naar de afvoerslang, die onderin in water staat, zorgt voor een beetje onderdruk zodat het water weg kan.
( anders is er alleen onderdruk in de Hewa )

Acties:
  • 0 Henk 'm!

  • Tim123
  • Registratie: Mei 2022
  • Laatst online: 22:42
Martin7182 schreef op donderdag 17 april 2025 @ 22:45:
Heeft iemand wel eens het probleem gehad dat het condenswater tijdelijk niet wegloopt? Ik had de afvoerslang in een 2 liter petfles gehangen, maar na een aantal dagen was er maar een halve liter water verzameld. Het uiteinde van de slang hing in het water, maar toen ik er lucht liet bijkomen stroomde er opeens ~2 liter water uit. De flessenhals is ruim genoeg en sluit niet af. De Hewalex hangt op 1.5 meter hoogte en de afvoerslang slingert met een paar ruime bochten naar beneden.
Hoe is je opstelling? Binnen/buiten of buiten/buiten?

Acties:
  • 0 Henk 'm!

  • Martin7182
  • Registratie: Juni 2020
  • Laatst online: 00:02
Sterke-Jerke schreef op vrijdag 18 april 2025 @ 08:50:
[...]


Ik denk dat het door je bochten komt. De Hewalex trekt ietwat vacuum.waarschijnlijk functioneren je bochten als een soort zwanehals.
Ik had erbij moeten zeggen dat het was toen de unit niet draaide. In de paar meter slang past niet zoveel water, het moet in de Hewalex opgespaard zijn. Misschien omdat het uiteinde in het water ging, maar dat moet ook volgens de handleiding. Meestal druppelt het water beetje bij beetje tijdens het draaien, dus ik snap het niet. Ik ga de slang dan maar wat inkorten, dat helpt misschien.

Acties:
  • 0 Henk 'm!

  • Martin7182
  • Registratie: Juni 2020
  • Laatst online: 00:02
Tim123 schreef op vrijdag 18 april 2025 @ 10:19:
[...]

Hoe is je opstelling? Binnen/buiten of buiten/buiten?
Binnen/buiten. Er zit ook vaak veel vocht in de lucht vanwege drogende was op zolder.

Acties:
  • +1 Henk 'm!

  • Gloin
  • Registratie: Mei 2025
  • Laatst online: 23:34
We zijn thuis aan het verbouwen en was aan het kijken naar een hewalex warmtepomp omdat ik geen plaats heb voor een all in one rechtstaand boilervat. Er komt een horizontaal boilervat op zolder te staan.

Na het doorlezen van de topic, zie ik dat de hewalex direct het warm water opwarmt en niet via een spiraal in de boiler. Zou niet ondersteund worden door de fabrikant?

Na wat zoeken ben ik wel ook deze tegengekomen:
https://www.solardirekt24...auch-Warmwasser/420000031

volgens schema 1 in de handleiding lijkt die het wel te ondersteunen. Iemand ervaring met dit toestel?

Acties:
  • 0 Henk 'm!

  • TTommie
  • Registratie: Juni 2004
  • Laatst online: 23:50

TTommie

Het leven is een pijpkaneel...

Gloin schreef op dinsdag 20 mei 2025 @ 16:52:
We zijn thuis aan het verbouwen en was aan het kijken naar een hewalex warmtepomp omdat ik geen plaats heb voor een all in one rechtstaand boilervat. Er komt een horizontaal boilervat op zolder te staan.

Na het doorlezen van de topic, zie ik dat de hewalex direct het warm water opwarmt en niet via een spiraal in de boiler. Zou niet ondersteund worden door de fabrikant?

Na wat zoeken ben ik wel ook deze tegengekomen:
https://www.solardirekt24...auch-Warmwasser/420000031

volgens schema 1 in de handleiding lijkt die het wel te ondersteunen. Iemand ervaring met dit toestel?
Ja, mooi, maar dit is het Hewalex topic. Niet een ander vreemd merk dat we dan ook nog in het Duits moeten gaan doorlezen. Dus dat je hier iemand gaat vinden met ervaring daarover is zo goed als nihil.

Maar wat is dan je probleem dat de Hewalex het op deze manier doet. Want ik zie het probleem niet namelijk.

[ Voor 11% gewijzigd door TTommie op 20-05-2025 23:41 ]

Mr. T.


Acties:
  • 0 Henk 'm!

  • Surfari
  • Registratie: Mei 2021
  • Laatst online: 08-06 15:38
Gloin schreef op dinsdag 20 mei 2025 @ 16:52:
We zijn thuis aan het verbouwen en was aan het kijken naar een hewalex warmtepomp omdat ik geen plaats heb voor een all in one rechtstaand boilervat. Er komt een horizontaal boilervat op zolder te staan.

Na het doorlezen van de topic, zie ik dat de hewalex direct het warm water opwarmt en niet via een spiraal in de boiler. Zou niet ondersteund worden door de fabrikant?

Na wat zoeken ben ik wel ook deze tegengekomen:
https://www.solardirekt24...auch-Warmwasser/420000031

volgens schema 1 in de handleiding lijkt die het wel te ondersteunen. Iemand ervaring met dit toestel?
X een indirect verwarmde boiler op wp levert altijd rendements verlies. Omdat er een extra warmtewisselaar tussen zit moet de wp op een hogere temperatuur draaien.
X op de tekeningetjes bij de link staat deze wp direct op de spiraal. Dat impliceert dat in de wp minstens een pompgroep en expansievat zou zitten en logischerwijs ook een buffervat.
Echter hetzelfde plaatje staat er ook direct op de boiler aangesloten, dat is tapwater en dan zou dat via eenzelfde circuit lopen. Eerst zien dan geloven.
X bij de getekende indirecte boiler loopt de spiraal van boven in de boiler naar onder in de boiler. Nog een rendementkiller. En een mooie manier om de bovenkant van de boiler af te koelen als de wp aanslaat.
Verder maar niet gekeken.

Als ik het goed heb zitten er in dit topic een aantal tweakers met een hewalex op een liggend vat met een tap spiraal (liggende hygiëne boiler) dat zou een optie kunnen zijn.

Acties:
  • +1 Henk 'm!

  • Gloin
  • Registratie: Mei 2025
  • Laatst online: 23:34
TTommie schreef op dinsdag 20 mei 2025 @ 23:34:
[...]

Ja, mooi, maar dit is het Hewalex topic. Niet een ander vreemd merk dat we dan ook nog in het Duits moeten gaan doorlezen. Dus dat je hier iemand gaat vinden met ervaring daarover is zo goed als nihil.

Maar wat is dan je probleem dat de Hewalex het op deze manier doet. Want ik zie het probleem niet namelijk.
Zo'n hewalex warmtepomp boiler is vrij uniek omdat het WP gedeelte van de boiler losgekoppeld is van het vat.
Vroeg me gewoon af of iemand anders deze toevallig ook was tegengekomen en misschien zelfs geprobeerd heeft. Voor zover ik zag was er nog geen specifiek topic voor deze alleen dus ik dacht ik vraag het hier even.

Reden om indirect te verwarmen is omdat het aansluiten gemakkelijker zou zijn in mijn situatie. Er loopt namelijk al een circulatieleiding ook van de boiler naar alle aftappunten. Met de hewalex zou er dan een 2de circulatiecircuit bijkomen. Niet onmogelijk maar het zou gewoon makkelijker zijn om die op een spiraal aan te sluiten...
Surfari schreef op woensdag 21 mei 2025 @ 10:30:
[...]

X een indirect verwarmde boiler op wp levert altijd rendements verlies. Omdat er een extra warmtewisselaar tussen zit moet de wp op een hogere temperatuur draaien.
X op de tekeningetjes bij de link staat deze wp direct op de spiraal. Dat impliceert dat in de wp minstens een pompgroep en expansievat zou zitten en logischerwijs ook een buffervat.
Echter hetzelfde plaatje staat er ook direct op de boiler aangesloten, dat is tapwater en dan zou dat via eenzelfde circuit lopen. Eerst zien dan geloven.
X bij de getekende indirecte boiler loopt de spiraal van boven in de boiler naar onder in de boiler. Nog een rendementkiller. En een mooie manier om de bovenkant van de boiler af te koelen als de wp aanslaat.
Verder maar niet gekeken.

Als ik het goed heb zitten er in dit topic een aantal tweakers met een hewalex op een liggend vat met een tap spiraal (liggende hygiëne boiler) dat zou een optie kunnen zijn.
Zou bij mij ook de bedoeling zijn... maar goed bedankt voor de info. Ik denk dat ik toch dan waarschijnlijk voor directe verwarming zal kijken...

Acties:
  • +1 Henk 'm!

  • andre75
  • Registratie: Maart 2022
  • Laatst online: 01-06 21:31
Gloin schreef op dinsdag 20 mei 2025 @ 16:52:
We zijn thuis aan het verbouwen en was aan het kijken naar een hewalex warmtepomp omdat ik geen plaats heb voor een all in one rechtstaand boilervat. Er komt een horizontaal boilervat op zolder te staan.

Na het doorlezen van de topic, zie ik dat de hewalex direct het warm water opwarmt en niet via een spiraal in de boiler. Zou niet ondersteund worden door de fabrikant?

Na wat zoeken ben ik wel ook deze tegengekomen:
https://www.solardirekt24...auch-Warmwasser/420000031

volgens schema 1 in de handleiding lijkt die het wel te ondersteunen. Iemand ervaring met dit toestel?
Zelf geen ervaringen mee met de Sunex Drops. Ik zie wel dat deze net als de Hewalex in Polen gemaakt worden. Zelf heb ik de Hewalex op een 200ltr horizontale boiler aangesloten, wat prima werkt. Ik gebruik de horizontale boiler als buffer voor de verwarming.
Pagina: 1 ... 21 22 Laatste