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

HA custom component for Bosch thermostats
Apache License 2.0
218 stars 45 forks source link

New HA version #284

Closed Matthijsbr123 closed 1 year ago

Matthijsbr123 commented 1 year ago

IMG_8557 Describe the bug A clear and concise description of what the bug is.

can’t load device anymore in new Ha version

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error IMG_8556

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version

Debug SCAN IMPORTANT Go to Developer tools in Home Assistant, choose Service tab and choose bosch.debug_scan Download file to your computer and upload it somewhere eg. https://jsonblob.com/

Additional context Add any other context about the problem here.

TroelsDane commented 1 year ago

I was on 2023.3.6 with same issue - bosch was unavailable i now updates to 2023.4.0 and it is still unavailable

JBakers commented 1 year ago

I enabled beta's and downgraded the Bosch component to v0.21.1dev1 and this fixed it for me

//edit: Completely removing the integration and entities/devices and reinstalling the latest version also fixed it, for me.

davemenkehorst commented 1 year ago

2023.4: AttributeError: 'NoneType' object has no attribute 'items'

erreesse commented 1 year ago

same issue.

HA :latest version, but problem started when i upgraded bosch component

HA Bosch component version: v0.22.2 (with previous version, it works)

Bosch CT200

i removed it and re-added, more than twice, no luck.

here some log:

2023-04-06 16:47:17.198 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/uuid by 140454908579840
2023-04-06 16:47:18.005 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\x98c\xd7\xfb\xa6\x13@\x9e#\n\xe8\x16\x922qr\xea\xb5\xe6&\x8f\xf2]\'\x97V\x03Iex\xd6\x89\x1c\xeb\x15Fmi\xe2\xc9>\xc9\xffcj\x86yf@\xea\xf5\x86\x05Rf\x8c~\x0c\xbft\x0e\x05\xd92l\xbao\x97`U}\xe3\x16\xcau\x0e\xdf\xab\xbd\'' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:18.005 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/uuid
2023-04-06 16:47:18.005 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/uuid: null
2023-04-06 16:47:18.005 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/uuid
2023-04-06 16:47:18.006 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /system/interfaces by 140454908579840
2023-04-06 16:47:18.093 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\x1c\xabw\xbfLD)\xb4o\xa1S(\xf3\xaceaPw\xcf>\x90\x8f7.\xa3Z\xa6\xd6.R_\xca\x0e\x94\xec\x97e=*n<\x04\xcd?\xd1\x8a\xabP\x9d\xa4\xf8I/\xf5\xcf\xacm\x0b\xae\xbfJ\xc5\x0b*,\x92\x07\xe3U\xd0\x95\x8d\x8f}O\xe3\xfa\xd5\x8a>\xf3\xdb\xeb(\xdf\x11*ha\x9e\x9e\xd1\xcf\xb7\x13\xce' with error: 'utf-8' codec can't decode byte 0xab in position 1: invalid start byte
2023-04-06 16:47:18.093 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /system/interfaces
2023-04-06 16:47:18.093 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /system/interfaces: null
2023-04-06 16:47:18.093 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /system/interfaces
2023-04-06 16:47:18.094 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/versionFirmware by 140454908579840
2023-04-06 16:47:18.215 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae5!\xd8\xc9\xaf\xa3E\xdbK\n\xf2v{_R\xc5\x99ST\x19\xf8\x95\xa6\xbd\xb9\xb8C\xf0\x16\x9dY\xa4\x16\xc1e(\xa1\x86B\x9c\xfb\xdftFGv\x0fp3A\xcc\x90}@\x16\xd0 \xcc\xdc\xfc\x7f\xcd\xfd\xf3\x8eL5\x04f\xa2\x08\x06\x8dQ\xe0O[\n\xbb\xdd\x01\x96\x9c\r\x9e\x05_YI\xd8\x03\xee`\x91)S' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:18.215 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/versionFirmware
2023-04-06 16:47:18.215 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/versionFirmware: null
2023-04-06 16:47:18.215 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/versionFirmware
2023-04-06 16:47:18.215 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/productID by 140454908579840
2023-04-06 16:47:18.313 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae6\xce\xf5\xba\x9a\xdf?V1\xbe~OOQxs\xff\xa4\x8e\x01\xbb\xddM\xbbw3\xcd\x82\x08\xef\xe3\x0c\xf9\xe4\x89\xac\xb4\x1ex\xa4\xa5\xac\xbf\xb7\x0e\x99\xbf\x11.\x03\xcc\x1e\xf7\xcb-\x9b6$\xd8s\x8a\xe4W\x87%\x16P\x03b\xc3\xc1k1QJ\xb7\x01\x88\xf5\x1fa|\xaaZ\xcb\xfbg\x06\xd7\xdf\x96\x8b/J\x87\xd1' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:18.314 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/productID
2023-04-06 16:47:18.314 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/productID: null
2023-04-06 16:47:18.314 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/productID
2023-04-06 16:47:18.314 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/DateTime by 140454908579840
2023-04-06 16:47:18.404 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\xe5\xa0\xe1m\x04\x95\xef\xf4y\n\xd9\xc8\xda{39\xf9\x15\xcc\xd0\x11u\xe2I\xdeHG8\xfb\xea\xd0\xbf\xf7k\x1e:\xb0\x13\xe3\xea\x12>R\x14\x02\x92\x81a&\xed\xc5\xc4\x9c1\x1d\xb8|m\xe8<lL0\x1f@\x90\xc5\xba?Q_\xfcSP\xce9l\xf3\xf2\xf2\xfd\xd0\x95\x12\x94\xe3O_\x8b\xa6\xaa\xcf\xaf\xc2=\x15\x1d\xfeTq\x842(\xd4s\xecXS\x8c\xddQ\x94' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:18.405 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/DateTime
2023-04-06 16:47:18.405 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/DateTime: null
2023-04-06 16:47:18.405 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/DateTime
2023-04-06 16:47:18.405 ERROR (MainThread) [bosch_thermostat_client.gateway.easycontrol] Couldn't find device model. Got product ID: None
2023-04-06 16:47:18.408 DEBUG (MainThread) [custom_components.bosch.config_flow] Adding Bosch entry.
2023-04-06 16:47:18.410 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.22.2.
2023-04-06 16:47:18.410 DEBUG (MainThread) [custom_components.bosch] Initializing Bosch integration.
2023-04-06 16:47:18.411 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as 101304928.
2023-04-06 16:47:18.411 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/uuid by 140454958147392
2023-04-06 16:47:18.937 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\x98c\xd7\xfb\xa6\x13@\x9e#\n\xe8\x16\x922qr\xea\xb5\xe6&\x8f\xf2]\'\x97V\x03Iex\xd6\x89\x1c\xeb\x15Fmi\xe2\xc9>\xc9\xffcj\x86yf@\xea\xf5\x86\x05Rf\x8c~\x0c\xbft\x0e\x05\xd92l\xbao\x97`U}\xe3\x16\xcau\x0e\xdf\xab\xbd\'' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:18.938 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/uuid
2023-04-06 16:47:18.938 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/uuid: null
2023-04-06 16:47:18.938 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/uuid
2023-04-06 16:47:18.938 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /system/interfaces by 140454958147392
2023-04-06 16:47:19.034 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\x1c\xabw\xbfLD)\xb4o\xa1S(\xf3\xaceaPw\xcf>\x90\x8f7.\xa3Z\xa6\xd6.R_\xca\x0e\x94\xec\x97e=*n<\x04\xcd?\xd1\x8a\xabP\x9d\xa4\xf8I/\xf5\xcf\xacm\x0b\xae\xbfJ\xc5\x0b*,\x92\x07\xe3U\xd0\x95\x8d\x8f}O\xe3\xfa\xd5\x8a>\xf3\xdb\xeb(\xdf\x11*ha\x9e\x9e\xd1\xcf\xb7\x13\xce' with error: 'utf-8' codec can't decode byte 0xab in position 1: invalid start byte
2023-04-06 16:47:19.035 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /system/interfaces
2023-04-06 16:47:19.035 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /system/interfaces: null
2023-04-06 16:47:19.035 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /system/interfaces
2023-04-06 16:47:19.035 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/versionFirmware by 140454958147392
2023-04-06 16:47:19.168 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae5!\xd8\xc9\xaf\xa3E\xdbK\n\xf2v{_R\xc5\x99ST\x19\xf8\x95\xa6\xbd\xb9\xb8C\xf0\x16\x9dY\xa4\x16\xc1e(\xa1\x86B\x9c\xfb\xdftFGv\x0fp3A\xcc\x90}@\x16\xd0 \xcc\xdc\xfc\x7f\xcd\xfd\xf3\x8eL5\x04f\xa2\x08\x06\x8dQ\xe0O[\n\xbb\xdd\x01\x96\x9c\r\x9e\x05_YI\xd8\x03\xee`\x91)S' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:19.169 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/versionFirmware
2023-04-06 16:47:19.169 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/versionFirmware: null
2023-04-06 16:47:19.169 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/versionFirmware
2023-04-06 16:47:19.169 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/productID by 140454958147392
2023-04-06 16:47:19.251 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae6\xce\xf5\xba\x9a\xdf?V1\xbe~OOQxs\xff\xa4\x8e\x01\xbb\xddM\xbbw3\xcd\x82\x08\xef\xe3\x0c\xf9\xe4\x89\xac\xb4\x1ex\xa4\xa5\xac\xbf\xb7\x0e\x99\xbf\x11.\x03\xcc\x1e\xf7\xcb-\x9b6$\xd8s\x8a\xe4W\x87%\x16P\x03b\xc3\xc1k1QJ\xb7\x01\x88\xf5\x1fa|\xaaZ\xcb\xfbg\x06\xd7\xdf\x96\x8b/J\x87\xd1' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:19.251 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/productID
2023-04-06 16:47:19.251 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/productID: null
2023-04-06 16:47:19.251 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/productID
2023-04-06 16:47:19.251 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/DateTime by 140454958147392
2023-04-06 16:47:19.377 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\xe5\xa0\xe1m\x04\x95\xef\xf4y\n\xd9\xc8\xda{39\xf9\x15\xcc\xd0\x11u\xe2I\xdeHG8\xfb\xea\xd0\xbf\xf7k\x1e:\xb0\x13\xe3\xea\x12>R\x14\x02\x92\x81a&\xed\xc5\xc4\x9c1\x1d\xb8|m\xe8<lL0\x1f@\x90\xc5\xba?Q_\xfcSP\xce9l\xf3\xf2\xf2\xc7\x9b\xb4^\xe3a\xe9\xf9{\xccB\xcb\x92Qa\x9d\x1d\xfeTq\x842(\xd4s\xecXS\x8c\xddQ\x94' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:19.378 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/DateTime
2023-04-06 16:47:19.378 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/DateTime: null
2023-04-06 16:47:19.378 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/DateTime
2023-04-06 16:47:19.378 ERROR (MainThread) [bosch_thermostat_client.gateway.easycontrol] Couldn't find device model. Got product ID: None
2023-04-06 16:47:19.379 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2023-04-06 16:47:19.380 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Unknown model' for bosch integration not ready yet: ('Cannot connect to Bosch gateway, host %s with UUID: %s', '101304928', None); Retrying in background
2023-04-06 16:47:23.783 DEBUG (event_thread_0) [sucks] *** sending ping ***
2023-04-06 16:47:23.815 WARNING (event_thread_0) [sucks] Ping did not reach VacBot. Will retry.
2023-04-06 16:47:23.815 DEBUG (event_thread_0) [sucks] *** Error type: wait
2023-04-06 16:47:23.816 DEBUG (event_thread_0) [sucks] *** Error condition: recipient-unavailable
2023-04-06 16:47:24.470 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.22.2.
2023-04-06 16:47:24.470 DEBUG (MainThread) [custom_components.bosch] Initializing Bosch integration.
2023-04-06 16:47:24.471 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as 101304928.
2023-04-06 16:47:24.471 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/uuid by 140454911205024
2023-04-06 16:47:24.975 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\x98c\xd7\xfb\xa6\x13@\x9e#\n\xe8\x16\x922qr\xea\xb5\xe6&\x8f\xf2]\'\x97V\x03Iex\xd6\x89\x1c\xeb\x15Fmi\xe2\xc9>\xc9\xffcj\x86yf@\xea\xf5\x86\x05Rf\x8c~\x0c\xbft\x0e\x05\xd92l\xbao\x97`U}\xe3\x16\xcau\x0e\xdf\xab\xbd\'' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:24.975 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/uuid
2023-04-06 16:47:24.975 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/uuid: null
2023-04-06 16:47:24.975 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/uuid
2023-04-06 16:47:24.975 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /system/interfaces by 140454911205024
2023-04-06 16:47:25.054 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\x1c\xabw\xbfLD)\xb4o\xa1S(\xf3\xaceaPw\xcf>\x90\x8f7.\xa3Z\xa6\xd6.R_\xca\x0e\x94\xec\x97e=*n<\x04\xcd?\xd1\x8a\xabP\x9d\xa4\xf8I/\xf5\xcf\xacm\x0b\xae\xbfJ\xc5\x0b*,\x92\x07\xe3U\xd0\x95\x8d\x8f}O\xe3\xfa\xd5\x8a>\xf3\xdb\xeb(\xdf\x11*ha\x9e\x9e\xd1\xcf\xb7\x13\xce' with error: 'utf-8' codec can't decode byte 0xab in position 1: invalid start byte
2023-04-06 16:47:25.055 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /system/interfaces
2023-04-06 16:47:25.055 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /system/interfaces: null
2023-04-06 16:47:25.055 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /system/interfaces
2023-04-06 16:47:25.055 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/versionFirmware by 140454911205024
2023-04-06 16:47:25.138 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae5!\xd8\xc9\xaf\xa3E\xdbK\n\xf2v{_R\xc5\x99ST\x19\xf8\x95\xa6\xbd\xb9\xb8C\xf0\x16\x9dY\xa4\x16\xc1e(\xa1\x86B\x9c\xfb\xdftFGv\x0fp3A\xcc\x90}@\x16\xd0 \xcc\xdc\xfc\x7f\xcd\xfd\xf3\x8eL5\x04f\xa2\x08\x06\x8dQ\xe0O[\n\xbb\xdd\x01\x96\x9c\r\x9e\x05_YI\xd8\x03\xee`\x91)S' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:25.138 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/versionFirmware
2023-04-06 16:47:25.139 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/versionFirmware: null
2023-04-06 16:47:25.139 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/versionFirmware
2023-04-06 16:47:25.139 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/productID by 140454911205024
2023-04-06 16:47:25.235 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae6\xce\xf5\xba\x9a\xdf?V1\xbe~OOQxs\xff\xa4\x8e\x01\xbb\xddM\xbbw3\xcd\x82\x08\xef\xe3\x0c\xf9\xe4\x89\xac\xb4\x1ex\xa4\xa5\xac\xbf\xb7\x0e\x99\xbf\x11.\x03\xcc\x1e\xf7\xcb-\x9b6$\xd8s\x8a\xe4W\x87%\x16P\x03b\xc3\xc1k1QJ\xb7\x01\x88\xf5\x1fa|\xaaZ\xcb\xfbg\x06\xd7\xdf\x96\x8b/J\x87\xd1' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:25.235 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/productID
2023-04-06 16:47:25.235 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/productID: null
2023-04-06 16:47:25.236 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/productID
2023-04-06 16:47:25.236 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/DateTime by 140454911205024
2023-04-06 16:47:25.321 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\xe5\xa0\xe1m\x04\x95\xef\xf4y\n\xd9\xc8\xda{39\xf9\x15\xcc\xd0\x11u\xe2I\xdeHG8\xfb\xea\xd0\xbf\xf7k\x1e:\xb0\x13\xe3\xea\x12>R\x14\x02\x92\x81a&\xed\xc5\xc4\x9c1\x1d\xb8|m\xe8<lL0\x1f@\x90\xc5\xba?Q_\xfcSP\xce9l\xf3\xf2\xf2\xd2\xa3\'\xdb\x85\xf5\xb2\xc5\x19\x14\xb0\xd8\x88\xf1\xd0\xb0\x1d\xfeTq\x842(\xd4s\xecXS\x8c\xddQ\x94' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:25.321 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/DateTime
2023-04-06 16:47:25.321 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/DateTime: null
2023-04-06 16:47:25.321 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/DateTime
2023-04-06 16:47:25.321 ERROR (MainThread) [bosch_thermostat_client.gateway.easycontrol] Couldn't find device model. Got product ID: None
2023-04-06 16:47:25.323 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2023-04-06 16:47:35.751 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.22.2.
2023-04-06 16:47:35.751 DEBUG (MainThread) [custom_components.bosch] Initializing Bosch integration.
2023-04-06 16:47:35.752 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as 101304928.
2023-04-06 16:47:35.754 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/uuid by 140454962801888
2023-04-06 16:47:36.365 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\x98c\xd7\xfb\xa6\x13@\x9e#\n\xe8\x16\x922qr\xea\xb5\xe6&\x8f\xf2]\'\x97V\x03Iex\xd6\x89\x1c\xeb\x15Fmi\xe2\xc9>\xc9\xffcj\x86yf@\xea\xf5\x86\x05Rf\x8c~\x0c\xbft\x0e\x05\xd92l\xbao\x97`U}\xe3\x16\xcau\x0e\xdf\xab\xbd\'' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:36.365 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/uuid
2023-04-06 16:47:36.365 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/uuid: null
2023-04-06 16:47:36.365 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/uuid
2023-04-06 16:47:36.365 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /system/interfaces by 140454962801888
2023-04-06 16:47:36.468 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\x1c\xabw\xbfLD)\xb4o\xa1S(\xf3\xaceaPw\xcf>\x90\x8f7.\xa3Z\xa6\xd6.R_\xca\x0e\x94\xec\x97e=*n<\x04\xcd?\xd1\x8a\xabP\x9d\xa4\xf8I/\xf5\xcf\xacm\x0b\xae\xbfJ\xc5\x0b*,\x92\x07\xe3U\xd0\x95\x8d\x8f}O\xe3\xfa\xd5\x8a>\xf3\xdb\xeb(\xdf\x11*ha\x9e\x9e\xd1\xcf\xb7\x13\xce' with error: 'utf-8' codec can't decode byte 0xab in position 1: invalid start byte
2023-04-06 16:47:36.469 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /system/interfaces
2023-04-06 16:47:36.469 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /system/interfaces: null
2023-04-06 16:47:36.469 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /system/interfaces
2023-04-06 16:47:36.469 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/versionFirmware by 140454962801888
2023-04-06 16:47:36.588 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae5!\xd8\xc9\xaf\xa3E\xdbK\n\xf2v{_R\xc5\x99ST\x19\xf8\x95\xa6\xbd\xb9\xb8C\xf0\x16\x9dY\xa4\x16\xc1e(\xa1\x86B\x9c\xfb\xdftFGv\x0fp3A\xcc\x90}@\x16\xd0 \xcc\xdc\xfc\x7f\xcd\xfd\xf3\x8eL5\x04f\xa2\x08\x06\x8dQ\xe0O[\n\xbb\xdd\x01\x96\x9c\r\x9e\x05_YI\xd8\x03\xee`\x91)S' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:36.588 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/versionFirmware
2023-04-06 16:47:36.589 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/versionFirmware: null
2023-04-06 16:47:36.589 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/versionFirmware
2023-04-06 16:47:36.589 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/productID by 140454962801888
2023-04-06 16:47:36.715 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae6\xce\xf5\xba\x9a\xdf?V1\xbe~OOQxs\xff\xa4\x8e\x01\xbb\xddM\xbbw3\xcd\x82\x08\xef\xe3\x0c\xf9\xe4\x89\xac\xb4\x1ex\xa4\xa5\xac\xbf\xb7\x0e\x99\xbf\x11.\x03\xcc\x1e\xf7\xcb-\x9b6$\xd8s\x8a\xe4W\x87%\x16P\x03b\xc3\xc1k1QJ\xb7\x01\x88\xf5\x1fa|\xaaZ\xcb\xfbg\x06\xd7\xdf\x96\x8b/J\x87\xd1' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:36.715 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/productID
2023-04-06 16:47:36.715 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/productID: null
2023-04-06 16:47:36.715 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/productID
2023-04-06 16:47:36.715 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/DateTime by 140454962801888
2023-04-06 16:47:36.810 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\xe5\xa0\xe1m\x04\x95\xef\xf4y\n\xd9\xc8\xda{39\xf9\x15\xcc\xd0\x11u\xe2I\xdeHG8\xfb\xea\xd0\xbf\xf7k\x1e:\xb0\x13\xe3\xea\x12>R\x14\x02\x92\x81a&\xed\xc5\xc4\x9c1\x1d\xb8|m\xe8<lL0\x1f@\x90\xc5\xba?Q_\xfcSP\xce9l\xf3\xf2\xf2\xef\xed\xc1\x03u\xf3b?/\xdf\xe1S\x820\x07o\x1d\xfeTq\x842(\xd4s\xecXS\x8c\xddQ\x94' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
2023-04-06 16:47:36.810 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/DateTime
2023-04-06 16:47:36.810 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Response to GET request /gateway/DateTime: null
2023-04-06 16:47:36.810 DEBUG (MainThread) [bosch_thermostat_client.gateway.easycontrol] Can't fetch data for update_info Error requesting data from /gateway/DateTime
2023-04-06 16:47:36.810 ERROR (MainThread) [bosch_thermostat_client.gateway.easycontrol] Couldn't find device model. Got product ID: None
2023-04-06 16:47:36.812 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2023-04-06 16:47:46.620 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.22.2.
2023-04-06 16:47:46.620 DEBUG (MainThread) [custom_components.bosch] Initializing Bosch integration.
2023-04-06 16:47:46.621 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as 101304928.
2023-04-06 16:47:46.621 DEBUG (MainThread) [bosch_thermostat_client.connectors.xmpp] Sending GET request to /gateway/uuid by 140454549721616
2023-04-06 16:47:47.250 DEBUG (MainThread) [bosch_thermostat_client.encryption.base] Unable to decrypt: b'\xee\xa9"\x96PK@\xae\x82\xa7i\xbf]\xb7\x83\xae\x98c\xd7\xfb\xa6\x13@\x9e#\n\xe8\x16\x922qr\xea\xb5\xe6&\x8f\xf2]\'\x97V\x03Iex\xd6\x89\x1c\xeb\x15Fmi\xe2\xc9>\xc9\xffcj\x86yf@\xea\xf5\x86\x05Rf\x8c~\x0c\xbft\x0e\x05\xd92l\xbao\x97`U}\xe3\x16\xcau\x0e\xdf\xab\xbd\'' with error: 'utf-8' codec can't decode bytes in position 0-1: invalid continuation byte
Keithsc commented 1 year ago

Having upgraded both HA and the Bosch Component I can't get the component to work, so I decided to try the dev scan tool that had worked previously, Had to do the docker build thing again but when I do run it I get the following errors.

FYI I had to reset my password during the upgrade as i though that might have been an issue, my password definitely works as I can login using the android app. My EasyControl Thermostat/Hub is running Version v04.00.00 firmware.

docker run test scan --host=11111111 --token=222222222222222222 --password=xxxxxxxx --protocol XMPP --device=EASYCONTROL /usr/local/lib/python3.10/dist-packages/tzlocal/unix.py:183: UserWarning: Can not find any timezone configuration, defaulting to UTC. warnings.warn("Can not find any timezone configuration, defaulting to UTC.") /usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/bosch_cli.py:397: DeprecationWarning: There is no current event loop asyncio.get_event_loop().run_until_complete(cli()) 2023-04-07 21:15:07 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/uuid 2023-04-07 21:15:07 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /system/interfaces 2023-04-07 21:15:07 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/versionFirmware 2023-04-07 21:15:08 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/productID 2023-04-07 21:15:08 INFO (MainThread) [bosch_thermostat_client.connectors.xmpp] Msg exception for /gateway/DateTime 2023-04-07 21:15:08 ERROR (MainThread) [bosch_thermostat_client.gateway.easycontrol] Couldn't find device model. Got product ID: None Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/bosch_cli.py", line 397, in asyncio.get_event_loop().run_until_complete(cli()) File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1130, in call return self.main(args, kwargs) File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 760, in invoke return __callback(args, kwargs) File "/usr/local/lib/python3.10/dist-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, *kwargs) File "/usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/bosch_cli.py", line 86, in wrapper return asyncio.run(f(args, kwargs)) File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/bosch_cli.py", line 241, in scan connected = True if ignore_unknown else await gateway.check_connection() File "/usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/gateway/base.py", line 331, in check_connection await self.initialize() File "/usr/local/lib/python3.10/dist-packages/bosch_thermostat_client/gateway/base.py", line 91, in initialize raise UnknownDevice("Your device is unknown %s" % json.dumps(self._device)) bosch_thermostat_client.exceptions.UnknownDevice: Your device is unknown null

Keithsc commented 1 year ago

I just can't get the bosch component to work again.... This is what I have tried..

Installed the latest version of HA via docker-pull Removed Developer > Intergration Removed the HACS Intergtation Stopped and Started HA Container Installed the v0.21.0 Bosch Component Restarted the HA Container Installed the Developer > Integration Get the same message each time "Created configuration for Unknown model" Click on the Finnish Button The Intergration just loops with "Retrying setup: ('Cannot connect to Bosch gateway, host %s with UUID: %s', '101147738', None)"

Stijnele commented 1 year ago

Regarding CT200, I found this one for use with Homebridge instead of HomeAssistant: https://github.com/lynxcs/homebridge-ct200/issues/22#issuecomment-1004985179 and that did the trick for me. So now I have 2 passwords for Bosch.

erreesse commented 1 year ago

i had CT200, as suggested, i changed (add) password in the app ( i used the same password) an now the component is loaded... BUT , the integration shows "Unknown model" and all entity is "not available".... at first was all disabled, i eneble all, but all entity has become "not available"

any suggestion ?

Logger: homeassistant.components.switch Source: custom_components/bosch/switch.py:102 Integration: Interruttore (documentation, issues) First occurred: 11:36:17 (5 occurrences) Last logged: 11:50:48

Error while setting up bosch platform for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/bosch/switch.py", line 34, in async_setup_entry BoschSwitch( File "/config/custom_components/bosch/switch.py", line 102, in init self._attr_unique_id = self._domain_name + self._name + self._uuid TypeError: can only concatenate str (not "NoneType") to str

Logger: homeassistant.components.sensor Source: components/sensor/init.py:497 Integration: Sensore (documentation, issues) First occurred: 11:38:38 (3 occurrences) Last logged: 11:50:48

Entity sensor.energy_temperature (<class 'custom_components.bosch.sensor.energy.EnergySensor'>) is using state class 'total' which is impossible considering device class ('temperature') it is using; expected None or one of 'measurement'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

erreesse commented 1 year ago

2023-04-09 12:10:41.095 INFO (MainThread) [custom_components.bosch] Bosch initialized. 2023-04-09 12:10:41.095 DEBUG (MainThread) [custom_components.bosch] Registering debug services. 2023-04-09 12:10:41.095 DEBUG (MainThread) [custom_components.bosch] Bosch component registered with platforms ['water_heater', 'number', 'climate', 'sensor', 'switch', 'binary_sensor']. 2023-04-09 12:10:41.108 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.energy_temperature (<class 'custom_components.bosch.sensor.energy.EnergySensor'>) is using state class 'total' which is impossible considering device class ('temperature') it is using; expected None or one of 'measurement'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-04-09 12:10:41.109 ERROR (MainThread) [homeassistant.components.switch] Error while setting up bosch platform for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/bosch/switch.py", line 34, in async_setup_entry BoschSwitch( File "/config/custom_components/bosch/switch.py", line 102, in init self._attr_unique_id = self._domain_name + self._name + self._uuid TypeError: can only concatenate str (not "NoneType") to str

Matthijsbr123 commented 1 year ago

This was the solution for me. Maybe describe it in the readme ?

Matthijsbr123 commented 1 year ago

Regarding CT200, I found this one for use with Homebridge instead of HomeAssistant: lynxcs/homebridge-ct200#22 (comment) and that did the trick for me. So now I have 2 passwords for Bosch.

This was the solution for me. Maybe describe it in the readme ?