Honeywell CH/DHW via RF (HGI80/HGS80) - includes evohome

(answering my own question: I think I got it)

I found two binary sensors (search “actuator”) they seem to represent my DHW relay and CH relay actuators and the data looks relevant so far:

Pulled latest yesterday (approc 17:28 I think) but stopped getting data after 2200 last night :frowning:
I will send packet.log shortly.

I only noticed after I had upgraded hass to 0.115.3 so had a restart of homeassistant get the following again which I assume is due to pulling a new homeassistant image:

2020-09-27 13:34:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-27 13:34:16 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.evohome_cc. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 516, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/evohome_cc/__init__.py", line 10, in <module>
    import evohome
ModuleNotFoundError: No module named 'evohome'

so, within homeassistant container:

bash-5.0# pip list | grep evo
aioazuredevops                   1.3.5
devolo-home-control-api          0.13.0
evohome-async                    0.3.5.post1
bash-5.0# cat custom_components/evohome_cc/manifest.json 
{
  "domain": "evohome_rf",
  "name": "Honeywell evohome (RAMSES II protocol) agent",
  "documentation": "https://github.com/zxdavb/evohome_cc",
  "requirements": [
    "evohome-rf==0.2.2", "pyserial-asyncio==0.4"
  ],
  "dependencies": [],
  "codeowners": ["@zxdavb"]
}
bash-5.0# 

Reinstalled evohome-rf and reloaded homeassistant and seems to to be happy again

