z-wave device issues with migration from Vera to Hubitat
Randy Carson
randycarson at gmail.com
Thu Apr 28 08:28:03 EDT 2022
Hello,
I just recently migrated a number of zwave devices from a Vera to Hubitat. So far very impressed by the Hubitat and its support for various devices. I am hoping that some of you that have made this transistion may be able to help my out here.
Issue 1: there are two Homeseer WD-200 dimmers (Dining Room Lamps and Sun Room Lamps) that I can no longer control via the Homekit plugin after the migration. I get the following error in the log when attempting to configure sharing in the Homekit plugin for either of these units:
2022-04-27 8:00:51 PM 390Q Home Kit: Traceback (most recent call last):
2022-04-27 8:00:51 PM 390Q Home Kit: File "/Applications/XTension.app/Contents/Resources/Plugins/xtension_hap.isf/xtension_hap.py", line 1340, in <module>
2022-04-27 8:00:51 PM 390Q Home Kit: workUnit.makeAccessory()
2022-04-27 8:00:51 PM 390Q Home Kit: File "/Applications/XTension.app/Contents/Resources/Plugins/xtension_hap.isf/xtension_hap.py", line 979, in makeAccessory
2022-04-27 8:00:51 PM 390Q Home Kit: bridge.add_accessory( self.accessory)
2022-04-27 8:00:51 PM 390Q Home Kit: File "/Applications/XTension.app/Contents/Resources/Plugins/xtension_hap.isf/pyhap/accessory.py", line 359, in add_accessory
2022-04-27 8:00:51 PM 390Q Home Kit: raise ValueError("Duplicate AID found when attempting to add accessory")
2022-04-27 8:00:51 PM 390Q Home Kit: ValueError: Duplicate AID found when attempting to add accessory
Is it possible that there are some orphan units in the Xtension database that have the same “AID”? If so how can I resolve this? I have tried resetting the Homekit bridge and deleting and re-adding the xtension units from the Hubitat plugin. So far still have the issue.
Issue 2:
With Hubitat debug log on, I see the following errors in red:
2022-04-27 7:48:27 PM UPDATE FROM DATABASE ATTR IS: {'name': 'acceleration', 'currentValue': None, 'dataType': 'ENUM', 'values': ['inactive', 'active']} data is: {'id': '17', 'name': 'Aeon Multisensor 6', 'label': 'Side Porch Multisensor', 'type': 'Aeon Multisensor 6', 'attributes': [{'name': 'battery', 'currentValue': 100, 'dataType': 'NUMBER'}, {'name': 'motion', 'currentValue': 'inactive', 'dataType': 'ENUM', 'values': ['inactive', 'active']}, {'name': 'ultravioletIndex', 'currentValue': 0, 'dataType': 'NUMBER'}, {'name': 'temperature', 'currentValue': 3.2, 'dataType': 'NUMBER'}, {'name': 'acceleration', 'currentValue': None, 'dataType': 'ENUM', 'values': ['inactive', 'active']}, {'name': 'illuminance', 'currentValue': 56, 'dataType': 'NUMBER'}, {'name': 'humidity', 'currentValue': 53, 'dataType': 'NUMBER'}], 'capabilities': ['RelativeHumidityMeasurement', {'attributes': [{'name': 'humidity', 'dataType': None}]}, 'MotionSensor', {'attributes': [{'name': 'motion', 'dataType': None}]}, 'Configuration', 'Battery', {'attributes': [{'name': 'battery', 'dataType': None}]}, 'IlluminanceMeasurement', {'attributes': [{'name': 'illuminance', 'dataType': None}]}, 'UltravioletIndex', {'attributes': [{'name': 'ultravioletIndex', 'dataType': None}]}, 'AccelerationSensor', {'attributes': [{'name': 'acceleration', 'dataType': None}]}, 'TemperatureMeasurement', {'attributes': [{'name': 'temperature', 'dataType': None}]}, 'Sensor'], 'commands': ['configure']} (Hubitat Queen)
2022-04-27 7:48:27 PM Side Porch (acceleration): error sensor updateFromDatabase( None is not in list) {"id": "17", "name": "Aeon Multisensor 6", "label": "Side Porch Multisensor", "type": "Aeon Multisensor 6", "attributes": [{"name": "battery", "currentValue": 100, "dataType": "NUMBER"}, {"name": "motion", "currentValue": "inactive", "dataType": "ENUM", "values": ["inactive", "active"]}, {"name": "ultravioletIndex", "currentValue": 0, "dataType": "NUMBER"}, {"name": "temperature", "currentValue": 3.2, "dataType": "NUMBER"}, {"name": "acceleration", "currentValue": null, "dataType": "ENUM", "values": ["inactive", "active"]}, {"name": "illuminance", "currentValue": 56, "dataType": "NUMBER"}, {"name": "humidity", "currentValue": 53, "dataType": "NUMBER"}], "capabilities": ["RelativeHumidityMeasurement", {"attributes": [{"name": "humidity", "dataType": null}]}, "MotionSensor", {"attributes": [{"name": "motion", "dataType": null}]}, "Configuration", "Battery", {"attributes": [{"name": "battery", "dataType": null}]}, "IlluminanceMeasurement", {"attributes": [{"name": "illuminance", "dataType": null}]}, "UltravioletIndex", {"attributes": [{"name": "ultravioletIndex", "dataType": null}]}, "AccelerationSensor", {"attributes": [{"name": "acceleration", "dataType": null}]}, "TemperatureMeasurement", {"attributes": [{"name": "temperature", "dataType": null}]}, "Sensor"], "commands": ["configure"]} (Hubitat Queen)
2022-04-27 7:48:27 PM UPDATE FROM DATABASE ATTR IS: {'name': 'motion', 'currentValue': None, 'dataType': 'ENUM', 'values': ['inactive', 'active']} data is: {'id': '18', 'name': 'HomeSeer Floodlight Sensor', 'label': 'Driveway', 'type': 'HomeSeer Floodlight Sensor', 'attributes': [{'name': 'switch', 'currentValue': 'off', 'dataType': 'ENUM', 'values': ['on', 'off']}, {'name': 'illuminance', 'currentValue': 250, 'dataType': 'NUMBER'}, {'name': 'motion', 'currentValue': None, 'dataType': 'ENUM', 'values': ['inactive', 'active']}], 'capabilities': ['MotionSensor', {'attributes': [{'name': 'motion', 'dataType': None}]}, 'Configuration', 'Actuator', 'Refresh', 'IlluminanceMeasurement', {'attributes': [{'name': 'illuminance', 'dataType': None}]}, 'Switch', {'attributes': [{'name': 'switch', 'dataType': None}]}, 'Sensor'], 'commands': ['configure', 'off', 'on', 'refresh']} (Hubitat Queen)
2022-04-27 7:48:27 PM Driveway (motion): error sensor updateFromDatabase( None is not in list) {"id": "18", "name": "HomeSeer Floodlight Sensor", "label": "Driveway", "type": "HomeSeer Floodlight Sensor", "attributes": [{"name": "switch", "currentValue": "off", "dataType": "ENUM", "values": ["on", "off"]}, {"name": "illuminance", "currentValue": 250, "dataType": "NUMBER"}, {"name": "motion", "currentValue": null, "dataType": "ENUM", "values": ["inactive", "active"]}], "capabilities": ["MotionSensor", {"attributes": [{"name": "motion", "dataType": null}]}, "Configuration", "Actuator", "Refresh", "IlluminanceMeasurement", {"attributes": [{"name": "illuminance", "dataType": null}]}, "Switch", {"attributes": [{"name": "switch", "dataType": null}]}, "Sensor"], "commands": ["configure", "off", "on", "refresh"]} (Hubitat Queen)
It looks like perhaps Xtension is not happy with the format of the message from Hubitat for these two deivces (“None is not in list”).
Any pointers on the two issues above much appreciated.
thanks! Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20220428/2e3ea423/attachment.html>
More information about the XTensionList
mailing list