Decided to reinstall last week as I thought with the Indigo upgrade to 2022.2 and several IOS/MacOS updates I would get it working but I have been hitting my head against a brick wall over the last week trying to get it working.
I get everything installed and generate a QR Code but just get a “this may take a few minutes’, then ‘Make sure your accessory is turned on and connected…..’
and finally ‘Accessory not found’.
Tried using a Zigbee Motion Sensor, a Z-Wave Motion Sensor and the Garage Opener, all with the same error.
In the logs I see
- Code: Select all
HomeKitLink Siri Debug (plugin.py:startsingleBridge:1047): Sets of Ports Currently in Use: {51826, 51827}
HomeKitLink Siri Debug (plugin.py:get_bridge_multiple:713): get_bridge_multiple called and self.device_list_internal length 2
HomeKitLink Siri Debug (plugin.py:get_bridge_multiple:718): Item :{'deviceid': 1739618563, 'devicename': 'Kitchen Door Motion', 'accessory': None, 'aid': 1739618563, 'subtype': 'MotionSensor', 'bridgeID': 795714, 'devicemodel': 'Motion Sensor -NAS-PD02Z - NEOEMS01Z-', 'devicesensor': '', 'manufacturername': 'Neo'} exisits for this bridge <accessory display_name='HomeKitLink Bridge 795714' services=['AccessoryInformation', 'HAPProtocolInformation']>
HomeKitLink Siri Debug (plugin.py:get_bridge_multiple:849): Adding Accessory:<accessory display_name='Kitchen Door Motion' services=['AccessoryInformation', 'MotionSensor', 'BatteryService']>
HomeKitLink Siri Debug (plugin.py:startsingleBridge:1054): Bridge 795714 Setup and Running.
HomeKitLink Siri Starting accessory HomeKitLink Bridge 795714 on address 192.168.100.160, port 51827.
29 Mar 2023 at 12:49:55
HomeKitLink Siri Debug (plugin.py:showQRcode:2634): Show QR Code. Saving Http page.
HomeKitLink Siri Debug (plugin.py:showQRcode:2671): Using path /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/QRCode.html
HomeKitLink Siri Debug (plugin.py:showQRcode:2673): <div><h1>HomeKitLink Siri</h1>
<p> Indigo Plugin: Scan this QR Code to add HomeKitLink Siri Bridge to HomeKit</p>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKUAAAClAQAAAAAVUAB3AAABIUlEQVR4nO2WvY3DMAyFn5FCpUfQJvFiAmTgFos30QgqVQjhkVSM5JKU94wUYUHLXyPx51GCvLGGL/18WgFMIqWd565LZC7NIlvNRV2K/kulCWGriJiUqjuEqpN+FM3lIOr5TbFNSp+yTqDWO0r1IOmpowh0WI/BT/NXLQTaYwMSVBc/BZi5tJ5UgBbqIh1t2fNLoip33XmNcplXyBVkajvrB+ba3qksOoZLNoBRUiYVreF5lhJ0JWEj03q6xakljcKmVs1FpWiFLA3gUu1UmzAQH6G7ClnUbVQzy12bJDrmGUyAj/cQi2bxYL2QWNjU7iFZo5c0XPeI2XRyPcoBdDRQLvfbiUUtvyYOfY7Jw9wh0du7L1zevQb/m77al348/QU7J8GL+N/16wAAAABJRU5ErkJggg==" width="600" height="600"></div>
Zigbee2mqtt Bridge received "Z Dining Room Motion" motion sensor 'on' event
HomeKitLink Siri Debug (plugin.py: Function: deviceUpdated line: 1939): Exception : Message : Caught exception in Device Update
HomeKitLink Siri Debug Traceback:
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
HomeKitLink Siri Debug Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
AttributeError: 'NoneType' object has no attribute 'char_on'
HomeKitLink Siri Debug
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'char_on'"), <traceback object at 0x204a06ec0>)
Exc_Text: None
Stack_info: None
Also when the motion sensor triggers I see
- Code: Select all
29 Mar 2023 at 13:48:29
Zigbee2mqtt Bridge received "Z Dining Room Motion" motion sensor 'on' event
HomeKitLink Siri Debug (plugin.py: Function: deviceUpdated line: 1939): Exception : Message : Caught exception in Device Update
HomeKitLink Siri Debug Traceback:
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
HomeKitLink Siri Debug Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
AttributeError: 'NoneType' object has no attribute 'char_on'
HomeKitLink Siri Debug
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'char_on'"), <traceback object at 0x2082abb80>)
Exc_Text: None
Stack_info: None
29 Mar 2023 at 13:49:59
Zigbee2mqtt Bridge received "Z Dining Room Motion" motion sensor 'off' event
HomeKitLink Siri Debug (plugin.py: Function: deviceUpdated line: 1939): Exception : Message : Caught exception in Device Update
HomeKitLink Siri Debug Traceback:
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
HomeKitLink Siri Debug Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 1936, in deviceUpdated
self.device_list_internal[checkindex]["accessory"].char_on.set_value(newstate)
AttributeError: 'NoneType' object has no attribute 'char_on'
HomeKitLink Siri Debug
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'char_on'"), <traceback object at 0x208302d40>)
Exc_Text: None
Stack_info: None
Is there anything I can try, I am happy to reset anything (done that multiple times)