2020-09-26T22:12:09.209153 # A9.6A.A9.A6.56.62. 
2020-09-26T22:12:12.266454 094  I --- 04:191062 --:------ 01:138490 ???? ??? * Invalid Manchester Code 
2020-09-26T22:12:12.267329 # A9.6A.A9.A6.56.66.99.96.AA.96.A9.5A.55.66.A5.A9.99.2A. 
2020-09-26T22:12:45.514852 058  I --- 01:138490 --:------ 01:138490 1F09 003 FF05B9 
2020-09-26T22:12:45.541932 058  I --- 01:138490 --:------ 01:138490 2309 027 0001F401044C0201F40305DC04076C0501F40603E80702BC0801F4 
2020-09-26T22:12:45.566804 058  I --- 01:138490 --:------ 01:138490 30C9 027 00084F01069B02070403076E04072305050906071707066B080780 
2020-09-26T22:12:55.775052 064  I --- 04:190960 --:------ 01:138490 3150 002 0300 
2020-09-26T22:13:27.695409 054  I --- 13:169230 --:------ 13:169230 3EF0 003 0000FF 
2020-09-26T22:13:32.550226 058  I --- 01:138490 --:------ 01:138490 3B00 002 FCC8 
2020-09-26T22:13:32.687578 055  I --- 13:169230 --:------ 13:169230 3EF0 003 0000FF 
2020-09-26T22:13:32.751459 047  I --- 13:079800 --:------ 13:079800 3EF0 003 0000FF 
2020-09-26T22:14:19.968120 082  I --- 04:021457 --:------ 01:138490 3150 002 0200 
2020-09-26T22:15:12.001838 059  I --- 01:138490 --:------ 01:138490 1F09 003 FF05B9 
2020-09-26T22:15:12.066949 058  I --- 01:138490 --:------ 01:138490 000A 048 001001F40A8C011001F40DAC021001F409C4031001F40DAC041001F409C4051201F40A28061203E80898071001F40960 
2020-09-26T22:15:12.079111 058  I --- 01:138490 --:------ 01:138490 000A 006 081001F40A8C 
2020-09-26T22:15:25.011377 073  I --- 04:191058 --:------ 04:191058 30C9 003 00082F 
2020-09-26T22:16:12.343866 071  I --- 04:190958 --:------ 01:138490 3150 002 0600 
2020-09-26T22:16:16.404173 045  I --- 04:048656 --:------ 04:048656 30C9 003 000777 
2020-09-26T22:17:38.501163 058  I --- 01:138490 --:------ 01:138490 1F09 003 FF05B9 
2020-09-26T22:17:38.542099 058  I --- 01:138490 --:------ 01:138490 2309 027 0001F401044C0201F40305DC04076C0501F40603E80702BC0801F4 
2020-09-26T22:17:38.565070 058  I --- 01:138490 --:------ 01:138490 30C9 027 00084F01069B02070403076E04072305050906071707066B080777 
2020-09-26T22:19:31.608297 ...  W --- 18:000730 01:138490 --:------ 2349 007 067FFF00FFFFFF 
2020-09-26T22:19:34.186059 ...  W --- 18:000730 01:138490 --:------ 2349 007 027FFF00FFFFFF 
2020-09-26T22:19:36.796549 ...  W --- 18:000730 01:138490 --:------ 2349 007 027FFF00FFFFFF 
2020-09-26T22:19:49.569331 ...  W --- 18:000730 01:138490 --:------ 2349 007 0209C402FFFFFF 
2020-09-27T14:09:56.918806 # evofw3 0.4.2 
2020-09-27T14:09:57.222657 000 RQ --- 18:056026 01:138490 --:------ 1FC9 001 00 
2020-09-27T14:09:57.557903 059 RP --- 01:138490 18:056026 --:------ 1FC9 012 0010E0061CFA001FC9061CFA 
2020-09-27T14:09:57.908020 000 RQ --- 18:056026 01:138490 --:------ 10E0 001 00 
2020-09-27T14:09:57.992806 058 RP --- 01:138490 18:056026 --:------ 10E0 038 000002FF0163FFFFFFFF140B07E1010807DD45766F20436F6C6F720000000000000000000000 
2020-09-27T14:09:58.224247 000 RQ --- 18:056026 01:138490 --:------ 000C 002 000F 
2020-09-27T14:09:58.291133 058 RP --- 01:138490 18:056026 --:------ 000C 006 000F7FFFFFFF 
2020-09-27T14:09:58.337181 000 RQ --- 18:056026 01:138490 --:------ 000C 002 000D 
2020-09-27T14:09:58.440175 059 RP --- 01:138490 18:056026 --:------ 000C 006 000D001C8945 
2020-09-27T14:09:58.506605 000 RQ --- 18:056026 01:138490 --:------ 0005 002 0008 
2020-09-27T14:09:59.233956 000 RQ --- 18:056026 01:138490 --:------ 0005 002 0009 
2020-09-27T14:09:59.314229 058 RP --- 01:138490 18:056026 --:------ 0005 004 00090000 
2020-09-27T14:09:59.367903 000 RQ --- 18:056026 01:138490 --:------ 0005 002 000A 
2020-09-27T14:09:59.383809 058 RP --- 01:138490 18:056026 --:------ 0005 004 000A0000 
2020-09-27T14:09:59.463717 000 RQ --- 18:056026 01:138490 --:------ 0005 002 000B 
2020-09-27T14:09:59.547220 058 RP --- 01:138490 18:056026 --:------ 0005 004 000B0000 
2020-09-27T14:09:59.564288 000 RQ --- 18:056026 01:138490 --:------ 0005 002 0011 
2020-09-27T14:09:59.593086 000 RQ --- 18:056026 01:138490 --:------ 1F09 001 00 
2020-09-27T14:09:59.658113 059 RP --- 01:138490 18:056026 --:------ 1F09 003 000573 

I wonder why it all stopped last night?

There is a bug, most noticeable with the relays (HA binary sensors) - will drop an update tonight.

1 Like

This is caused by buggy code deep down in the library that speaks with the USB-to-RF device. This code is also the reason for dropped packets (more correctly for not detecting / re-transmitting dropped packets).

I know of one bug, and the rest of it is a mess…

