Buderus KM200 Kommunikationsmodul

Begonnen von Sailor, 21 Juli 2014, 12:39:47

Vorheriges Thema - Nächstes Thema

thburkhart

hallo ,

ich bin nach Wiki vorgegangen..

ich komme über apt-get install libltdl nicht hinaus
Meldung: "paket libltdl kann nicht gefunden werden"

apt-get update und upgrade habe ich vollzogen

was mache ich wohl falsch ?
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

ergerd

Hallo thburkhart,

muss da nicht ein Sternchen hinten dran?

sudo apt-get install libltdl*

Grüße
ergerd
FHEM auf RasPi 4, CUNO, ZigBee, 1Wire2WLAN, DS2423, C-Control II, Buderus KM200, LaCrosseGateway, PCA301, ConBee II, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

thburkhart

super

genau das war's

wer kann die Wiki um diese Stolperfalle bereinigen ? ;-)
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

Sailor

Zitat von: thburkhart am 28 April 2021, 14:00:12
super
genau das war's
wer kann die Wiki um diese Stolperfalle bereinigen ? ;-)

Erledigt!

Gruß
    Sailor
******************************
Man wird immer besser...

thburkhart

perfekt
danke!

ich konnte nun sogar Verbindung bekommen :-)
allerdings kommt dann im STATE :   
ERROR - Initial Connection failed... Try to re-connect in 10s"

welche Readings bekomme ich denn, damit ich diese in mein DBLog schreiben kann?
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

Olli.R

Hi,
hat jemand vielleicht schon eine Idee zu meinem Problem in Antwort #1791 https://forum.fhem.de/index.php/topic,25540.msg1149638.html#msg1149638 in diesem Beitrag?
Wäre Toll wen mir jemand helfen könnte.  :)
Oder soll ich dazu einen neuen Beitrag einstellen?  :-[

ergerd

Meine Readings sehen so aus:

/gateway/DateTime 2020-04-19T23:55:00 2020-04-19 23:57:09
/gateway/instAccess off 2020-04-19 23:57:09
/gateway/instWriteAccess off 2020-04-19 23:57:09
/gateway/logging/userAcceptance false 2020-04-19 23:57:09
/gateway/update/status completed 2020-04-19 23:57:09
/gateway/uuid 309055247 2020-04-19 23:57:09
/gateway/versionFirmware 04.06.07 2020-04-19 23:57:09
/gateway/versionHardware iCom_Low_NSC_v1 2020-04-19 23:57:10
/heatSources/CHpumpModulation 100 2021-04-28 15:43:39
/heatSources/ChimneySweeper off 2021-04-28 15:43:39
/heatSources/actualCHPower 0 2021-04-28 15:43:39
/heatSources/actualDHWPower 0 2021-04-28 15:43:39
/heatSources/actualModulation 0 2021-04-28 15:43:40
/heatSources/actualPower 0 2021-04-28 15:43:40
/heatSources/actualSupplyTemperature 34.1 2021-04-28 15:43:40
/heatSources/chimneyTemperature 3276.7 2021-04-28 15:43:40
/heatSources/numberOfStarts 22396 2021-04-28 15:43:40
/heatSources/returnTemperature 25.8 2021-04-28 15:43:40
/heatSources/systemPressure 1.4 2021-04-28 15:43:41
/heatingCircuits/hc1/activeSwitchProgram A 2021-04-28 15:43:41
/heatingCircuits/hc1/actualSupplyTemperature 34.1 2021-04-28 15:43:41
/heatingCircuits/hc1/currentRoomSetpoint 21 2021-04-28 15:43:41
/heatingCircuits/hc1/currentSuWiMode forced 2021-04-28 15:43:41
/heatingCircuits/hc1/holidayMode/activated 2021-04-28 15:43:41
/heatingCircuits/hc1/operationMode auto 2021-04-28 15:43:41
/heatingCircuits/hc1/pumpModulation 100 2021-04-28 15:43:42
/heatingCircuits/hc1/roomtemperature -3276.8 2021-04-28 15:43:42
/heatingCircuits/hc1/status ACTIVE 2021-04-28 15:43:42
/heatingCircuits/hc1/suWiSwitchMode automatic 2021-04-28 15:43:42
/heatingCircuits/hc1/supplyTemperatureSetpoint 36 2021-04-28 15:43:42
/heatingCircuits/hc1/temperatureLevels/comfort2 21 2021-04-28 15:43:42
/heatingCircuits/hc1/temperatureLevels/eco 17 2021-04-28 15:43:42
/heatingCircuits/hc1/temporaryRoomSetpoint -1 2021-04-28 15:43:42
/heatingCircuits/hc2/activeSwitchProgram A 2021-04-28 15:43:43
/heatingCircuits/hc2/actualSupplyTemperature 26.2 2021-04-28 15:43:43
/heatingCircuits/hc2/currentRoomSetpoint 21 2021-04-28 15:43:43
/heatingCircuits/hc2/currentSuWiMode forced 2021-04-28 15:43:43
/heatingCircuits/hc2/holidayMode/activated 2021-04-28 15:43:43
/heatingCircuits/hc2/operationMode auto 2021-04-28 15:43:43
/heatingCircuits/hc2/pumpModulation 100 2021-04-28 15:43:43
/heatingCircuits/hc2/roomtemperature -3276.8 2021-04-28 15:43:43
/heatingCircuits/hc2/status ACTIVE 2021-04-28 15:43:43
/heatingCircuits/hc2/suWiSwitchMode automatic 2021-04-28 15:43:44
/heatingCircuits/hc2/supplyTemperatureSetpoint 26 2021-04-28 15:43:44
/heatingCircuits/hc2/temperatureLevels/comfort2 21 2021-04-28 15:43:44
/heatingCircuits/hc2/temperatureLevels/eco 18 2021-04-28 15:43:44
/heatingCircuits/hc2/temporaryRoomSetpoint -1 2021-04-28 15:43:44
/system/healthStatus ok 2021-04-28 15:43:44
/system/sensors/temperatures/chimney 3276.7 2021-04-28 15:43:44
/system/sensors/temperatures/outdoor_t1 17.6 2021-04-28 15:43:44
/system/sensors/temperatures/return 25.8 2021-04-28 15:43:45
/system/sensors/temperatures/supply_t1 34 2021-04-28 15:43:45
fullResponse OK 2021-04-28 15:43:45


Grüße
ergerd
FHEM auf RasPi 4, CUNO, ZigBee, 1Wire2WLAN, DS2423, C-Control II, Buderus KM200, LaCrosseGateway, PCA301, ConBee II, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

ergerd

#1732
@Olli.R

ein List von deinem Device hier einstellen würde evtl. helfen.
Da können wir draufschauen ob vielleicht etwas schief ist.

Grüße
ergerd
FHEM auf RasPi 4, CUNO, ZigBee, 1Wire2WLAN, DS2423, C-Control II, Buderus KM200, LaCrosseGateway, PCA301, ConBee II, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

Olli.R

Hallo,

danke für deine Hilfe  :)

