bosch-thermostat / home-assistant-bosch-custom-component

HA custom component for Bosch thermostats
Apache License 2.0
213 stars 44 forks source link

KM100 / RC300 installation fails with 'cannot find supported device' #171

Closed comtel2000 closed 2 years ago

comtel2000 commented 2 years ago

Describe the bug since 0.18.0dev5..7++ devices can't be found anymore I tried to reinstall the integration multiple times with the allways the same result of 1 unknown device:

IVT von Unknown Firmware: 04.08.02

To Reproduce Steps to reproduce the behavior: hardware: Buderus GB192i with build-in KM100 with firmware: 4.08.02 try to install via IVT/HTTTP

Version

Debug SCAN

bosch_scan_0.17.3.zip

Additional context

2022-07-05 11:45:46 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as buderus-gb192i.local.
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/uuid
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/uuid: {"id": "/gateway/uuid", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "XX44304XX", "allowedValues": ["XX44304XX"]}
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/bus
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/bus: {"id": "/system/bus", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "EMS2_0", "allowedValues": ["No_Bus", "EMS1_0", "EMS2_0", "CAN"]}
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/versionFirmware
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/versionFirmware: {"id": "/gateway/versionFirmware", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "04.08.02"}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/brand
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/brand: {"id": "/system/brand", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "Buderus", "allowedValues": ["unknown", "Bosch", "Junkers", "Buderus", "Nefit", "Sieger", "Tata", "Dakon", "Elm", "Boulter", "Vulcano", "Worcester", "British Gas", "IVT", "Geminox", "Neckar", "Zeus", "Milton"]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/info
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/info: {"id": "/system/info", "type": "systeminfo", "recordable": 0, "writeable": 0, "values": [{"Tok": "8", "Id": "195", "Ver": "03.07", "No": "303537303137343030303130303837333739303834393000000000"}, {"Tok": "16", "Id": "0", "Ver": "NF00.00", "No": ""}, {"Tok": "32", "Id": "160", "Ver": "NF24.05", "No": "323533303137343030313236383737333831313031313400FFFFFF"}, {"Tok": "48", "Id": "164", "Ver": "NF25.06", "No": "323533303137343030303437313737333831313031313500FFFFFF"}, {"Tok": "9", "Id": "224", "Ver": "NF35.06", "No": "333135343336383332323130363037303030303030323838373337"}]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/systemType
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/systemType: {"id": "/system/systemType", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "NSC_ICOM_GATEWAY", "allowedValues": ["NSC_ICOM_GATEWAY"]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/DateTime
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/DateTime: {"id": "/gateway/DateTime", "type": "stringValue", "writeable": 1, "recordable": 0, "value": "2022-07-05T11:44:19"}
2022-07-05 11:45:47 ERROR (MainThread) [bosch_thermostat_client.gateway.ivt] I cannot find supported device. Your devices: [{"Tok": "8", "Id": "195", "Ver": "03.07", "No": "303537303137343030303130303837333739303834393000000000"}, {"Tok": "16", "Id": "0", "Ver": "NF00.00", "No": ""}, {"Tok": "32", "Id": "160", "Ver": "NF24.05", "No": "323533303137343030313236383737333831313031313400FFFFFF"}, {"Tok": "48", "Id": "164", "Ver": "NF25.06", "No": "323533303137343030303437313737333831313031313500FFFFFF"}, {"Tok": "9", "Id": "224", "Ver": "NF35.06", "No": "333135343336383332323130363037303030303030323838373337"}]
2022-07-05 11:45:47 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Bosch BUS detected: EMS
2022-07-05 11:45:47 INFO (MainThread) [custom_components.bosch] Bosch initialized.
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Registering debug services.
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Bosch component registered with platforms [].
comtel2000 commented 2 years ago

maybe it works with older version because of a fallback to RC200_RC300 with an unknown system/info id?

I guess this is a way to deal with it? https://github.com/bosch-thermostat/bosch-thermostat-client-python/blob/dev/bosch_thermostat_client/db/db_IVT.json

    "195": {
      "value": "RC300",
      "name": "RC300/RC310/Buderus Logaplus",
      "type": "RC300_RC200"
    },
pszafer commented 2 years ago

hi, there was no fallback function ever. Is it still working with 0.17.3? Because for me it seems something got disconnected in your installation. 195 is a boiler only, 164 is solar module, 224 is wall controller, 160 is a mixer. There is no km module. Anyway you don't have dhwCircuits and heatingCircuits, so how do you control your installation?

comtel2000 commented 2 years ago

your right, 0.17.3 doesn't work anymore too. The local controller panel works perfect and all EMS systems are registered but the official Buderus app can't change anything related to dhwCircuits, heatingCircuits. All visualization are still there (Buderus app, iobroker). I'm afraid the KM100 needs a factory reset or it's killed by to many clients/requests.

comtel2000 commented 2 years ago

ok, there is not reset function for KM100 but reset and change the private password via Buderus APP worked for me. Now the raw scan also contains ID=158 It was just confusing to still see all data but controlling was out-of-order. thanks for your time