This whole thing needs a complete refactor. I guess I need to focus on it for a while…

There is a ton of functionality yet to be added to HA - was working on (fixing) relay state & (adding) relay demand just now.

Thanks for following up, I’ll knock something up to detect when I stop getting data so I can restart in the mean time.
Let us know when later code needs testing (I pulled from repo yesterday afty and it was broken so I reverted, still on 0.2.2)

I’m sorry I can’t help with the driver bit though :frowning:

hi Guys,
i would like to join the party and assist the development with log files. however i am a complete noob regarding programming and linux. so the only way i can assist is by log files and instruction testing.
but unfortunatly i can’t get this component working. can somebody give me a hint?
i have a raspberry pi4 (dedicated for this project) and HGI80. on the raspberry i installed raspberry pi os. next i followed the instructions in post 208, then i installed home assistant in a docker container via this script
error log of home assistant gives me:

Logger: homeassistant.loader
Source: custom_components/evohome_cc/init.py:10
First occurred: 9:35:57 PM (1 occurrences)
Last logged: 9:35:57 PM

Error loading custom_components.evohome_cc. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 516, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/evohome_cc/init.py”, line 10, in
import evohome
ModuleNotFoundError: No module named ‘evohome’

pip doesn’t work, but pip3 does:
[email protected]:~ $ pip3 list | grep evohome
evohome-rf 0.2.3

my manifest:
[email protected]:/usr/share/hassio/homeassistant/custom_components/evohome_cc $ cat manifest.json
{
“domain”: “evohome_rf”,
“name”: “Honeywell evohome (RAMSES II protocol) agent”,
“documentation”: “https://github.com/zxdavb/evohome_cc”,
“requirements”: [
“evohome-rf==0.2.3”, “pyserial-asyncio==0.4”
],
“dependencies”: [],
“codeowners”: ["@zxdavb"]
}

This is looking good - just not loading the client - other people seem to have discovered that it will load if you restart a couple of times.

Hi,

evohome_cc was working fine but after the recent update of Home Assistant the evohome_cc custom component seems to be not loading:

2020-09-29 22:29:02 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.evohome_cc. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 516, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/evohome_cc/__init__.py", line 10, in <module>
    import evohome
ModuleNotFoundError: No module named 'evohome'
2020-09-29 22:29:02 ERROR (MainThread) [homeassistant.components.hassio] Component error: evohome_cc - Integration 'evohome_cc' not found.

my manifest:

{
  "domain": "evohome_rf",
  "name": "Honeywell evohome (RAMSES II protocol) agent",
  "documentation": "https://github.com/zxdavb/evohome_cc",
  "requirements": [
    "evohome-rf==0.2.3", "pyserial-asyncio==0.4"
  ],
  "dependencies": [],
  "codeowners": ["@zxdavb"]
}

Tried restarting home assistant a few times, but getting same error message.

LM

It is there: https://pypi.org/project/evohome-rf/

I will make some change tomorrow that may improve the situation.

I’ve installed evohome_rf in the docker and it works fine again.

Hi,

I just want to say thanks for all the hard work you’ve put into this project.
Everything is working really well for me apart from the DHW status which is shown as unknown.

Cheers

Just pulled 0.2.4

