So Many Logfile Errors after Deleting a Device

A plugin to integration Indigo devices into HomeKit (and Siri)
SearchCz
Posts: 284
Joined: Wed Sep 18, 2019 4:45 am

So Many Logfile Errors after Deleting a Device

Post by SearchCz »

I deleted an Indigo device while it was among those published via HomeKitLink Siri. I think I made the plugin angry!

Any advice about getting the plugin back into its happy place ? Help greatly appreciated!

Initial Error reported:

Code: Select all

2026-05-17 09:17:02.356	HomeKitLink Siri Error	(plugin.py: Function: deviceDeleted  line: 1751):    Error :  Message : Device: vRoom.Laundry Room ,just deleted published and has active accessory within Homekit currently (!)
2026-05-17 09:17:02.356	HomeKitLink Siri	Deleted Device appears to be running of Bridge 595688.  Attempting to restart Bridge and reset all Accessories.
2026-05-17 09:17:03.459	HomeKitLink Siri	Stopping accessory HomeKitLink Bridge 595688 on addresses ['192.168.68.65'], port 51829.
2026-05-17 09:17:03.462	HomeKitLink Siri	Closed the flux capacitor loop.
2026-05-17 09:17:03.463	HomeKitLink Siri	HK Virtual Rooms has completed full Bridge, Driver and Bridge Thread Shutdown.
2026-05-17 09:17:03.861	HomeKitLink Siri	Starting accessory HomeKitLink Bridge 595688 
Now I'm getting errors like this over and over again in my log file:

Code: Select all

   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49736): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x110cbe540>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
Stack_info: None
   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49737): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x112b230c0>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
Stack_info: None
   Action Group                    BackYardMotionEnded
   Virtual Devices                 sent "vMotion.BackYard" off
   Roomify                         Extending automation occupancy expiration for room 'Lounge' due to vacancy indicator 'Lounge Motion Detector (v2)' being ON
   Roomify                         Setting watchdog cutoff for room 'Lounge'
   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49738): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x112a43a40>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
Stack_info: None
   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49739): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x112b02dc0>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
Stack_info: None
SearchCz
Posts: 284
Joined: Wed Sep 18, 2019 4:45 am

Re: So Many Logfile Errors after Deleting a Device

Post by SearchCz »

Update: I had five HomekitLink Siri bridges running.

I deleted the one that had publishing responsibility for the ghost device. Seems to be working fine now.

OOPS - no, it's not. Still throwing a bunch of errors.

Code: Select all

   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49782): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x1132b6900>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
Stack_info: None
   HomeKitLink Siri Error          (hap_handler.py: Function: dispatch  line: 246):    Exception :  Message : ('192.168.68.86', 49788): Failed to process request for: /characteristics
   HomeKitLink Siri Error          Traceback:
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^

   HomeKitLink Siri Error          Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'

   HomeKitLink Siri Error          
Exc_info: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'get_characteristic'"), <traceback object at 0x1132e8880>) 
Exc_Text: Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 240, in dispatch
    getattr(self, self.HANDLERS[self.command][path])()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/hap_handler.py", line 672, in handle_set_characteristics
    response = self.accessory_handler.set_characteristics(
        requested_chars, self.client_address
    )
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/pyhap/accessory_driver.py", line 958, in set_characteristics
    char = acc.get_characteristic(aid, iid)
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic' 
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

So Many Logfile Errors after Deleting a Device

Post by GlennNZ »

Hi

The first message is the plugin recognising that the device was deleted. That should then remove the issue about delete device being published.

Deleting the bridge - should also removed any issues related to device deletion.

Typically any device being deleted without plugin aware or running, or indeed some issue here then restarting the plugin will remove any registration issues like this.

Question remains whether this relates to deletion of device or whether is another issue.

Glenn
SearchCz
Posts: 284
Joined: Wed Sep 18, 2019 4:45 am

Re: So Many Logfile Errors after Deleting a Device

Post by SearchCz »

Glenn,
on-operational while others remain active?
I restarted the plugin several times. Restarted the Indigo server as well. Still getting these errors.

I also decided to try unliking orphaned devices and deleting residual state files. Restart HomeKit. Relaod plugin.

I'll keep an eye on it to see if it's any happier now.

I noticed that every HomekitLink-Siri bridge has a "Status" state. Mine all say "operation" as expected. Does this indicate a possibility to have some of these bridges non-operation while the remainder are still "operational" ? That might help with fault isolation.

-SearchCz
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

So Many Logfile Errors after Deleting a Device

Post by GlennNZ »

I think if you have restarted the plugin - then won’t be related to anything to do with deletion of the device. If you have then deleted a bridge in Indigo - you will need to remove it from the Home App ideally as well. Not sure that would explain whatever you are seeing.

The bridge status - may be operation - but at the Home end may cause a significant error if the wrong information is published there. Typically a “Show all Options” selection and forcing a particularly device type or device state.

The question will be what else changed around the same time as the device deletion??

The Device Disable Indigo Communicaiton, bottom left on the Homekitlink bridge devices turns the individual bridge off. This should stop any errors from that particularly bridge, without needing to go nuclear and delete it.

Similarly there are the Menu items troubleshooting 1,2,3 - that log information - probably the device one (I think 3), rather than network ones would be useful here.


Sent from my iPad using Tapatalk
SearchCz
Posts: 284
Joined: Wed Sep 18, 2019 4:45 am

Re: So Many Logfile Errors after Deleting a Device

Post by SearchCz »

GlennNZ wrote: Mon May 18, 2026 5:22 am I think if you have restarted the plugin - then won’t be related to anything to do with deletion of the device. If you have then deleted a bridge in Indigo - you will need to remove it from the Home App ideally as well. Not sure that would explain whatever you are seeing.
Thank you Glenn. I guessed that the problem might have been caused by leftovers in my Home app, so I deleted the reference to the bridge I had deleted in Indigo. Error messages disappeared. I was on my way back to this thread to add that detail which you had already inferred!

As long as I have your attention, I'd like to offer mad props and big thanks for this plugin. I m in the middle of writing my first plugin - much simpler than this HomeKit plugin I'm sure, by an order of magnitude at least - and have a better appreciation for the work that people like you put into these projects. I originally jumped on your plugin just to get voice command of my Indigo devices, but now I lean on it HEAVILY to let Indigo know about state changes on HomeKit devices that Indigo is not able to "see" otherwise. Smart lock status, security cameras doubling as motion detectors, temperature sensors crossing thresholds - your plugin lest me expose virtual devices ad action groups through which Indigo gets in on all that good info.

Thanks, man!
SearchCz
Posts: 284
Joined: Wed Sep 18, 2019 4:45 am

Re: So Many Logfile Errors after Deleting a Device

Post by SearchCz »

And another *discovery* ... sometimes restarting the Apple HomeKit Hub device (HomePod or Apple TV) clears up problems, perhaps by re-establishing fresh communication with the HomeKitLinkSiri device(s).

I
Post Reply

Return to “HomeKitLink Siri”