Hello,
I’m trying to connect my eve plug to home assistant. The problem is the following.
python3 -m homekit.discover_ble
Name: Eve Energy 58D4
MAC: e7:61:56:1d:98:e1
Configuration number (cn): 2
Device ID (id): 5D:DD:67:99:3D:9E
Compatible Version (cv): 2
Global State Number (s#): 2
Status Flags (sf): The accessory has not been paired with any controllers. (Flag: 1)
Category Identifier (ci): Outlet (Id: 7)
python3 -m homekit.pair_ble -m “e7:61:56:1d:98:e1” -p “308-09-311” -f ./homekit_controller-entity-map -a “eve” --log debug
2019-06-29 23:45:50,463 pair_ble.py:0046 DEBUG Using adapter “hci0”.
2019-06-29 23:45:50,468 controller.py:0263 WARNING Loaded pairing for data with missing connection type. Assume this is IP based.
‘str’ object does not support item assignment
2019-06-29 23:45:50,469 pair_ble.py:0053 DEBUG ‘str’ object does not support item assignment
Traceback (most recent call last):
File “/srv/homeassistant3.7/lib/python3.7/site-packages/homekit/pair_ble.py”, line 50, in
controller.load_data(args.file)
File “/srv/homeassistant3.7/lib/python3.7/site-packages/homekit/controller/controller.py”, line 261, in load_data
data[pairing_id][‘Connection’] = ‘IP’
TypeError: ‘str’ object does not support item assignment
Can anybody please tell me, what I am doing wrong?