2020-10-03 13:18:56 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up evohome_cc platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 481, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 522, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:19:27 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2020-10-03 13:19:27 WARNING (MainThread) [homeassistant.config_entries] Config entry for ipp not ready yet. Retrying in 80 seconds
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc] Schema = {'controller': '01:138490', 'system': {'heating_control': None, 'orphans': []}, 'stored_hotwater': None, 'ufh_controllers': {}, 'zones': {'00': {'heating_type': None, 'sensor': None, 'devices': []}, '01': {'heating_type': None, 'sensor': None, 'devices': []}, '02': {'heating_type': None, 'sensor': None, 'devices': []}, '03': {'heating_type': None, 'sensor': None, 'devices': []}, '04': {'heating_type': None, 'sensor': None, 'devices': []}, '05': {'heating_type': None, 'sensor': None, 'devices': []}, '06': {'heating_type': None, 'sensor': None, 'devices': []}, '07': {'heating_type': None, 'sensor': None, 'devices': []}, '08': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:048656']}}, 'device_info': {}}
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc] Params = {'system': {'mode': None, 'language': None, 'heating_control': {}}, 'stored_hotwater': None, 'zones': {'00': {'name': None, 'mode': None, 'zone_config': None}, '01': {'name': None, 'mode': None, 'zone_config': None}, '02': {'name': None, 'mode': None, 'zone_config': None}, '03': {'name': None, 'mode': None, 'zone_config': None}, '04': {'name': None, 'mode': None, 'zone_config': None}, '05': {'name': None, 'mode': None, 'zone_config': None}, '06': {'name': None, 'mode': None, 'zone_config': None}, '07': {'name': None, 'mode': None, 'zone_config': None}, '08': {'name': None, 'mode': None, 'zone_config': None}}}
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc] Status = {'system': {'datetime': None}, 'stored_hotwater': None, 'zones': {'00': {'setpoint': None, 'temperature': None}, '01': {'setpoint': None, 'temperature': None}, '02': {'setpoint': None, 'temperature': None}, '03': {'setpoint': None, 'temperature': None}, '04': {'setpoint': None, 'temperature': None}, '05': {'setpoint': None, 'temperature': None}, '06': {'setpoint': None, 'temperature': None}, '07': {'setpoint': None, 'temperature': None}, '08': {'setpoint': None, 'temperature': None, 'heat_demand': None, 'open_window': None}}, 'devices': {'04:048656': {'temperature': None, 'setpoint': None, 'heat_demand': None, 'battery_state': {}, 'window_state': False}}}
2020-10-03 13:19:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:19:56 INFO (MainThread) [homeassistant.components.climate] Setting up climate.evohome_cc
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=00, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=01, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=02, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=03, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=04, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=05, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=06, name=None
2020-10-03 13:19:56 WARNING (MainThread) [custom_components.evohome_cc.climate] Found a Zone (None), id=07, name=None
2020-10-03 13:20:56 WARNING (MainThread) [custom_components.evohome_cc] Schema = {'controller': '01:138490', 'system': {'heating_control': None, 'orphans': []}, 'stored_hotwater': None, 'ufh_controllers': {}, 'zones': {'00': {'heating_type': None, 'sensor': None, 'devices': []}, '01': {'heating_type': None, 'sensor': None, 'devices': []}, '02': {'heating_type': None, 'sensor': None, 'devices': []}, '03': {'heating_type': None, 'sensor': None, 'devices': []}, '04': {'heating_type': None, 'sensor': None, 'devices': []}, '05': {'heating_type': None, 'sensor': None, 'devices': []}, '06': {'heating_type': None, 'sensor': None, 'devices': []}, '07': {'heating_type': None, 'sensor': None, 'devices': []}, '08': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:048656']}}, 'device_info': {}}
2020-10-03 13:20:56 WARNING (MainThread) [custom_components.evohome_cc] Params = {'system': {'mode': None, 'language': None, 'heating_control': {}}, 'stored_hotwater': None, 'zones': {'00': {'name': None, 'mode': None, 'zone_config': None}, '01': {'name': None, 'mode': None, 'zone_config': None}, '02': {'name': None, 'mode': None, 'zone_config': None}, '03': {'name': None, 'mode': None, 'zone_config': None}, '04': {'name': None, 'mode': None, 'zone_config': None}, '05': {'name': None, 'mode': None, 'zone_config': None}, '06': {'name': None, 'mode': None, 'zone_config': None}, '07': {'name': None, 'mode': None, 'zone_config': None}, '08': {'name': None, 'mode': None, 'zone_config': None}}}
2020-10-03 13:20:56 WARNING (MainThread) [custom_components.evohome_cc] Status = {'system': {'datetime': None}, 'stored_hotwater': None, 'zones': {'00': {'setpoint': None, 'temperature': None}, '01': {'setpoint': None, 'temperature': None}, '02': {'setpoint': None, 'temperature': None}, '03': {'setpoint': None, 'temperature': None}, '04': {'setpoint': None, 'temperature': None}, '05': {'setpoint': None, 'temperature': None}, '06': {'setpoint': None, 'temperature': None}, '07': {'setpoint': None, 'temperature': None}, '08': {'setpoint': None, 'temperature': None, 'heat_demand': None, 'open_window': None}}, 'devices': {'04:048656': {'temperature': None, 'setpoint': None, 'heat_demand': None, 'battery_state': {}, 'window_state': False}}}
2020-10-03 13:20:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc] Schema = {'controller': '01:138490', 'system': {'heating_control': None, 'orphans': []}, 'stored_hotwater': None, 'ufh_controllers': {}, 'zones': {'00': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:191054', '04:191058']}, '01': {'heating_type': None, 'sensor': None, 'devices': []}, '02': {'heating_type': None, 'sensor': None, 'devices': []}, '03': {'heating_type': None, 'sensor': None, 'devices': []}, '04': {'heating_type': None, 'sensor': None, 'devices': []}, '05': {'heating_type': None, 'sensor': None, 'devices': []}, '06': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:190958']}, '07': {'heating_type': None, 'sensor': None, 'devices': []}, '08': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:048656']}}, 'device_info': {}}
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc] Params = {'system': {'mode': None, 'language': None, 'heating_control': {}}, 'stored_hotwater': None, 'zones': {'00': {'name': None, 'mode': None, 'zone_config': None}, '01': {'name': None, 'mode': None, 'zone_config': None}, '02': {'name': None, 'mode': None, 'zone_config': None}, '03': {'name': None, 'mode': None, 'zone_config': None}, '04': {'name': None, 'mode': None, 'zone_config': None}, '05': {'name': None, 'mode': None, 'zone_config': None}, '06': {'name': None, 'mode': None, 'zone_config': None}, '07': {'name': None, 'mode': None, 'zone_config': None}, '08': {'name': None, 'mode': None, 'zone_config': None}}}
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc] Status = {'system': {'datetime': None}, 'stored_hotwater': None, 'zones': {'00': {'setpoint': None, 'temperature': None, 'heat_demand': 0.0, 'open_window': None}, '01': {'setpoint': None, 'temperature': None}, '02': {'setpoint': None, 'temperature': None}, '03': {'setpoint': None, 'temperature': None}, '04': {'setpoint': None, 'temperature': None}, '05': {'setpoint': None, 'temperature': None}, '06': {'setpoint': None, 'temperature': None, 'heat_demand': 0.0, 'open_window': None}, '07': {'setpoint': None, 'temperature': None}, '08': {'setpoint': None, 'temperature': None, 'heat_demand': None, 'open_window': None}}, 'devices': {'04:048656': {'temperature': None, 'setpoint': None, 'heat_demand': None, 'battery_state': {}, 'window_state': False}, '04:190958': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}, '04:191054': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}, '04:191058': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}}}
2020-10-03 13:21:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:21:56 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.evohome_cc
2020-10-03 13:21:56 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.evohome_cc
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (heat demand), id=04:190958, zone=01:138490_06 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (heat demand), id=04:191054, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (heat demand), id=04:191058, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (temp), id=04:190958, zone=01:138490_06 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (temp), id=04:191054, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (temp), id=04:191058, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (battery), id=04:190958, zone=01:138490_06 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (battery), id=04:191054, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (battery), id=04:191058, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (window), id=04:190958, zone=01:138490_06 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (window), id=04:191054, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (window), id=04:191058, zone=01:138490_00 (RAD)
2020-10-03 13:21:56 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up evohome_cc platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 481, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 522, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc] Schema = {'controller': '01:138490', 'system': {'heating_control': None, 'orphans': []}, 'stored_hotwater': None, 'ufh_controllers': {}, 'zones': {'00': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:191054', '04:191058']}, '01': {'heating_type': None, 'sensor': None, 'devices': []}, '02': {'heating_type': None, 'sensor': None, 'devices': []}, '03': {'heating_type': None, 'sensor': None, 'devices': []}, '04': {'heating_type': 'radiator_valve', 'sensor': '04:190962', 'devices': ['04:190962']}, '05': {'heating_type': None, 'sensor': None, 'devices': []}, '06': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:190958']}, '07': {'heating_type': None, 'sensor': None, 'devices': []}, '08': {'heating_type': 'radiator_valve', 'sensor': None, 'devices': ['04:048656']}}, 'device_info': {}}
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc] Params = {'system': {'mode': None, 'language': None, 'heating_control': {}}, 'stored_hotwater': None, 'zones': {'00': {'name': None, 'mode': None, 'zone_config': None}, '01': {'name': None, 'mode': None, 'zone_config': None}, '02': {'name': None, 'mode': None, 'zone_config': None}, '03': {'name': None, 'mode': None, 'zone_config': None}, '04': {'name': None, 'mode': None, 'zone_config': None}, '05': {'name': None, 'mode': None, 'zone_config': None}, '06': {'name': None, 'mode': None, 'zone_config': None}, '07': {'name': None, 'mode': None, 'zone_config': None}, '08': {'name': None, 'mode': None, 'zone_config': None}}}
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc] Status = {'system': {'datetime': None}, 'stored_hotwater': None, 'zones': {'00': {'setpoint': None, 'temperature': None, 'heat_demand': 0.0, 'open_window': None}, '01': {'setpoint': None, 'temperature': None}, '02': {'setpoint': None, 'temperature': None}, '03': {'setpoint': None, 'temperature': None}, '04': {'setpoint': None, 'temperature': None, 'heat_demand': None, 'open_window': None}, '05': {'setpoint': None, 'temperature': None}, '06': {'setpoint': None, 'temperature': None, 'heat_demand': 0.0, 'open_window': None}, '07': {'setpoint': None, 'temperature': None}, '08': {'setpoint': None, 'temperature': None, 'heat_demand': None, 'open_window': None}}, 'devices': {'04:048656': {'temperature': None, 'setpoint': None, 'heat_demand': None, 'battery_state': {}, 'window_state': False}, '04:190958': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}, '04:190962': {'temperature': 17.13, 'setpoint': None, 'heat_demand': None, 'battery_state': {}, 'window_state': None}, '04:191054': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}, '04:191058': {'temperature': None, 'setpoint': None, 'heat_demand': 0.0, 'battery_state': {}, 'window_state': None}}}
2020-10-03 13:22:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'
2020-10-03 13:22:56 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.evohome_cc
2020-10-03 13:22:56 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.evohome_cc
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (heat demand), id=04:190962, zone=01:138490_04 (RAD)
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc.sensor] Found a Sensor (temp), id=04:190962, zone=01:138490_04 (RAD)
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (battery), id=04:190962, zone=01:138490_04 (RAD)
2020-10-03 13:22:56 WARNING (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Binary Sensor (window), id=04:190962, zone=01:138490_04 (RAD)
2020-10-03 13:22:56 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up evohome_cc platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 481, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 522, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 317, in _async_write_ha_state
    if not self.available:
  File "/config/custom_components/evohome_cc/__init__.py", line 245, in available
    return self._evo_device._is_present
AttributeError: 'TrvActuator' object has no attribute '_is_present'

So v0.2.4 has just been pushed - this is a complete re-write of the engine that deals with the serial device, so much better now - faster, and QoS seems to be working now!

…and there is an error:

AttributeError: 'TrvActuator' object has no attribute '_is_present

Answer: There seem to be a delay where HA is failing to install evohome_rf v0.2.4 when indicated to do so by evhome_cc v0.2.4 - you can manually install it:

pip install evohome_rf==0.2.4

if you know how to do that, or just restart HA a few times…

Hi, I’m currently using the Evohome standard integration but it seems the RF version will give me much greater control. I have an Intergas Boiler, a Honeywell Opentherm bridge and Evohome limited to 8 zones as that’s it maximum so some rooms have has to be grouped which I understand this version will enable extending zones.
What I would like to understand is what hardware I require to allow me to achieve this. I see a reference to a HG180 or an alternative USB device (what do they connect to). Any advice for someone with limited skills but able to follow instructions greatly appreciated.
Thanks

There is a bug in v0.2.4 - Zone temps don’t update - I have fixed this & will push it out shortly.

This functionality is coming - think next year (sorry, there is too much to do).

See here for some instructions: https://github.com/zxdavb/evohome_cc

three restarts have sorted it I think, no more erros getting logged.

Thank-you

Thanks for that information I had seen that and indeed I do have the bridge already. How I access it I have no idea (it was installed by engineer) I understood it linked into Evohome for future use). Should I see it exposed somewhere in HA (I have no idea if it’s path or ID which if you add the Opentherm through integration in HA are required) so I guess the question is how would I know if it’s activated/available.
Also I believe I then need one of these https://www.ebay.de/itm/372221622516
My next question is how does this physically connect?
Apologies I’m sure my questions are pretty basic but hope you can assist.
Cheers

