bosch-thermostat / home-assistant-bosch-custom-component Goto Github PK
View Code? Open in Web Editor NEWHA custom component for Bosch thermostats
License: Apache License 2.0
HA custom component for Bosch thermostats
License: Apache License 2.0
Describe the bug
Component can't communicate with heatpump
I have tried to reinstall component and HA, without success.
I was not able to run debugscan but did the best I could, see below...
I suspect the new firmware in the heatpump is the problem.
What steps are neccesary to support this?
ERROR:bosch_thermostat_client.gateway.base_gateway:You might have unsuporrted firmware version 04.07.05
INFO:bosch_thermostat_client.bosch_rawscan_cli:Successfully connected to gateway. Found UUID: xxxxxx
ERROR:bosch_thermostat_client.encryption.base_encryption:Unable to decrypt: b"\xf8\xa9\xfc\x99\\\th\xdb\xa1\xb5\x81A\xdep\x9e\xac\xd8\x90\\6*AQ\xe6_\t]oR\xaa\x1f+Yp\xe1\xb0\xa3`\xec\xa8\x0ca\x06zXN\xff\xbbn$\xd9\xf8S\x8e-\x89\x8bo\xa3\xd5'\x10\x83\xedn\xf9s\xcd\xff\xf9\xc0\xdd\xe5 84\xec\xe8\xd5\xa5\x86)W2\x04\x9f\x94f\x90\xbf\xc0\x8a\xb2[\xa5\xc4\xbf8\xa6\xc2\x84\xba\x15\xa6\xc3!\xb8\xb5\x10\xe1#\xc7W,\x82\x0e{\x80[S\xc7Zcgo\xdcB\xd0\xd9\xea\xba#\xf72\x9d\x03\xda\xe4\x95\xbe\xf3#\xe7\xec\x88\xcd\xa9p\xc5\xc4\xf6\xa5\xdb\xe7:\xf2\xc3^\x94I\xfb\x90\xf9\xd5\x03\xfc\x15\xe3\x15\xdev\xc4\xeeP\x14\xae\x00\xae\xf4\xba,%\x99\x16v%F\xb9\x8c\x88\xd4q\xe6n#L\x14]X\xaa\xd7\x9en`\xab!{)w\xd9\xafo\x8a\xa7\xb3\xe0\xe4\x85\xe2Bx\xa0\xc3\xa1" with error: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte
INFO:bosch_thermostat_client.bosch_rawscan_cli:Successfully saved result to file: rawscan.json
(venv) ajn@ubuntu:~/Projects/bosch-thermostat-client-python$
What can I do to help?
First of all thanks for the great work. It works perfectly with my Nefit Enviline (KM200).
At startup I get some messages since Home Assistant release version 0.110:
Best regards, Stefan
Hi !
I have added my Heatpump today and It seems to work.
But seems to lack the option Opt as mode for the heating.
I changed the temp to 20.5 degrees in HA and it changed in the Bosch app on my iphone.
But it changed mode to Auto.
Im on latest HA version. 0.108.3
bosch_scan.txt
Rename it to json instead of txt
Note, component will stop working in HA 0.96.
I will rewrite it after 15th July.
More info:
home-assistant/core#23899
Hi everybody,
First of all, thank you very much for developing this custom component, and in second, I would like to apologize for my poor English level.
I would ask you about my HA installation, I’ve tried different ways to connect my Junkers CT100 without success, I know that your development is for Bosch thermostats, but Junkers CT100 is made from Bosch, because Bosch is the Main Company and they make different models as Bosch, Junkers and Buderus.
I’ve download your Github code from https://github.com/pszafer/home-assistant-bosch-custom-component and I’m trying to configure all in HA in order to obtain the must simple value of my thermostat, the temperature, I’ve copied your bosch folder in custom_components folder, and I’ve added on configuration.yaml the values that you refer.
Well, to be honest, I'm not sure if I've done the correct steps, I'm new in HA.
There are my steps:
bosch:
address: 192.168.1.33
password: 080xxxx
access_token: 4eswvUxL5ssxxxx
sensors:
- return
But, unfortunately, nothing occurs, in Entities don't appear any Bosh entity, thanks in advance, and sorry for my ignorance.
Joan
Describe the bug
Since today I can no longer use the Bosch custom component. I can no longer see any values from the sensors and/or change settings. I tried removing and reinstalling the Bosch integration.
I can still ping the device on it's fixed ip address and it is still online according to the Nefit ProControl IOS app which I can use to
control and monitor it
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A normal functioning component,
Screenshots
If applicable, add screenshots to help explain your problem.
Version
HA version:
arch | x86_64
chassis | desktop
dev | false
docker | true
docker_version | 19.03.12
hassio | true
host_os | Debian GNU/Linux 10 (buster)
installation_type | Home Assistant Supervised
os_name | Linux
os_version | 4.19.0-10-amd64
python_version | 3.8.3
supervisor | 235
timezone | Europe/Amsterdam
version | 0.114.3
virtualenv | false
HA Bosch component version?
The same as here on GitHub
Python Bosch HTTP client version?
The same as here on GitHub
** Debug SCAN **
** IMPORTANT **
Debug scan does not work, I don not get a download
there is however a log entry:
"Home Assistant log tells me :"Detected use of deprecated base_url
property, use homeassistant.helpers.network.get_url
method instead. Please report issue to the custom component author for bosch using this method at custom_components/bosch/init.py, line 286: url = "{}{}".format(self.hass.config.api.base_url, "/local/bosch_scan.json")""
and right before this log entry:
"Logger: bosch_thermostat_client.encryption.base_encryption
Source: /usr/local/lib/python3.8/site-packages/bosch_thermostat_client/encryption/base_encryption.py:77
First occurred: 21:21:19 (1 occurrences)
Last logged: 21:21:19
Unable to decrypt: b'\x9e\xa8*\xc7\x85lx\xae\x91{\x0f\x84\xc6\xfa\x01\xab\x04\xb9a\xf49\x94\xbb\xe6\xf8\xee/\xdc\xafx\xa5a\xacLH\xe4\xcc\x97\x03\x9e\xf7:\xdczo\x92?/\xbe\x16\xa4\xc1\xe5$\xfb\xbf\xcd\x8d\xb8\xb4B\xcf\xc8\xaf\x07H\xbf.\xb7\xd7.\xe7\xb0\xe0\xe3\xeb\xfbJAcj\xa1\n\xf6jZ:\xcc\xc9\x89\xd7o>\xbd\xf4\xeb\xefK\xe49\xa6\xd9\xd4\xcanQZ\xd2\x9aO:\xab\xf3\xef\x90\xed\x91\x83\x03)y\x05.\xdf\xd9<w\xa9\x96\xfb\xa3\xd7gt\xc5\xdc;g\xe2\xf4\xa4\x01\x0bus:\x15\xa4mH5\x84n6A\x07
tr<\xf9$\xafL\x01\x0f\x87\xa7i\xe3\x9e\x03\xb8\x03\x99\x9c\xd4\xd6\x1c.\xc6\x05tP\xef\xbe\xac\xc1\x8a-\xd5\xa9\xe5vb\x9f\xae\xf9\\xe5\x92\xc9\xe9\xe3\xd6=`\xc8\xfa\xe2\x14H\xc7\x0c\xa7\xa2K\x9a$\xc7\x1dO\xcb' with error: 'utf-8' codec can't decode byte 0x9e in position 0: invalid start byte"
Additional context
Add any other context about the problem here.
I have a IVT Geo 516 which is not officially supported by your component, but that I got working with your help in another issue entry (thanks!). There is a wireless temperature sensor that came with the heater and helps the heater adjust to the temperature in the house. It is available on the /heatingCircuits/hc1/roomtemperature endpoint. Would it be possible to add support for it?
Here is my Bosch-dump:
https://jsonblob.com/0383cc7d-4317-11eb-9756-9b0ca7c0cb6d
This is the sensor I would like to read into HA:
{
"id": "/heatingCircuits/hc1/roomtemperature",
"type": "floatValue",
"writeable": 0,
"recordable": 1,
"value": 18.9,
"unitOfMeasure": "C",
"state": [
{
"open": -3276.8
},
{
"short": 3276.7
}
]
},
I have a Bosch Compress 5000 LW ground-source heat pump equipped with a ProControl gateway. This custom component can connect to the gateway with no problem, and I can access some of the data it provides (namely outdoors and water heater temperatures).
I'm trying to feed my indoor temperature sensors' temperature from Home Assistant to the heat pump so that it would adjust its heating accordingly. This works, but only partially. To actually be able to set the target temperature so that it has any meaning, the heat pump must not be in the "Optimized usage" aka HP_OPTIMIZED switch program, it must be in Program1 or Program2. As we discussed in Discord with pzsafer, the hvac_mode exposed to HA maps "auto" to HP_OPTIMIZED, "heat" to Program1 and "heat_cool" to Program2.
With hvac_mode set to match Program1 or Program2, editing the temperature from HA gives this message to the logs:
2020-04-02 08:40:00 DEBUG (MainThread) [custom_components.bosch.climate] Setting target temperature 22.0.
2020-04-02 08:40:00 ERROR (MainThread) [bosch_thermostat_http.circuit] Setting temperature not allowed in this mode. Temperature is probably out of range MIN-MAX!
2020-04-02 08:40:00 DEBUG (SyncWorker_1) [custom_components.bosch.climate] Update of climate hc1 component called.
2020-04-02 08:40:00 DEBUG (SyncWorker_1) [bosch_thermostat_http.circuit] Current temp of HC1 is {'value': 22.0, 'minValue': 10.0, 'maxValue': 35.0, 'unitOfMeasure': 'C'
}
Based on what I see, there's one workaround to make the temperature setting work for a while:
2020-04-02 08:54:32 DEBUG (MainThread) [custom_components.bosch.climate] Setting target temperature 22.0. 2020-04-02 08:54:32 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending PUT request to /heatingCircuits/hc1/temperatureLevels/normal 2020-04-02 08:54:32 DEBUG (MainThread) [bosch_thermostat_http.circuit] Set temperature for hc1 with result True 2020-04-02 08:54:32 DEBUG (SyncWorker_7) [custom_components.bosch.climate] Update of climate hc1 component called. 2020-04-02 08:54:32 DEBUG (SyncWorker_7) [bosch_thermostat_http.circuit] Current temp of HC1 is {'value': 23.5, 'minValue': 10.0, 'maxValue': 35.0, 'unitOfMeasure': 'C'}
Home Assistant version 0.107.7, HA Bosch component 0.7.2.
Here's bosch_scan.json done when hvac_mode was set to heat_cool and setting temperature didn't work: https://jsonblob.com/6bf574c4-74a7-11ea-a7d0-03e648df9933
Hi support team,
After upgrade from version 9.2 tot 9.9 I have no return temp anymore. Below the log and a screanshot of my sensors I am using.
I have a nefit (bosch) heatpump with an 300 ltr boiler and a IVT by RC300 IP modem Firmware: 04.07.05
I hope you can help me.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsOutdoor temperature759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual supply temp759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsHealth status759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsReturn temp759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual Supply temperature759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual modulation759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual heating pump modulation759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsEnergy consumption759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsNotifications759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor dhw1dhw1 Charge759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Pump Modulation759350431 called.
2020-12-13 00:55:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Actual supply temperature for HC759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch] Updating component sensor by 140463028136544
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsOutdoor temperature759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual supply temp759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsHealth status759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsReturn temp759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual Supply temperature759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual modulation759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual heating pump modulation759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsEnergy consumption759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsNotifications759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor dhw1dhw1 Charge759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Pump Modulation759350431 called.
2020-12-13 00:56:19 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Actual supply temperature for HC759350431 called.
2020-12-13 00:56:19 DEBUG (SyncWorker_1) [custom_components.bosch.climate] Update of climate hc1 component called.
2020-12-13 00:56:19 DEBUG (SyncWorker_23) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2020-12-13 00:56:19 ERROR (MainThread) [bosch_thermostat_client.helper] Can't update data for Return temp. Trying uri: /system/sensors/temperatures/return. Error message: URI /system/sensors/temperatures/return doesn not exist: 404, message='Not Found', url=URL('http://192.168.1.190/system/sensors/temperatures/return')
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch] Updating component sensor by 140463028136544
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch] Bosch sensor entitites updated.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch] Updating component climate by 140463028136544
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsOutdoor temperature759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual supply temp759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsHealth status759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsReturn temp759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual Supply temperature759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual modulation759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual heating pump modulation759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsEnergy consumption759350431 called.
2020-12-13 00:56:20 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsNotifications759350431 called.
2020-12-13 00:56:22 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated.
2020-12-13 00:56:22 DEBUG (MainThread) [custom_components.bosch] Updating component water_heater by 140463028136544
2020-12-13 00:56:22 DEBUG (SyncWorker_25) [custom_components.bosch.climate] Update of climate hc1 component called.
2020-12-13 00:56:23 DEBUG (MainThread) [custom_components.bosch] Bosch water_heater entitites updated.
2020-12-13 00:56:23 DEBUG (SyncWorker_15) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsOutdoor temperature759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual supply temp759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsHealth status759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsReturn temp759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual Supply temperature759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual modulation759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsActual heating pump modulation759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsEnergy consumption759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor SensorsNotifications759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor dhw1dhw1 Charge759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Pump Modulation759350431 called.
2020-12-13 00:56:49 DEBUG (MainThread) [custom_components.bosch.sensor] Update of sensor hc1hc1 Actual supply temperature for HC759350431 called.
The title says it all. I think in HA I could not see a disabled sensor for number of burner starts etc?
Is it useful ?
After adding the code to this folder:
config/custom_components/bosch/
Home assistant will not stop or start. Running hassio ha start
just say:
Error:
and fail.
Hello,
I have a brandnew Bosch 7001i Ground Heating Pump installed and connected it with the built in Ethernet Connector.
As i understand this product is from IVT but sold under Bosch - right?
Runnung Home Assistant on a Pi 4 on the latest Version with the Bosch Custom Component on 9.11.
I get some Datas out but not consumed KW/h, Start Time, circuit Pump Modulation and all the Collector Data. Can someone help me? is there something wrong configured or is that model not completely supported?
here the debug log
bosch_scan.zip
Describe the bug
Trying to create automation to control water_heater during holiday mode. For that I'm using water_heater.set_temperature service. Whenever I call this service error occur:
2020-06-24 14:09:53 ERROR (MainThread) [bosch_thermostat_client.circuits.ivt_circuit] Setting temperature not allowed in this mode. Temperature is probably out of range MIN-MAX!
water_heater behave strange .. sometimes it sets temperature, sometime not, cant' really reproduce it.
The only time when temperature it being set is when indeed my set i within min_temp - max_temp threshold but those are changing somehow automatically and I see no way how to change it.
during tests I saw even min_temp and max_temp set to 0 ! ... don't know how. It has been reverted back when I changed operation_mode from heat_pump into performance (or vice versa)
Expected behavior
temperature to be set as desire
screenshots
before service call:
Version
** Debug SCAN **
https://jsonblob.com/0cd2e7f1-b60d-11ea-add9-3fec6e3ef106
Additional context
in general seems like operation_modes are not in line what my KM200 is been able to set. When I change operation_mode in the component to heat_pump, than in the Buderus app I see message: "Can't show current working mode as this mode is not supported by application" ... On the other hand when I set in the app "auto" or "manual" or "off" mode it is showed in the component as "heat_pump" all the time despite what I've set in the app.
Is your feature request related to a problem? Please describe.
I cannot set room temperature setpoint
Describe the solution you'd like
Set room temperature setpoint using "/heatingCircuits/hc1/temperatureRoomSetpoint"
Additional context
{
"id": "/heatingCircuits/hc1/temperatureRoomSetpoint",
"maxValue": 30.0,
"minValue": 5.0,
"recordable": 0,
"state": [
{
"off": 0.0
}
],
"type": "floatValue",
"unitOfMeasure": "C",
"value": 22.0,
"writeable": 1
},
Hi,
I want to use this integration with my EasyControl CT200. It seems some kind of magic key is missing to get going with this. I just tried decompiling the Android version of the Bosch EasyControl app. I found some strings and auth_config json data that might be the key to getting this working.
I have no idea if I can simply share this without legal consequences?
Kind regards,
Ton
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
I'd like to see the systemPressure as an entity because it's a useful value to monitor (at least for me, but normally good to know - if it drops relatively fast there is probably a leak).
Describe alternatives you've considered
Nothing....
Additional context
systemPressure is two times availible, "/system/appliance/systemPressure" and "/heatSources/systemPressure". I don't know if one is more generic or easier to implement.
My complete bosch_scan.json is attached (as .json.txt as github doesn't want .json)
Otherwise it runs very good, thanks for this plugin!
Hello,
Can not add integration IVT - HTTP
`Logger: custom_components.bosch.config_flow
Source: custom_components/bosch/config_flow.py:128
Integration: Bosch (documentation)
First occurred: 5:27:21 PM (4 occurrences)
Last logged: 5:31:38 PM
Error connecting Bosch at 192.168.1.32 - Expecting ',' delimiter: line 115 column 17 (char 3701)`
I have Buderus with CAN.
0.7.2 working ok.
Thank you.
Hi @pszafer
The link https://discordapp.com/invite/uWnWnx seems to be expired or "may not have permission to join".
My name is "Dr Trefex#1506"
It would be great if the entity_id would be more unique. Having a sensor called sensor.outdoor_temperature
has a likelihood of conflicting with existing sensors due to its shortness.
More so, imho it is not very much identifiable to be a sensor created by your component.
Even more important, If someone has more than one heater you are certainly running into naming problems. I know this scenario might be not very likely but why not let it be the factor for this change.
Describe the solution you'd like
I would suggest a yaml option name
which is used to identify the heater. This could be part of the naming convention for the sensor entity_id.
To not break the existing configurations of others, set its default to empty string and when given prefix and suffix it with _
Example:
bosch:
- address: <IP ADDRESS>
password: "YOUR GATEWAY PASSWORD"
access_token: "Access key to your gateway"
name: mysuperheater
Result:
sensor.mysuperheater_outdoor_temperature
Hello! I have the following error message on start:
Error during setup of component bosch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
hass, processed_config
File "/config/custom_components/bosch/init.py", line 92, in async_setup
if host in configured and configured[host][SENSORS] == config[SENSORS]:
KeyError: 'sensors'
Originally posted by @kantorbalazs in #13 (comment)
Hi,
You should probably add "venv" file to gitignore
After new installation via "IVT => HTTP" only the "RC300/RC310/Nefit Moduline 3000" with one device but w/o any entities ist there.
Home Assistant 2020.12.2, Bosch thermostat V 0.9.11
I've also tested to install via NEFIT(XMPP only). => Unknown error occurred
and
IVT => XMPP => Unknown error occurred
Description
My Buderus heater is not controlled via a room thermostat - in fact my RC35 is mounted to the boiler itself.
The heating behaviour is controlled via outside temperature and via separate thermostats mounted to radiators.
Sometimes I´m out of town, activate a lower temperature profile and disable water heating. For ease of use
I use customised heating profiles. There are two custom profiles, that I´ve configured accordingly:
When I´m present, I use
/heatingCircuits/hc1/activeSwitchProgram/Eigen1
When away, I activate
/heatingCircuits/hc1/activeSwitchProgram/Eigen2
Feature Request
As I found no convenient solution for chaning the "activeSwitchProgram" via for example CURL,
I´d love having an "input_select" way of switching the SwitchProgram. There are some different
profiles, that can be picked:
Eigen1|Eigen2|Familie|Morgen|Abend|Vormittag|Nachmittag|Mittag|Single|Senioren
Most of them are predefined settings, but Eigen1 and Eigen2 can be customized.
Manual Operating Instructions Logamatic EMS describes profiles on page 32 to 34.
Lookup/Description for profiles:
Familie -> family
Purpose: Default program
Eigen1 -> costom1
Purpose: Custom profile 1
Eigen2 -> costom1
Purpose: Custom profile 2
Morgen -> early morning
Purpose: Early shift work
Abend -> evening
Purpose: Late shift work
Vormittag -> morning
Purpose: Part-time work, mornings only
Nachmittag -> afternoon
Purpose: Part-time work, afternoons only
Mittag -> midday
Purpose: At home at midday
Single -> single
Purpose: Single person
Senioren -> senior citizens
Purpose: Senior citizens
Closing words
Hope, I described it comprehensible :-).
Thanks and regards,
Jakob
Hello,
Thank you very much for developping this custom component.
Unforunately, I cannot start the component after installing it following the instructions. I've tried many times for several weeks now but the component doesn't seem to retrieve the data from my Buderus KM200. Please note that I've installed and used the "ha-buderus" (https://github.com/stefanlaheij/ha-buderus/) component before without a problem. I've uninstalled it before using your component.
This is the error I mostly get:
Error setting up entry for bosch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 153, in async_setup
hass, self)
File "/config/custom_components/bosch/init.py", line 91, in async_setup_entry
"sensors", uuid, bosch_sensors(current_firmware), gateway))
File "/config/custom_components/bosch/init.py", line 172, in initialize_component
components[FIRMWARE_VERSION])
TypeError: 'NoneType' object is not subscriptable
When I look at the full Home assistant log, the component seems to be communicating with the KM200 but it doesn't retrieve the data:
2019-07-19 22:20:06 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /gateway/versionFirmware from gateway: {"id":"/gateway/versionFirmware","type":"stringValue","writeable":0,"recordable":0,"value":"01.10.03"}
2019-07-19 22:20:06 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /gateway/versionHardware
2019-07-19 22:20:08 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /gateway/versionHardware from gateway: {"id":"/gateway/versionHardware","type":"stringValue","writeable":0,"recordable":0,"value":"iCom_Low_v1"}
2019-07-19 22:20:08 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /system/brand
2019-07-19 22:20:09 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /system/brand from gateway: {"id":"/system/brand","type":"stringValue","writeable":0,"recordable":0,"value":"Buderus"}
2019-07-19 22:20:09 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /system/systemType
2019-07-19 22:20:10 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /system/systemType from gateway: {"id":"/system/systemType","type":"stringValue","writeable":0,"recordable":0,"value":"CoreIcomGw"}
2019-07-19 22:20:10 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /heatingCircuits
2019-07-19 22:20:12 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /heatingCircuits from gateway: {"id":"/heatingCircuits","type":"refEnum","references":[{"id":"/heatingCircuits/hc1","uri":"http://192./heatingCircuits/hc1"},{"id":"/heatingCircuits/hc2","uri":"http://192./heatingCircuits/hc2"}]}
2019-07-19 22:20:12 DEBUG (MainThread) [bosch_thermostat_http.http_connector] Sending request to /heatingCircuits/hc1
2019-07-19 22:20:15 DEBUG (MainThread) [bosch_thermostat_http.gateway] Retrieved data for path /heatingCircuits/hc1 from gateway: {"id":"/heatingCircuits/hc1","type":"refEnum","references":[{"id":"/heatingCircuits/hc1/currentRoomSetpoint","uri":"http://192./heatingCircuits/hc1/currentRoomSetpoint"},{"id":"/heatingCircuits/hc1/actualSupplyTemperature","uri":"http://12./heatingCircuits/hc1/actualSupplyTemperature"},{"id":"/heatingCircuits/hc1/actualSupplyTempSetpoint","uri":"http:///heatingCircuits/hc1/actualSupplyTempSetpoint"},{"id":"/heatingCircuits/hc1/operationMode","uri":"http:///heatingCircuits/hc1/operationMode"},{"id":"/heatingCircuits/hc1/temperatureRoomSetpoint","uri":"http:///heatingCircuits/hc1/temperatureRoomSetpoint"},{"id":"/heatingCircuits/hc1/roomtemperature","uri":"http:///heatingCircuits/hc1/roomtemperature"},{"id":"/heatingCircuits/hc1/manualRoomSetpoint","uri":"http:///heatingCircuits/hc1/manualRoomSetpoint"},{"id":"/heatingCircuits/hc1/designTemp","uri":"http:///heatingCircuits/hc1/designTemp"},{"id":"/heatingCircuits/hc1/currentOpModeInfo","uri":"http:///heatingCircuits/hc1/currentOpModeInfo"},{"id":"/heatingCircuits/hc1/heatCurveMax","uri":"http://*/heatingCircuits/hc1/heatCurveMax"},
Hi,
Is it possible to get displayed the status of the Auxilary Heating?
I assume that would be the sensor *Flamestatus" which in my case is constantly "Off".
I did the bosch scann on the entity "flamestatus" if that information is helpful.
Let me know if i can provide more information...
bosch_scan.zip
At least my Unit has Summer/Winter switchpoints, so at some level of outdoortemperature the heating turns off (or the heatingcircuit).
Even though you define thresholds the it doesn't switch at these thresholds of the outdoortemperature on and off, instead it does some debouncing and things.
So my question is if it would be possible to have these status-sensors in HA so I can use it so switch some thermostats.
The corresponding data seems to be in
{
"id": "/heatingCircuits/hc4/suWiSwitchMode",
"type": "stringValue",
"writeable": 1,
"recordable": 1,
"value": "active",
"allowedValues": [
"off",
"active"
]
},
a fulll scan of my system is in #10
Don't know if it's doable, but as I got my outdoortemperature (still thanks for that!) I thought I'll ask.
I found next extra feature with DHW on RC300.
If your last program was 'high' and you restart gateway then schedule won't be visible till change of program to ownprogram
.
If you have schedule and change operation modes in order:
Then schedule will point to temperatureLevel called on
, which doesn't exists.
@moustic999 can you test what to read if current setpoint from schedule == on
Based on: #13
Hi pszafer,
As you ask me I attached my rawscan. Also the screenshot of my sensors.
They are not made on the same time. As you see there are two Invalid sensors in my config.
Thx for your support so far.
Describe the bug
Every minute I see the following error in Home Assistant log:
2020-11-28 14:05:53 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 404 Not Found', '', '', '']
2020-11-28 14:05:54 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/bosch/__init__.py", line 277, in thermostat_refresh
await self.component_update(WATER_HEATER, event_time)
File "/config/custom_components/bosch/__init__.py", line 254, in component_update
await entity.bosch_object.update()
File "/usr/local/lib/python3.8/site-packages/bosch_thermostat_client/circuits/circuit.py", line 242, in update
active_program = self.get_activeswitchprogram()
File "/usr/local/lib/python3.8/site-packages/bosch_thermostat_client/circuits/circuit.py", line 201, in get_activeswitchprogram
return result["references"][0][ID].split("/")[-1]
KeyError: 'references'
Only the following integration entities are enabled:
Rest is disabled.
To Reproduce
This happen without intervention every minute.
activeSwitchProgram
looks ok in debug scan:
{
"id": "/heatingCircuits/hc1/activeSwitchProgram",
"type": "stringValue",
"writeable": 1,
"recordable": 0,
"value": "A",
"allowedValues": [
"A",
"B"
]
}
Version
Debug SCAN
Debug scan attached.
While performing debug scan I also noted a bunch of errors appearing in the log:
2020-11-28 14:07:05 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:05 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:06 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:07 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:08 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:08 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:11 ERROR (MainThread) [bosch_thermostat_client.encryption.base_encryption] Unable to decrypt: b"m\xb4\xc2\x06\xd4(\xf0IX\x11\t<\xd0\xa5x\x0f\xd4\x80\xe0\xc7\n\x18\xb1\x1c\x80\xf2\x06\x80-\xeb\t\xb6\xaf\xb9\xf8\xc9\x97\x87|\xfeU\xc1\x1b5}\x9d\xba\x0b\xdc\xf0\xe7\xe4\x0c\x9a\x84\xd9\xf6\xb2~q\x16O-!\x0e\x15\xb2\xb6;\xb0\xcfA\x94\xf1\xc6\x83\xd7:\xb6\x95\xd1\x80bp\x86o\n\xdf\x82\xed\xe2\xb4GX\xcb\x1b\xbf\xd7`Q\xe1<\x88\xbf\xae\xbe2\xad\xa8\xfcX@\xda:\xe6\xd4\xdf\x0eD<aT\x99F\xf9y\xe2\r\xd17QA\xbd\xea'U\xa6\xa6\x08\xe0\x00\xf8\x14bHG\xcb\xf4G\xf4\xa7`\x1b\x9e\x04L\x8d\xc7|\xefr\x8c\xb2\x8b\xa0A\x9a\x8e\x1c\x9bF\x86\xaa\xf6\xac5A \x0b\x10]\xc78\x9e|\x93\xbb\x1e\xf1\xbb\xcf\xf9\xbc\xb2\x9e\x19\x1fl\x04\xb3U\xc9L\x87\x1a\xce\xf9\xcf'\xf8\xadIC\x1aaMn\x0e\x1d\x0b0\xa6\xd6\xac" with error: 'utf-8' codec can't decode byte 0xb4 in position 1: invalid start byte
2020-11-28 14:07:12 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:14 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:14 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:15 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:15 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:16 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:18 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:19 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:20 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
2020-11-28 14:07:20 ERROR (MainThread) [bosch_thermostat_client.connectors.xmpp] 400 HTTP Error - ['HTTP/1.0 403 Forbidden', '', '', '']
Describe the bug
Some entities never worked (like energy consuption and heat pump modulation), but water_heater used to work. I was the target temperature that is set in the heat pump and I saw the current water temperature. But suddenly, it stopped showing these values.
This happened approximately 36 hours after the last (automatic) restart of the heat pump (2020-12-15 02:46. Last received value is from 2020-12-16 13:00)
I think the values are available in the debug scan. But I don't understand why the component doesn't get the values.
To Reproduce
Don't know, sorry.
Expected behavior
See temperature values in HA.
I deactivated the entities that did not work.
Version
** Debug SCAN **
https://jsonblob.com/7a6a702c-4f3c-11eb-bace-c1b413863bd1
Additional context
Thank you for your work on this component!
Checked your 0.7.1. Work ok. Now I can change heating modes. It is great feature. Thanks a lot.
But now I can not change room temp via climate control in lovelace. When I try to do that, I have error:
bosch_thermostat_http.exceptions.DeviceException: Cannot connect to host 192.168.1.32none:80 ssl:None [Name does not resolve]
Originally posted by @probecar in #11 (comment)
Hi.
I have been using this bosch integration with Home Assistant for several months and it kept presenting a lot of useful data about my Buderus heatpump with its heating circuit hc1, water heating circuit dhw1 and solar circuit sc1. The heatpump is connected to a KM200 interface.
Unfortunately after upgrading to v0.9.3, the solar circuit sc1 is not detected anymore. Same with 0.9.4 and latest 0.9.5 versions.
During initial configuration (using IVT with XMPP for the RC300 series device), there are only 4 areas detected instead of 5 areas previously.
I am running the latest Home Assistant build (currently 0.118.5). I have tried to completely remove the integration configuration and the component, rebooted Home Assistant, then re-added the component and re-done the config, but the result was the same.
Here is my bosch_scan.json: https://pastebin.com/jsBXARGE
Thanks for any help.
I have configured using YAML
bosch:
- address: myIP
password: "mypassword"
access_token: "mytoken"
sensors:
- outdoor_t1
- hotWater_t2
- supply_t1
- supply_t1_setpoint
- return
- healthStatus
- actualPower
- actualModulation
- CHpumpModulation
- energyConsumption
- systemPressure
When starting HASS I get the following errors:
2020-03-31 23:52:30 ERROR (MainThread) [homeassistant.components.hassio] Invalid config for [bosch]: value is not allowed @ data['bosch'][0]['sensors'][0]. Got 'energyConsumption'
value is not allowed @ data['bosch'][0]['sensors'][1]. Got 'systemPressure'. (See /config/configuration.yaml, line 183).
What is wrong?
Hi @pszafer,
Is it an idea to publish this component in HACS? (https://hacs.xyz/)
I think it makes your component more widely known and used.
Also it makes it a lot easier to do upgrades :)
Best regards, Stefan
Is your feature request related to a problem? Please describe.
I cannot start a DHW charge
Describe the solution you'd like
Start DHW charge using "/dhwCircuits/dhw1/charge"
Additional context
{
"allowedValues": [
"stop",
"start"
],
"id": "/dhwCircuits/dhw1/charge",
"recordable": 0,
"type": "stringValue",
"value": "stop",
"writeable": 1
},
Describe the bug
After internet reconnection the following logs appear every minute in home assistant and sensors do not get updated anymore.
2020-11-29 07:55:12 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/bosch/__init__.py", line 275, in thermostat_refresh
await self.component_update(SENSOR, event_time)
File "/config/custom_components/bosch/__init__.py", line 254, in component_update
await entity.bosch_object.update()
File "/usr/local/lib/python3.8/site-packages/bosch_thermostat_client/helper.py", line 199, in update
result = await self._connector.get(item[URI])
File "/usr/local/lib/python3.8/site-packages/bosch_thermostat_client/connectors/xmpp.py", line 99, in get
self.register_callbacks()
File "/usr/local/lib/python3.8/site-packages/bosch_thermostat_client/connectors/xmpp.py", line 50, in register_callbacks
self.message_dispatcher.register_callback(
File "/usr/local/lib/python3.8/site-packages/aioxmpp/dispatcher.py", line 207, in register_callback
raise ValueError(
ValueError: only one listener allowed per matcher
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Internet reconnect should not affect behavior of component.
Version
Debug SCAN
Debug scan service is not starting with same error message: only one listener allowed per matcher
Hi,
My Buderus is connected to solar panels.
Is it possible to retrieve also the sensors for this and if so, how?
Thanks for your help,
Hello, I tried to install the integration as described here: https://github.com/bosch-thermostat/home-assistant-bosch-custom-component
At the integration page, I selected Bosch, For a few seconds a window shows a search but after a few moments it goes back to the selection of the integration w/o any further step...
Any help is highly appreciated.
BTW Info: The buderus custom component is not longer active in the config. This component was running w/o any problem over the last month, only several sensors were missing.
Setup:
Home Assistant 0.113.0
Protokolldetails ( ERROR )
Logger: homeassistant.config_entries
Source: config_entries.py:521
First occurred: 12:46:59 (3 occurrences)
Last logged: 13:00:03
Cannot find integration bosch
Setting up Bosch Compress 7000i AW using IVT HTTP.
Latest HA version.
I installed this component from downloading the master branch? I see now that there is releases as well. I’ll test a release and see if the problem disappear.
I manually added the component through integrations. From what I can tell it only added one entity: water_heater.dhw1
. and I get the following errors:
2020-05-01 09:27:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform bosch.climate: Platform not found (cannot import name 'ClimateEntity' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)).
2020-05-01 09:28:02 ERROR (MainThread) [homeassistant.helpers.entity] Update for water_heater.dhw1 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/bosch/water_heater.py", line 208, in update
self.async_schedule_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 443, in async_schedule_update_ha_state
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state
self._async_write_ha_state() # type: ignore
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
attr = self.capability_attributes
File "/usr/src/homeassistant/homeassistant/components/water_heater/__init__.py", line 153, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/usr/src/homeassistant/homeassistant/helpers/temperature.py", line 26, in display_temp
temperature = convert_temperature(temperature, temperature_unit, ha_unit)
File "/usr/src/homeassistant/homeassistant/util/temperature.py", line 29, in convert
raise ValueError(UNIT_NOT_RECOGNIZED_TEMPLATE.format(from_unit, TEMPERATURE))
ValueError: None is not a recognized temperature unit.
Hello,
Thank you for your work.
Trying to integrate your component, but have Aborted for version 0.4.2 and 0.5.1
Latest release (0.3 alpha) I can integrate, but did not receive information from sensors, but bosch_scan.json show all information from gateway.
I use HA 0.100.3 (hassio), KM200 v2 Gateway (FW 01.06.02)
If need any assistant of testing your component please let me know.
Thank you.
Is your feature request related to a problem? Please describe.
If you want, I can add some advanced CI to your repo.
Describe the solution you'd like
Let me know if you want a PR.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
First of thank you very much for this custom component.
Today I found some time to play around with your custom component and mostly works.
For water_heater.dhw1 and climate.hc1 current_temperature is reported null.
The Gateway reports: iCom_Low_NSC_v1 (buderus logamatic km200)
Do you have any idea what the waterheater program HCprogram is for?
operation_list: Off,high,HCprogram,ownprogram
For the integration page it would also be great if you could list the other sensors created.
Could you please move the bosch directory into custom_components?
This would allow to integrate this component via HACS and make updates easy.
Hi,
I read in the wiki that one should not add all sensors as it could “lock up” the KM module and create certain issues.
Could this avoided by only querying the KM module in small batches instead of checking all sensors every 1 minute. One could check 5 sensors after 1 minute, 5 sensors after 1:30 mins etc. Something like that.
Would it help?
I managed to start home assistant but I understand configuration.yaml entry to configure is not supported.
I do not find any place to enter the config options in the HA UI, nor do I find any ovious place for the config within the source code? Any help appreciated.
Hello
I've been trying to start component since 2 months. I thought that I have problem with HA version and waited for updates. Then I've tried to fresh install and still same problem.
Today I tried https://github.com/stefanlaheij/ha-buderus/ to ensure that I face same problem but it works.
This is step by step what I did:
Buderus with km200v2
HA version Version 2020.12.6.
And my logs shows:
`
Logger: bosch_thermostat_client.encryption.base_encryption
Source: /usr/local/lib/python3.8/site-packages/bosch_thermostat_client/encryption/base_encryption.py:77
First occurred: 8:40:05 AM (14 occurrences)
Last logged: 8:40:17 AM
Unable to decrypt: b'\x94J\x8e\xcfy\x08\x07\xfd\x15\x1e5\xfc\xf6|\xe8\x93\x8d<\x02\xe9&\x9b*;\xa0\xd0H\x18\xb5\x1c\x91\xdc\xdc\x87E\xc1\x99\x9e\xcd\x97F\xc1\xfd\xff\xd2\xfa\x99\x05t\xd5)y\xdd\xd6\xcf\xd5\x89(\xbcNa\xaeR\x92g\xf5N.\x93\xb0\x07J\xfb\x0b!\xfde\xf0\xe2\xb4\x14\x99\x976\xa7&wll\x08\xe2\xb5\xfds\x01\xb7\x08\xa9\x85\x14\x06.\x91=\x1b+\t\x9b\x8e6\xa4\xce' with error: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte
Unable to decrypt: b"\x86\x06\\\x9e\x81\xc7t\xcfwD4\\+\xdc\x99C\xbdw\xa5I<w.!\x00\x07\xbd\x9c`\xb7\x86\x81\x9aC\x807\x9a\x1a\xb7)\x84%\xf1P:\xf6\xbf\xa6\x15\x00\xd3Yw\xf4\x8d\x8aN\xe5\xbf\xe5S}LViN\xd2j)\xe59\xa4D\xc1\xff\xf8=[\xe3\xb9\xfdX\xc3\xe5\xd7I\xb1\x8a\xd4(\xc1\x87\x1f\x88\xbb\xee\x93\xd3&t\x87l\x1b\x1c\xa0B\x16!\x0e\xab\xb0p5\xad\xa9\xcb\xd1\xcd\xdeI\xa3\xdd$\n\xc6\xb5\xaa\x83#\xdd$wT\x8a'\xec\x82a\xcaw\xe4\x07\x9aZ\xffm\xdd\x95\xcc]\xe7I\xb4<\xdf\xbd\x90\xc2\x8bO\x17\xc1\x9a{\xa3E\x06\xe77\x9cW<0\xc6\x82<\xdfi\xcb\xad%\xf2e\xe4D\x14:65\xc0\x90*;s'\xe0U\xbe3\xa6\x02*,E\x01\x04\xb7\xe6\x126\xa6\x03\xb5n\x01b\x8c\x02xX\xa2\xd3\xd4`\n4r\x08k\x8f\\\x9b\xdd\xf6G{N&\xb31\x9f\xd8\x8d\x9a\xafJ;]n\xd9\x97\xe2\xff\x95$.\x9fiyD\xe5\xc4\x1e\xc1\x12\x02fu\xcf\xef\xa0\xa6" with error: 'utf-8' codec can't decode byte 0x86 in position 0: invalid start byte
Unable to decrypt: b'\x94W^$Ah\xca\x03\x86s,N\x0f/@\x95D\x1e\x9f\xbd\x81n\x10\xd9\x8f\xb8\xf1)eAM[\xa4<\xec9W\xc8sr\xef*z\xae4[\x1a\xdd\xd6K\x184=\x17`Q\xa8\xd3\x17\tm.v\xb0\x83\xfaM\x1a"uAj\x83`\x82\xfb\xe3\xe8\x85_\xe4GeT\x7f\\\xd9\xc7LJ\x96iG\x83\x01\x81\xab\x9e99W$\xab\xa8\x1c>\x8e\xaeO\x00R\x92\x05\xba\xe6^\xb2\xd4\xe5\x08\x06\x18?\xb1Z\xf8pyS\n\x90mN6\x9e\xa8\xec\xf0f\xdct\x82\xab\x07\xe8]x\x976\x07\xee\xbcmFR2\xa7,;m7\xc6\xab\x9b\xb7K\x88\xe3\x90\x0e\xc6\x1a\x1f\x98\xdb^\xc0W]\xd6z\xa0\xd2\x17\xfd\x0b?\xc2z&\x98\xc6\xaeu\xcf\xcb\x99E\x10n\x7f\x8bMt\x8a\xac\x16\xb1\rp\xaa\xfe\xe4\xfd\xff\xb7:\xba\x88\xea\x9c\x95\xaa\x93\xcf\xbf\xa8\x03\xd4\x1a\xe5\n-A\x7f\xf9\xdb\xda-\xa1\x1bxspz\xfb\xe5ST\xa4\x7fgv\xb9\xc3L\x9c\xd6\xaa\xfff\xbb\xbe\xfa\xe1{z\xd9\x1c~\xef&\x90\xe1@\x97.\xa4YI\xa0n\xc6f\xfc4$\xf07\xae\x8d\xff\xf4\xfa;8u\x8cv\x8e\xd2\x8e{\x16\xe3\xc21\xde\x84\xb7\xa0\xb1^\x1bQ4\xc2ko>>\x1e\xc9{\xca\xc6I\xa9\x87\xac\xee\xfe\xb6\xb7\xbd9J\x8b"gM\xea\x95#E\xca\xa6*\xc4W\x9d\xf4,$\xd2\x9c\xb9c\x17\x06\x8c5\x06t\xab\t\x83}t\xac\x1f\xe2\xa9\x84\xff\xbc\x8f\xf880\x8e\x1e\xd2\xf5d\x8f\xba\x15}\xc9\xd2\x07\xcc\x9f\x8d\x08H\x8d\xad\x03\rOJ\xa2\x1f8 \x80$\xcdz\xb0\xbc\xe5YO\xf3W7\xd08\x1c{\x89\xde\x0b\x818y\x18\xcbJ\xf2\xd8\xcfW\xfa,[\x07\x88_\xf8\x9a\xc6\xd1~6$\xfcD\xc3\xdc\\\x86"h\xa4\x8bIf\x8a\x8e"\xf9\xfa\x84jr"\xb9bM\x82\x8d\xd6H\xb8\x8f\xf7\xbeo\xb4\xa8qM\xbb\xbd\x82\x0f\xdf\xab0\x91\xdcv\xe5\x1a\xcdZH[D\xb1\x1c\xb0\xf1V&\xcd\x82\x9b\xc7\xca\xe1\xa0#\xf3\xefB\xef\x03f\xfe\xda\xd3R\x8c\xdd\xaeA\xc7#\x00\x02B\xce\xa2\xfb\r[7\xbf\xcd\x0e\xfd+\xb7\xabm\x93\xe0M:R\x9f\x88\x14(k\xce\xa2\x0c\xf2\xe4\xe4f\x94T\x98\xf3\xef\xd4\xa1\x1a>K~\xd5\xc5u\xc8>\xe7\xe0p\x0c\xe3\x18"\x91\xc0\x0c*$o\x94\x06_\xfa?uW\x11\xb9O\x04%\x8f}\xcf[\x83\xb5h\xe8\xea\x001H2\xc3\xb3l1\x9d=7\xb80$\xc3\xe6lL8\xeb \x1f3\x18\xdd*^\xf4aO\x85aY&\xf9\xfdKA\xb8\xa7\x9dIc\x9a\xb9B5\\\x94\x15^R\xb5vSh\xf0\x12\x8eY=\xd6(\xb2\x1f\xd2\xe6\x06\x94x\x89\xe5\x03hIt\xd1\xebEZ\\\x00~\xd7\xed"\xf5' with error: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte
Unable to decrypt: b'\xcc\xe7Ze^\xe4 \xa2/\xb7\x170\x02qM\xe9\x83\\\x1f\xde\xd9uZ\xa5nS8\xa0\x9f\xa4\x91m\xdch\x8a\x83M8\x97\x01\\`\x1f\x8dJ\x03AB\x8f\x90\xc4\xc7\xe3`\xe0\x03\x94\xe7\x88\xec\xe9\x08\'fh\x8c\x7f\x0e\xc2\xf9\xc2\xc0\xc2\xb3\x94\xccW$"jA"&"\xd1\x8e\x8e\xa7-b^\x02\t\x9a\xf0B\xb0#@r\x89\xc8S\xf8\x15-\xa2k\xc5X(\x1b\xe7\x8d\xbdk\xec\xea<\xd9\xfc\xe6"9\x1c\x86\xe4\x0e,\xefEGY\x10\xb8\x1c\x94c\x92\xed\xcexO3' with error: 'utf-8' codec can't decode byte 0xcc in position 0: invalid continuation byte
Unable to decrypt: b'\x94J\x8e\xcfy\x08\x07\xfd\x15\x1e5\xfc\xf6|\xe8\x93\xa5\xf5\xea\xdc4\x0bb\xcd\xd9i\xc2\xf9>\x84\xb5\xc2p~\x05\x8f\x950_\x90\xa7k\xc6\xb7J\x1b\xcc\xdc\xae\x8f\x82\x03g\x9d\x9c\xd3IFa\xdf\xfc\x86c\xeb5\x03\x0cLl\xd8\xa5Rf\xff\xdcc\x85\x84\xee\x83L\x96F6\xf3\xbf\x16X\\\x1f\xe8\xcbB\xc3\xbc\xfeZ\xe4\x18\xcd=.+W\xb3\x94\x86\xca\x1bC\x10\xb5' with error: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte
`
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)
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'
[bosch_thermostat_client.gateway.base_gateway] You might have unsuporrted firmware version 02.18.02
Please support to CT100 FW 02.18.02
I am able to connect with the Bosch EasyRemote app which probably means that my heater is compatible with this component, but I can’t seem to get the credentials right.
I have tried the command line interface to the python library in the dependencies, but I can not connect that way either.
Please see the attached image to see what the credentials label on my heater looks like.
Is my heater compatible? If so, which credentials am I supposed to use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.