Homekit Siri Stopped Working after updating to Sonoma 14.2. [Resolved]

Posted on
Mon Dec 11, 2023 9:22 pm
pgpappas offline
Posts: 28
Joined: Sep 06, 2009
Location: Port Orange, FL

Homekit Siri Stopped Working after updating to Sonoma 14.2. [Resolved]

This problem seems to have started after the 14.2 update. See log below. I have already made a second bridge but can't add the new bridge HomeKit. I also reinstalled the plugin.

Loading plugin "HomeKitLink Siri 0.6.29" using API v3.2
Starting plugin "HomeKitLink Siri 0.6.29" (pid 4603)
HomeKitLink Siri
HomeKitLink Siri ================================================ Initializing New Plugin Session =================================================
HomeKitLink Siri Plugin name: HomeKitLink Siri
HomeKitLink Siri Plugin version: 0.6.29
HomeKitLink Siri Plugin ID: com.GlennNZ.indigoplugin.HomeKitLink-Siri
HomeKitLink Siri Indigo version: 2023.1.1
HomeKitLink Siri Python version: 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
HomeKitLink Siri Python Directory: /Library/Frameworks/Python.framework/Versions/3.10
HomeKitLink Siri
HomeKitLink Siri ================================================== End Initializing New Plugin ==================================================
Started plugin "HomeKitLink Siri 0.6.29"
HomeKitLink Siri Finding devices to publish to HomeKit Given Startup...
HomeKitLink Siri Error (plugin.py: Function: get_bridge_multiple line: 965): Exception : Message : Error in Get Bridge
HomeKitLink Siri Error Traceback:
File "plugin.py", line 854, in get_bridge_multiple
accessory = HomeKitDevices.Window(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2155, in __init__
currentstate = self.get_state()
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2179, in get_state
brightness,onOffStatevalue = self.plugin.Plugin_getter_callback(self, "windowAlone")

HomeKitLink Siri Error Error in plugin execution:

Traceback (most recent call last):
File "plugin.py", line 854, in get_bridge_multiple
accessory = HomeKitDevices.Window(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2155, in __init__
currentstate = self.get_state()
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2179, in get_state
brightness,onOffStatevalue = self.plugin.Plugin_getter_callback(self, "windowAlone")
TypeError: cannot unpack non-iterable NoneType object

HomeKitLink Siri Error
Exc_info: (<class 'TypeError'>, TypeError('cannot unpack non-iterable NoneType object'), <traceback object at 0x108c3ed40>)
Exc_Text: Traceback (most recent call last):
File "plugin.py", line 854, in get_bridge_multiple
accessory = HomeKitDevices.Window(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2155, in __init__
currentstate = self.get_state()
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 2179, in get_state
brightness,onOffStatevalue = self.plugin.Plugin_getter_callback(self, "windowAlone")
TypeError: cannot unpack non-iterable NoneType object
Stack_info: None
HomeKitLink Siri Error (plugin.py: Function: startsingleBridge line: 1180): Exception : Message : Exception in single Bridge Startup
HomeKitLink Siri Error Traceback:
File "plugin.py", line 1162, in startsingleBridge
self.driver_multiple[-1].add_accessory(accessory=self.get_bridge_multiple(self.driver_multiple[-1], self.bridge_multiple[-1], uniqueID))
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 504, in add_accessory
if accessory.aid is None:

HomeKitLink Siri Error Error in plugin execution:

Traceback (most recent call last):
File "plugin.py", line 1162, in startsingleBridge
self.driver_multiple[-1].add_accessory(accessory=self.get_bridge_multiple(self.driver_multiple[-1], self.bridge_multiple[-1], uniqueID))
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 504, in add_accessory
if accessory.aid is None:
AttributeError: 'NoneType' object has no attribute 'aid'

HomeKitLink Siri Error
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'aid'"), <traceback object at 0x108555a40>)
Exc_Text: Traceback (most recent call last):
File "plugin.py", line 1162, in startsingleBridge
self.driver_multiple[-1].add_accessory(accessory=self.get_bridge_multiple(self.driver_multiple[-1], self.bridge_multiple[-1], uniqueID))
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 504, in add_accessory
if accessory.aid is None:
AttributeError: 'NoneType' object has no attribute 'aid'
Stack_info: None
HomeKitLink Siri Error (plugin_base.py: Function: _device_enum_and_start_comm line: 1277): Error : Message : exception in device_start_comm(HomeKit Siri): Python argument types in
Device.updateStatesOnServer(Device)
did not match C++ signature:
updateStatesOnServer(CDeviceBase {lvalue}, boost::python::api::object keyValueList, bool triggerEvents=True, bool clearErrorState=True)
Web Server Warning undefined page for request /v2/api/indigo.devices/1112253384 from 192.168.1.9
HomeKitLink Siri A total of 61 devices are currently selected to be published to HomeKit
HomeKitLink Siri 0 Home Kit Accessories are now Started.
HomeKitLink Siri Given this difference, please review devices by Select Menu Item, Show Device Publications for more information.

Peter Pappas

Posted on
Mon Dec 11, 2023 9:26 pm
GlennNZ offline
User avatar
Posts: 1573
Joined: Dec 07, 2014
Location: Central Coast, Australia

Homekit Siri Stopped Working after updating to Sonoma 14.2.

HomeKitLink works fine with Sonoma - running it myself. (although not on 14.2)

From the brief error log:

Seems like perhaps something else isn’t working or running that you have published to Homekit creating this error?

The full details aren’t there - and often never are - but seems like is a Window device? . Likely published incorrectly or no longer working.

Posted on
Mon Dec 11, 2023 10:14 pm
pgpappas offline
Posts: 28
Joined: Sep 06, 2009
Location: Port Orange, FL

Re: Homekit Siri Stopped Working after updating to Sonoma 14

I removed the suspected devices and reloaded the plugin successfully, see log. The only remaining problem is that I can't add the bridge back into Homekit. I keep getting an Accessory Not Found error. What should I do next.

Reloading plugin "HomeKitLink Siri 0.6.29" using API v3.2
Stopping plugin "HomeKitLink Siri 0.6.29" (pid 7264)
HomeKitLink Siri Stopping accessory HomeKitLink Bridge 761715 on addresses ['192.168.1.16'], port 51826.
HomeKitLink Siri Closed the flux capacitor loop.
HomeKitLink Siri Completing full Bridge Shutdown ...
HomeKitLink Siri HomeKit Siri has completed full Bridge, Driver and Bridge Thread Shutdown.
HomeKitLink Siri Shutting down HomeKitLink
Stopped plugin "HomeKitLink Siri 0.6.29"
Starting plugin "HomeKitLink Siri 0.6.29" (pid 7782)
HomeKitLink Siri
HomeKitLink Siri ================================================ Initializing New Plugin Session =================================================
HomeKitLink Siri Plugin name: HomeKitLink Siri
HomeKitLink Siri Plugin version: 0.6.29
HomeKitLink Siri Plugin ID: com.GlennNZ.indigoplugin.HomeKitLink-Siri
HomeKitLink Siri Indigo version: 2023.1.1
HomeKitLink Siri Python version: 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
HomeKitLink Siri Python Directory: /Library/Frameworks/Python.framework/Versions/3.10
HomeKitLink Siri
HomeKitLink Siri ================================================== End Initializing New Plugin ==================================================
Started plugin "HomeKitLink Siri 0.6.29"
HomeKitLink Siri Finding devices to publish to HomeKit Given Startup...
HomeKitLink Siri Starting accessory HomeKitLink Bridge 761715 with advertised addresses ['192.168.1.16'] with port 51826.
HomeKitLink Siri A total of 60 devices are currently selected to be published to HomeKit
HomeKitLink Siri 60 Home Kit Accessories are now Started.

Peter Pappas

Posted on
Mon Dec 11, 2023 10:26 pm
GlennNZ offline
User avatar
Posts: 1573
Joined: Dec 07, 2014
Location: Central Coast, Australia

Homekit Siri Stopped Working after updating to Sonoma 14.2.

Ok.

Seems like you removed the broken device, and now the bridge is starting with 60 devices (previously failing with 61)

I presume you are getting Accessory Not Found when adding the bridge to Home app via the QR code?

Is it already there? Should be if you have simply upgraded Mac OSX

Otherwise:

See this troubleshooting post - regarding Accessory not found error - which is a very broad network communication type error generally.

Troubleshooting Options for HomeKitLink Siri
https://r.tapatalk.com/shareLink/topic? ... source=app

or

viewtopic.php?t=27136#p217862


If have upgraded to Sonoma - would check Firewalls etc, but really as above.


Sent from my iPad using Tapatalk

Posted on
Mon Dec 11, 2023 11:02 pm
pgpappas offline
Posts: 28
Joined: Sep 06, 2009
Location: Port Orange, FL

Re: Homekit Siri Stopped Working after updating to Sonoma 14

Unfortunately when I was troubleshooting earlier I deleted the original bridge from HomeKit. Now I can't add it back. The troubleshooting did not work.

Peter Pappas

Posted on
Mon Dec 11, 2023 11:09 pm
GlennNZ offline
User avatar
Posts: 1573
Joined: Dec 07, 2014
Location: Central Coast, Australia

Homekit Siri Stopped Working after updating to Sonoma 14.2.

Ok - not sure deleting everything an ideal part of troubleshooting ….

But given you have deleted the bridge from HomeKit there is no way to recover that. All your Home app setup, rooms, device etc would have been deleted as well.

You can’t re-add the bridge because its security is already known but deleted at the Home app end

You should be able to run the menu item

Reset Accessory
(I’ll edit this as not sure the wording)

And then re add bridge to Home app and re setup
Devices / rooms etc

Glenn


Sent from my iPhone using Tapatalk

Posted on
Mon Dec 11, 2023 11:42 pm
pgpappas offline
Posts: 28
Joined: Sep 06, 2009
Location: Port Orange, FL

Re: Homekit Siri Stopped Working after updating to Sonoma 14

Thanks for your patience working with me. I reset the bridge, see log. I still can't add the bridge to HomeKit. Same accessory not found error. Not sure what to do next.

HomeKitLink Siri Checking for busy_state file with UniqueID of 761715
HomeKitLink Siri Warning Found Bridge Security File busy_home_761715.state linked to Bridge ID 761715 Deleting this file.
HomeKitLink Siri Warning Deleted file busy_home_761715.state
HomeKitLink Siri Restart all Bridges.
HomeKitLink Siri Starting accessory HomeKitLink Bridge 761715 with advertised addresses ['192.168.1.16'] with port 51826.

Peter Pappas

Posted on
Mon Dec 11, 2023 11:45 pm
GlennNZ offline
User avatar
Posts: 1573
Joined: Dec 07, 2014
Location: Central Coast, Australia

Homekit Siri Stopped Working after updating to Sonoma 14.2.

Presumably you have run reset accessory for the bridge in question, re-opened the QR Code (don’t reuse the browser window). Config needs to be opened and QR button re-clicked. For good measure probably would restart plugin before above..

If that hasn’t helped:
Would come back to the troubleshooting post - where you summarised it didn’t help.

There is a bit more to it than that.

Is Firewall on?
Can you see the Bridge with the Discovery app on the Mac and/or on the IOS device?
Other network settings
etc.etc.

Sent from my iPad using Tapatalk

Posted on
Tue Dec 12, 2023 12:02 am
pgpappas offline
Posts: 28
Joined: Sep 06, 2009
Location: Port Orange, FL

Re: Homekit Siri Stopped Working after updating to Sonoma 14

Your answer, (don’t reuse the browser window). Config needs to be opened and QR button re-clicked did the trick.

I kept using the same QR code.

Thanks for your help.

Peter Pappas

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 7 guests