-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with water heater entity and sensors #13
Comments
about water_heater. about sensor. |
This comment has been minimized.
This comment has been minimized.
Where would I set ownprogram? On the RC300 itself? The dhw1 entity does not give me any options in the mode drop-down menu. Any way of completely disabling the water heater integration, as I'm only interested in hc1 and sensors? Could EMS bus have any influence on these issues? |
RC300 or Android app. They call it 'Auto' in app. |
|
Can you provide scan now? |
I ran a diff on the scan dump before and after and can report the following:
No other differences besides this (except for normal changes in various sensor values) Full dump here: https://jsonblob.com/04ff5a58-1dae-11ea-91ae-2f84de87bcac |
Describe the bug
Big thanks first of all to pszafer and all other contributors for your work on this project, it's much appreciated.
I'm experiencing an issue with the dhw1 water heater not working or displaying any information.
None of the Bosch sensor entites are working either, all enabled entities display a value of -1 with a stateExtra of "Waiting to fetch data". The hc1 climate control appears to be working fine
Many of these sensors do display a proper value in the debug JSON dump (see below)
Log errors
On HA start:
2019-12-11 23:09:20 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bosch which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-12-11 23:09:23 DEBUG (MainThread) [custom_components.bosch] Setting up Bosch component. 2019-12-11 23:09:23 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway. 2019-12-11 23:09:23 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /gateway/uuid [...requests...] 2019-12-11 23:09:30 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /dhwCircuits/dhw1/status 2019-12-11 23:09:30 INFO (MainThread) [custom_components.bosch] Bosch initialized. 2019-12-11 23:09:30 DEBUG (MainThread) [custom_components.bosch] Bosch component registered. 2019-12-11 23:09:30 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites. 2019-12-11 23:09:30 DEBUG (MainThread) [bosch_thermostat_http.circuit] Updating HC hc1 2019-12-11 23:09:30 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /heatingCircuits/hc1/roomtemperature [...requests...] 2019-12-11 23:09:31 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /heatingCircuits/hc1/manualRoomSetpoint 2019-12-11 23:09:31 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated. 2019-12-11 23:09:31 DEBUG (MainThread) [bosch_thermostat_http.circuit] Updating HC dhw1 2019-12-11 23:09:31 DEBUG (SyncWorker_12) [custom_components.bosch.climate] Update of climate hc1 component called. 2019-12-11 23:09:31 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /dhwCircuits/dhw1/actualTemp 2019-12-11 23:09:31 DEBUG (SyncWorker_12) [bosch_thermostat_http.circuit] Current temp of hc1 is {'value': 22.3, 'unitOfMeasure': 'C'} 2019-12-11 23:09:31 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /dhwCircuits/dhw1/operationMode 2019-12-11 23:09:32 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /dhwCircuits/dhw1/status 2019-12-11 23:09:32 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /dhwCircuits/dhw1/switchPrograms 2019-12-11 23:09:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/bosch/__init__.py", line 259, in thermostat_refresh await self.component_update(WATER_HEATER) File "/config/custom_components/bosch/__init__.py", line 239, in component_update await entity.bosch_object.update() File "/usr/local/lib/python3.7/site-packages/bosch_thermostat_http/circuit.py", line 106, in update active_program = self.get_activeswitchprogram(result) File "/usr/local/lib/python3.7/site-packages/bosch_thermostat_http/circuit.py", line 213, in get_activeswitchprogram return result["references"][0][ID].split("/")[-1] IndexError: list index out of range 2019-12-11 23:10:31 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites. 2019-12-11 23:10:31 DEBUG (SyncWorker_11) [custom_components.bosch.climate] Update of climate hc1 component called. 2019-12-11 23:10:31 DEBUG (SyncWorker_7) [custom_components.bosch.water_heater] Updating Bosch water_heater.
Upon enabling a sensor in the HA devices UI, the following errors are triggered:
2019-12-11 23:11:50 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers triggers = await _async_get_device_automations(hass, "trigger", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:50 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 201, in websocket_device_automation_list_conditions conditions = await _async_get_device_automations(hass, "condition", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:50 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions actions = await _async_get_device_automations(hass, "action", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers triggers = await _async_get_device_automations(hass, "trigger", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 201, in websocket_device_automation_list_conditions conditions = await _async_get_device_automations(hass, "condition", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions actions = await _async_get_device_automations(hass, "action", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers triggers = await _async_get_device_automations(hass, "trigger", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 201, in websocket_device_automation_list_conditions conditions = await _async_get_device_automations(hass, "condition", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:11:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2891812592] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions actions = await _async_get_device_automations(hass, "action", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2902118288] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers triggers = await _async_get_device_automations(hass, "trigger", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2902118288] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 201, in websocket_device_automation_list_conditions conditions = await _async_get_device_automations(hass, "condition", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2902118288] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions actions = await _async_get_device_automations(hass, "action", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2894851984] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers triggers = await _async_get_device_automations(hass, "trigger", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2894851984] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 201, in websocket_device_automation_list_conditions conditions = await _async_get_device_automations(hass, "condition", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain' 2019-12-11 23:12:14 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2894851984] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions actions = await _async_get_device_automations(hass, "action", device_id) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 123, in _async_get_device_automations domains.add(config_entry.domain) AttributeError: 'NoneType' object has no attribute 'domain'
Screenshots
Version
The text was updated successfully, but these errors were encountered: