I'm trying to add the Fibaro CO sensor (FGCD-001) to HomeKit.
However, after saving the device and AFTER saving the second time (at the bottom of the config window) I'm getting the attached errors and the plugin remains in "starting up" mode.
Only if I remove (unpublish) the device again the plugin will run correctly.
Any ideas what is causing the errors?
---Excerpt from the log----
13. Nov 2024 at 10:22:16
HomeKitLink Siri Warning You have published a new device to HomeKit.
HomeKitLink Siri Warning Once you press Save the Bridge will restart for this to take effect.
HomeKitLink Siri Warning Please feel free to continue to add devices meanwhile.
HomeKitLink Siri Stopping accessory HomeKitLink Bridge 388535 on addresses ['192.168.100.9'], port 51826.
HomeKitLink Siri Closed the flux capacitor loop.
HomeKitLink Siri HomeKitLink Siri has completed full Bridge, Driver and Bridge Thread Shutdown.
HomeKitLink Siri Error (plugin.py: Function: get_bridge_multiple line: 1025): Exception : Message : Error in Get Bridge
HomeKitLink Siri Error Traceback:
File "plugin.py", line 920, in get_bridge_multiple
accessory = HomeKitDevices.CarbonMonoxideSensor(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 338, in __init__
batteryLevel = HKutils.convert_to_float(states["batteryLevel"])
^^^^^^
HomeKitLink Siri Error Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 920, in get_bridge_multiple
accessory = HomeKitDevices.CarbonMonoxideSensor(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 338, in __init__
batteryLevel = HKutils.convert_to_float(states["batteryLevel"])
^^^^^^
NameError: name 'states' is not defined
HomeKitLink Siri Error
Exc_info: (<class 'NameError'>, NameError("name 'states' is not defined"), <traceback object at 0x10c7d7200>)
Exc_Text: Traceback (most recent call last):
File "plugin.py", line 920, in get_bridge_multiple
accessory = HomeKitDevices.CarbonMonoxideSensor(driver, self, item["deviceid"], item['devicename'], aid=deviceAID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 338, in __init__
batteryLevel = HKutils.convert_to_float(states["batteryLevel"])
^^^^^^
NameError: name 'states' is not defined
Stack_info: None
HomeKitLink Siri Error (plugin.py: Function: startsingleBridge line: 1318): Exception : Message : Exception in single Bridge Startup
HomeKitLink Siri Error Traceback:
File "plugin.py", line 1300, 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 2024.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 1300, 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 2024.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 0x10c68f0c0>)
Exc_Text: Traceback (most recent call last):
File "plugin.py", line 1300, 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 2024.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 Deleting item:{'deviceid': 1758584466, 'devicename': 'CO Sensor', 'accessory': None, 'aid': 1758584466, 'subtype': 'CarbonMonoxideSensor', 'bridgeID': 388535, 'devicemodel': 'Notification Sensor', 'devicesensor': 'onOffState', 'manufacturername': 'Fibaro System'}
HomeKitLink Siri Given just unpublished device to HomeKit, Bridge will need to be restarted for changes to take effect
HomeKitLink Siri Warning You have removed an HomeKit Device.
HomeKitLink Siri Warning After pressing Save, the Bridge will restart for this to take effect.
HomeKitLink Siri Warning The device should disappear from HomeKit Clients in a short space of time.
HomeKitLink Siri HomeKitLink Siri has completed full Bridge, Driver and Bridge Thread Shutdown.
Issues with Fibaro CO sensor
Issues with Fibaro CO sensor
- Attachments
-
- Bildschirmfoto 2024-11-13 um 10.22.14.png (132.94 KiB) Viewed 900 times
Re: Issues with Fibaro CO sensor
Could it be possible, the errors appear because the device isn't properly synced?
It appears as "Notification sensor" and not as the device itself.
Even the sync screen says, it does not have a device definion for it. But according to the supported hardware list it should.
---Device according to log---
13. Nov 2024 at 10:37:25
Z-Wave Indigo Device "CO Sensor" Z-Wave Properties:
Indigo Z-Wave Version: 2024.1.0
Node ID: 38
Model: Notification Sensor
Model ID: 12011001
Manufacturer: Fibaro System
Manufacturer ID: 010F
Protocol Version: 4.38
Application Version: 3.02
Model Definition Version: 0
Library Type: 3
Class Name: Notification Sensor
Class Hierarchy: 04 : 07 : 01
Command Class Base: 00
Command Versions: 20v1 5Ev1 86v1 72v1 5Av1 59v1 85v1 73v1 84v2 80v1 71v1 22v1 56v1 70v1 8Ev1 31v10 9Cv1 7Av1 98v1
Encryption Status: Supported but not Enabled
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, security, waking
Neighbors: 10, 29, 30, 34
Associations: 1:[1] 2:[] 3:[]
Config Values: - none -
It appears as "Notification sensor" and not as the device itself.
Even the sync screen says, it does not have a device definion for it. But according to the supported hardware list it should.
---Device according to log---
13. Nov 2024 at 10:37:25
Z-Wave Indigo Device "CO Sensor" Z-Wave Properties:
Indigo Z-Wave Version: 2024.1.0
Node ID: 38
Model: Notification Sensor
Model ID: 12011001
Manufacturer: Fibaro System
Manufacturer ID: 010F
Protocol Version: 4.38
Application Version: 3.02
Model Definition Version: 0
Library Type: 3
Class Name: Notification Sensor
Class Hierarchy: 04 : 07 : 01
Command Class Base: 00
Command Versions: 20v1 5Ev1 86v1 72v1 5Av1 59v1 85v1 73v1 84v2 80v1 71v1 22v1 56v1 70v1 8Ev1 31v10 9Cv1 7Av1 98v1
Encryption Status: Supported but not Enabled
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, security, waking
Neighbors: 10, 29, 30, 34
Associations: 1:[1] 2:[] 3:[]
Config Values: - none -
- Attachments
-
- Bildschirmfoto 2024-11-13 um 10.41.44.png (32.67 KiB) Viewed 897 times
-
- Bildschirmfoto 2024-11-13 um 10.37.23.png (79.92 KiB) Viewed 897 times
Issues with Fibaro CO sensor
Certainly if is has no definition within Indigo - then the needed states likely wont exist - that is confirmed in image you have posted saying that device definition does not exist within Indigo.
It would remain possible that the item is supported, just an updated model ID for different area etc. is needed. Unfortunately that still is a new Indigo release away…
Sent from my iPad using Tapatalk
It would remain possible that the item is supported, just an updated model ID for different area etc. is needed. Unfortunately that still is a new Indigo release away…
Sent from my iPad using Tapatalk
Re: Issues with Fibaro CO sensor
Glenn, thanks!GlennNZ wrote: ↑Wed Nov 13, 2024 4:27 am Certainly if is has no definition within Indigo - then the needed states likely wont exist - that is confirmed in image you have posted saying that device definition does not exist within Indigo.
It would remain possible that the item is supported, just an updated model ID for different area etc. is needed. Unfortunately that still is a new Indigo release away…
Sent from my iPad using Tapatalk
Yes, that was my though as well, afterwards.
I sent the device properties from the log to Jay and Matt.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Issues with Fibaro CO sensor
It looks like Fibaro changed the Z-Wave model ID without changing the part number. We'll look at adding support in the next feature release.
Re: Issues with Fibaro CO sensor
That would be great!jay (support) wrote: ↑Wed Nov 13, 2024 11:24 am It looks like Fibaro changed the Z-Wave model ID without changing the part number. We'll look at adding support in the next feature release.
Thanks!
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Issues with Fibaro CO sensor
Hi!
It seems that Fibaro has changed the model id again since when I replaced my old CO sensor with new ones, got this model ID in the log:
could this be added @jay?
It seems that Fibaro has changed the model id again since when I replaced my old CO sensor with new ones, got this model ID in the log:
Code: Select all
Indigo Z-Wave Version: 2024.2.1
Node ID: 186
Model: Notification Sensor
Model ID: 12011002
Manufacturer: Fibaro System
Manufacturer ID: 010F
Protocol Version: 4.38
Application Version: 3.02
Model Definition Version: 0
Library Type: 3
Class Name: Notification Sensor
Class Hierarchy: 04 : 07 : 01
Command Class Base: 00
Command Versions: 20v1 5Ev1 86v1 72v1 5Av1 59v1 85v1 73v1 84v2 80v1 71v1 22v1 56v1 70v1 8Ev1 31v10 9Cv1 7Av1 98v1
Encryption Status: Supported but not Enabled
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, security, waking
Neighbors: 7, 8, 10, 11, 13, 15, 16, 17, 18, 53, 54, 56, 58, 59, 61, 62, 64, 76, 83, 124, 131, 154, 155, 156, 157, 162
Associations: 1:[1] 2:[] 3:[] 4:[] 5:[] 6:[] 7:[]
Config Values: - none -