1st gen Eve Room, Bluetooth and 2022.8

2022.8.5 is on the way out the door now

1 Like

HA 2022.8.5 Eve Room attempt. Still the same error.

https://controlc.com/646a8154

HA 2022.8.5 Eve Weather attempt. This one throws another error when prompted for pin.

https://controlc.com/3c18965f

Looking through logs I’ve noticed hci1 and hci0. Is it a hardcoded message for hci0?

2022-08-16 07:16:57.355 DEBUG (MainThread) [bleak.backends.bluezdbus.client] _cleanup_all(/org/bluez/hci1/dev_D8_04_6F_5C_55_5A)
2022-08-16 07:16:57.355 DEBUG (MainThread) [bleak.backends.bluezdbus.client] already disconnected (/org/bluez/hci1/dev_D8_04_6F_5C_55_5A)
2022-08-16 07:16:57.355 DEBUG (MainThread) [bleak.backends.bluezdbus.client] Connecting to device @ D8:04:6F:5C:55:5A with hci0

Thats interesting as the error is the aiohomekit version that comes with 2022.8.4. 2022.8.5 should have included the update to aiohomekit 1.2.11 whereas your log looks like its still running 1.2.6

2022-08-16 07:17:03.662 DEBUG (MainThread) [aiohomekit.controller.ble.client] Bleak error calling <function BleDiscovery.async_start_pairing at 0x7f8aadeeacb0>, retrying...
Traceback (most recent call last):
  File "/config/deps/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py", line 62, in _async_wrap
    return await func(*args, **kwargs)
  File "/config/deps/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py", line 126, in async_start_pairing
    salt, pub_key = await self._async_start_pairing(alias)
  File "/config/deps/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py", line 109, in _async_start_pairing
    ff_char = self.client.get_characteristic(
  File "/config/deps/lib/python3.10/site-packages/aiohomekit/controller/ble/bleak.py", line 31, in get_characteristic
    char = self.services.get_service(service_type).get_characteristic(
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

1.2.6 which comes with 2022.8.4 which matches up with the erorr in your log.

1.2.11 which comes with 2022.8.5

Damn! Somehow I had a pip install of an old version in /config/deps.

Anyway success!!!

Eve room 2022.8.5
https://controlc.com/1b017fea

Thank you for your hard work!

1 Like

Eve Thermo gen1 works too.

Eve Weather throws an error before pin prompt.

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py”, line 502, in async_step_pair
self.finish_pairing = await discovery.async_start_pairing(self.hkid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 65, in _async_wrap
return await func(*args, **kwargs)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 137, in async_start_pairing
salt, pub_key = await self._async_start_pairing(alias)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 119, in _async_start_pairing
ff_char = self.client.get_characteristic(
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/bleak.py”, line 37, in get_characteristic
raise ValueError(
ValueError: Service 00000055-0000-1000-8000-0026BB765291 not found, available services: []

https://controlc.com/81f8558f

Thanks! :grinning:
It works! :+1:

Same error for Eve Outlet

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py”, line 502, in async_step_pair
self.finish_pairing = await discovery.async_start_pairing(self.hkid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 65, in _async_wrap
return await func(*args, **kwargs)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 137, in async_start_pairing
salt, pub_key = await self._async_start_pairing(alias)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 119, in _async_start_pairing
ff_char = self.client.get_characteristic(
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/bleak.py”, line 37, in get_characteristic
raise ValueError(
ValueError: Service 00000055-0000-1000-8000-0026BB765291 not found, available services: []
/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py:461: UserWarning: Using default MTU value. Call _acquire_mtu() or set _mtu_size first to avoid this warning.
warnings.warn(
2022-08-16 10:55:32.406 ERROR (MainThread) [homeassistant.components.homekit_controller.config_flow] Pairing attempt failed with an unhandled exception
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py”, line 502, in async_step_pair
self.finish_pairing = await discovery.async_start_pairing(self.hkid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 65, in _async_wrap
return await func(*args, **kwargs)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 137, in async_start_pairing
salt, pub_key = await self._async_start_pairing(alias)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 119, in _async_start_pairing
ff_char = self.client.get_characteristic(
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/bleak.py”, line 37, in get_characteristic
raise ValueError(
ValueError: Service 00000055-0000-1000-8000-0026BB765291 not found, available services: []

success with 1st gen Eve Room! Thank you!

that said, besides creating a template sensor, is there a way to round the value shown by even room (right now it has 13 decimals)?

1 Like

and also, how can I get the temperature and humidity to update (no changes since my last HA restart).

Mine values are updating, temperature, humidity and Air quality even battery.

it updated 2 minutes ago after not moving for 2 hours… not sure why it’s not updating more often… must be something with sensor accuracy.

The service not found problem is currently unfixable since it’s happening deep in the Linux bluez stack. If you are running ha on macOS the problem doesn’t happen. Realistically it’s not going to get fixed on Linux any time soon unless someone has an in with the bluez devs. Probably better off waiting until we have remote Bluetooth support and putting an esp device close to it to act as a relay but we are months away from that as no code has been written for that yet.

how to interpret the air quality coming from the Eve Home? it was 0 at first, switcher to 0.98 and shortly after to 1. It has been sitting on 1 since then.

0 Unknown
1 Excellent
2 Good
3 Fair
4 Inferior
5 Poor

1 Like

With 2022.8.6 I have this error popping up with Eve Room and Eve Thermo. Even the paired devices throw this error when I want to change heating mode for ex.

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py”, line 502, in async_step_pair
self.finish_pairing = await discovery.async_start_pairing(self.hkid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 65, in _async_wrap
return await func(*args, **kwargs)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 137, in async_start_pairing
salt, pub_key = await self._async_start_pairing(alias)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 124, in _async_start_pairing
ff_raw = await char_read(self.client, None, None, ff_char, ff_iid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 276, in char_read
pdu_status, data = await ble_request(
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 138, in ble_request
await _write_pdu(client, encryption_key, opcode, handle, iid, data, tid)
File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 156, in _write_pdu
for data in encode_pdu(opcode, tid, iid, data, fragment_size):
File “/usr/local/lib/python3.10/site-packages/aiohomekit/pdu.py”, line 72, in encode_pdu
retval = STRUCT_BBBH.pack(0, opcode.value, tid, iid)
struct.error: required argument is not an integer

Please open an issue for that. It’s not clear from the trace what’s going wrong.

Hello, I use 5 Eve Thermo and 3 Energy 1st generation. At first it was not possible to connect them, but after the latest updates the first generation works for one device … then when I try to connect another device I get an error:

An error occurred while pairing with this device. This may be a temporary storage or your device may not be supported at the moment.
(Sorry this is a translation)

This is the same error I got before.

So it look like the old generation can connect but only 1 device.

Is there a solution for this?

Logger: homeassistant.components.homekit_controller.config_flow
Source: components/homekit_controller/config_flow.py:479
Integration: HomeKit Controller (documentation, issues)
First occurred: 21:32:48 (3 occurrences)
Last logged: 21:48:28

Pairing attempt failed with an unhandled exception

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py”, line 479, in async_step_pair self.finish_pairing = await discovery.async_start_pairing(self.hkid) File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/client.py”, line 76, in _async_wrap return await func(*args, **kwargs) File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 139, in async_start_pairing salt, pub_key = await self._async_start_pairing(alias) File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/discovery.py”, line 121, in _async_start_pairing ff_char = self.client.get_characteristic( File “/usr/local/lib/python3.10/site-packages/aiohomekit/controller/ble/bleak.py”, line 89, in get_characteristic raise ValueError( ValueError: Service 00000055-0000-1000-8000-0026BB765291 not found, available services: []