So v0.2.5 has just been pushed - this fixed a few bugs.

Please don’t ask for help unless you’ve first tried it on 0.2.5+ as versions prior to 0.2.4 were unreliable.

I am aware DHW temps are missing.

I’ve just tried to reinstall everything since I hadn’t tried any of the new versions yet. I removed my old evohome_rf configuration and folder and just cloned evohome_cc into the custom components folder and added the config to my config file but it appears to not have gotten it’s dependencies. Do I have to install evohome_rf manually now? I seem to recall I didn’t have to previously and that it was actually quite easy, but my old config had evohome_rf in it rather than evohome_cc… Did this change? Now when I check my config, it tells me

Component error: evohome_cc - Integration 'evohome_cc' not found.

But I can promise you the folder is sitting there in the custom components directory:

[email protected]:~/hassio/homeassistant/custom_components$ ls 
alexa_media       dreamscreen       home_connect         reolink_dev         variable
apple_airport.py  evohome_cc        ical                 sensor
browser_mod       fully_kiosk       iphonedetect         smartthinq
device_tracker    hacs              lovelace-popup-card  smartthinq_sensors
display           here_travel_time  __pycache__          Untitled
[email protected]:~/hassio/homeassistant/custom_components$ cd evohome_cc/
[email protected]:~/hassio/homeassistant/custom_components/evohome_cc$ ls
binary_sensor.py  const.py     LICENSE        __pycache__  sensor.py
climate.py        __init__.py  manifest.json  README.md    water_heater.py
[email protected]:~/hassio/homeassistant/custom_components/evohome_cc$ 

Here’s the log snippet:

Logger: homeassistant.loader
Source: custom_components/evohome_cc/__init__.py:10
First occurred: 11:08:23 PM (1 occurrences)
Last logged: 11:08:23 PM
Error loading custom_components.evohome_cc. Make sure all dependencies are installed

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 516, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/evohome_cc/__init__.py", line 10, in <module>
    import evohome
ModuleNotFoundError: No module named 'evohome'

Same issue - for some reason HA is not downloading the latest library… I can’t see why…

FYI, everything is now v0.3.0 and the evohome_rf library is now

import evohome_rf

and not

import evohome