Hier mal das List von meinem KM200 - scheint gar nicht zu antworten?

Internals:
   DEF        192.168.xxx.xxx xxx-xxxx-xxxx-xxxx Passwort
   DELAYDYNVAL 60
   FUUID      607fd6bf-f33f-428a-f8b1-aa129cb16d0828c9
   INTERVALDYNVAL 300
   NAME       DG_HZ_01
   NR         174
   POLLINGTIMEOUT 10
   READBACKDELAY 100
   READTEXTLEN 0
   STATE      Polling
   TYPE       km200
   URL        192.168.xxx.xxx
   READINGS:
     2021-04-26 23:21:51   fullResponse    OK
   Secret:
     CRYPTKEYINITIAL '�Aj
ߘ��(o�' u���П�/��ȟ�;��+
     CRYPTKEYPRIVATE '�Aj
ߘ��(o�' uS��)��`�7b%���P$
     KM200ALLSERVICES:
       /
       /dhwCircuits
       /dhwCircuits
       /gateway
       /heatSources
       /heatingCircuits
       /notifications
       /recordings
       /solarCircuits
       /system
     KM200ALLSERVICESBACKUP:
       /
       /dhwCircuits
       /dhwCircuits
       /gateway
       /heatSources
       /heatingCircuits
       /notifications
       /recordings
       /solarCircuits
       /system
     KM200DONOTPOLL:
     KM200DYNSERVICES:
     KM200RESPONDINGSERVICES:
     KM200WRITEABLESERVICES:
   status:
     FlagDynRequest 0
     FlagGetRequest 0
     FlagInitRequest 0
     FlagSetRequest 0
     FlagStatRequest 0
   temp:
     ServiceCounterDyn 0
     ServiceCounterInit 0
     ServiceDbLogSplitHash
     decodedcontent
     service    /gateway/DateTime
Attributes:
   PollingTimeout 10
   loglevel   6


Sailor

Zitat von: Olli.R am 28 April 2021, 20:41:21
Hier mal das List von meinem KM200 - scheint gar nicht zu antworten?

Schon mal F5 am Browser gedrückt?
******************************
Man wird immer besser...

Olli.R

ZitatSchon mal F5 am Browser gedrückt?

Äh, ja.  ::)
Da ändert sich nichts.

Allerdings ist mit aufgefallen als ich grad eben das List ausgeführt habe, dass der "fullResponse OK" vom 26.04.2021 ist, also schon länger her.
Ich habe das Gefühl, dass das KM200 nach einem Fhem-Neustart kurz funktioniert, also es kommt erst "Sounding", dann "Standby", dann "Polling" und ab da scheint dann nichts mehr zu funktionieren. .
Wie schon beschrieben kommt beim ersten Get im Log:
PERL WARNING: Use of uninitialized value $option in pattern match (m//) at ./FHEM/73_km200.pm line 629.
Danach kommt auch bei Get oder Set nichts mehr im Log.
Fehlt da noch was? Bin doch nach der Anleitung vorgegangen...  :(

ergerd

#1736
in meinen Attributen steht noch ein:
IntervalDynVal 300

Keine Ahnung ob es etwas ändert, aber Versuch macht Klug.

Du könntest auch das Attribut verbose auf 5 setzen, vielleicht sieht man dann mehr im Log.

Grüße
ergerd
FHEM auf RasPi 4, CUNO, ZigBee, 1Wire2WLAN, DS2423, C-Control II, Buderus KM200, LaCrosseGateway, PCA301, ConBee II, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

Olli.R

#1737
Hallo,

ich hab das Verbose mal auf 5 gesetzt und Fhem durchgestartet:

2021.04.29 07:39:19 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:19 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:19 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /
2021.04.29 07:39:19 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /dhwCircuits
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /dhwCircuits
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /gateway
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /heatSources
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /heatingCircuits
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /notifications
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /recordings
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:20 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:20 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /solarCircuits
2021.04.29 07:39:20 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:21 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:39:21 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:39:21 4: DG_HZ_01 : km200_ParseHttpResponseInit -  NOT available       : /system
2021.04.29 07:39:21 5: DG_HZ_01______________________________________________________________________________________________________________________
2021.04.29 07:39:21 4: DG_HZ_01 : km200 - Define: InternalTimer for dynamic values started with interval of: 300
2021.04.29 07:39:21 5: DG_HZ_01Sounding and importing of services is completed
2021.04.29 07:44:21 5: DG_HZ_01 : No dynamic values available to be read. Skipping download.

2021.04.29 07:51:53 5: DG_HZ_01 : km200 - GetSingleService - service            : /system
2021.04.29 07:51:53 5: DG_HZ_01 : km200 - GetSingleService - url                : http://192.168.xxx.xxx/system
2021.04.29 07:51:53 5: DG_HZ_01 : km200 - GetSingleService - err                :
2021.04.29 07:51:53 5: DG_HZ_01 : km200 - GetSingleService - data               :

2021.04.29 07:51:53 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 07:51:53 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 07:51:53 4: DG_HZ_01 : km200_GetSingleService: /system NOT available


Irgendwie kommunizieren die nicht miteinander...

Ich hab jetzt nochmal system abgefragt, da kam dann das im Log:

2021.04.29 08:09:11 5: DG_HZ_01 : km200_GettErrorMessage  - ErrorCode                : A11
2021.04.29 08:09:11 5: DG_HZ_01 : km200_GettErrorMessage  - SubCode                  : 3084
2021.04.29 08:09:11 5: DG_HZ_01 : km200_GettErrorMessage  - Class                    : 4
2021.04.29 08:09:11 5: DG_HZ_01 : km200_GettErrorMessage  - ErrorCodeMatches in      : 41 entries.
2021.04.29 08:09:11 5: DG_HZ_01 : km200_GettErrorMessage  - Found Error- and Subcode : 0737

ergerd

Interessant, deine KM200 scheint nicht korrekt konfiguriert zu sein, das ist ein Buderus ErrorCode
FHEM auf RasPi 4, CUNO, ZigBee, 1Wire2WLAN, DS2423, C-Control II, Buderus KM200, LaCrosseGateway, PCA301, ConBee II, LuftdatenInfo, OneWireGW, Div. ESPs u. Shellys

Olli.R

#1739
Naja, zunächst schon mal schön dass überhaupt was zurückkommt.
Also sollte die Kommunikation als solche funktionieren.

Über die Cloud hatte alles funktioniert und es wurden auch keine Fehler angezeigt.
Die Cloud hab ich über meine Router-Firewall abgeklemmt.
Ich probier nochmal ob jetzt irgendwelche Werte über Fhem zurückgegeben werden.

So, jetzt habe ich nochmal probiert system/system/appliance/systemPressure abzufragen:


2021.04.29 09:17:32 5: DG_HZ_01 : km200 - GetSingleService - service            : /system
2021.04.29 09:17:32 5: DG_HZ_01 : km200 - GetSingleService - url                : http://192.168.xxx.xxx/system
2021.04.29 09:17:32 5: DG_HZ_01 : km200 - GetSingleService - err                :
2021.04.29 09:17:32 5: DG_HZ_01 : km200 - GetSingleService - data               :

2021.04.29 09:17:32 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 09:17:32 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 09:17:32 4: DG_HZ_01 : km200_GetSingleService: /system NOT available
2021.04.29 09:17:43 5: DG_HZ_01 : km200 - GetSingleService - service            : /system
2021.04.29 09:17:43 5: DG_HZ_01 : km200 - GetSingleService - url                : http://192.168.xxx.xxx/system
2021.04.29 09:17:43 5: DG_HZ_01 : km200 - GetSingleService - err                :
2021.04.29 09:17:43 5: DG_HZ_01 : km200 - GetSingleService - data               :

2021.04.29 09:17:43 5: DG_HZ_01 : km200 - decryptData2 - decipher_len                : 0
2021.04.29 09:17:43 5: DG_HZ_01 : km200 - decryptData2 - deciphertext                :
2021.04.29 09:17:43 4: DG_HZ_01 : km200_GetSingleService: /system NOT available