iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Lock stuck in "Locking..." State #78

Closed PatrickDanino closed 1 year ago

PatrickDanino commented 1 year ago

Describe The Bug: Plugin might be crashing? State of my August lock connected via SmartThings won't update

To Reproduce:

Expected behavior:

Current behavior:

Logs:

Loading logs using native method...
File: /var/lib/homebridge/homebridge.log

facturerCode":"CentraLite","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"0660ae0c-d192-4da4-a9e8-6b64c857ca0f","deviceTypeId":"821425e6-b305-468a-9a27-db0e4852ce3a","deviceTypeName":"SmartSense Motion Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","label":"Bedroom Motion Sensor","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"motionSensor","version":1},{"id":"configuration","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1},{"id":"firmwareUpdate","version":1}],"categories":[{"name":"MotionSensor","categoryType":"manufacturer"}]}],"createTime":"2020-04-17T05:48:50Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":false,"deviceNetworkType":"ZIGBEE","deviceTypeId":"821425e6-b305-468a-9a27-db0e4852ce3a","deviceTypeName":"SmartSense Motion Sensor","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding MotionService to Bedroom Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding TemperatureService to Bedroom Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Bedroom Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"e609a19b-fbc3-4f42-876c-9b30f06253ca","name":"GE In-Wall Smart Dimmer","label":"TV Light","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"TV Light","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-24T03:53:13Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: TV Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to TV Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] TV Light supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"319039f7-951a-40b2-ada1-9dc331323932","name":"GE Wall Switch","label":"Entrance Door Light","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Z-Wave_Switch","deviceManufacturerCode":"0063-5257-3533","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"220d3dd9-8ef2-4f69-a822-c40664b6e041","deviceTypeId":"26638034-3292-11e2-9c79-22000a1dc790","deviceTypeName":"Z-Wave Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Entrance Door Light","capabilities":[{"id":"switch","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Switch","categoryType":"manufacturer"}]}],"createTime":"2018-08-20T03:19:36Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"26638034-3292-11e2-9c79-22000a1dc790","deviceTypeName":"Z-Wave Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Entrance Door Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding SwitchService to Entrance Door Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"fa501608-b4e5-48fc-9d59-e88d24ff4523","name":"GE In-Wall Smart Dimmer","label":"Bedroom Main Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"0660ae0c-d192-4da4-a9e8-6b64c857ca0f","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Bedroom Main Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-25T05:06:54Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Main Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Bedroom Main Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Bedroom Main Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"4169381b-42be-4f29-bad3-f777f1fe61bd","name":"Motion Sensor","label":"Main Floor Motion Sensor","manufacturerName":"SmartThings","presentationId":"generic-motion","deviceManufacturerCode":"CentraLite","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"821425e6-b305-468a-9a27-db0e4852ce3a","deviceTypeName":"SmartSense Motion Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","label":"Main Floor Motion Sensor","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"motionSensor","version":1},{"id":"configuration","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1},{"id":"firmwareUpdate","version":1}],"categories":[{"name":"MotionSensor","categoryType":"manufacturer"}]}],"createTime":"2015-10-15T11:49:29Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZIGBEE","deviceTypeId":"821425e6-b305-468a-9a27-db0e4852ce3a","deviceTypeName":"SmartSense Motion Sensor","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Main Floor Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding MotionService to Main Floor Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding TemperatureService to Main Floor Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Main Floor Motion Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"4765e435-3dce-4b88-97a2-09f6030faba2","name":"Multipurpose Sensor","label":"Garage Door Sensor","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-SmartSense_Multi_Sensor","deviceManufacturerCode":"CentraLite","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"49b43e05-e7ce-4d5c-936d-00bfc196c40e","deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","label":"Garage Door Sensor","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"contactSensor","version":1},{"id":"configuration","version":1},{"id":"threeAxis","version":1},{"id":"accelerationSensor","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1}],"categories":[{"name":"MultiFunctionalSensor","categoryType":"manufacturer"}]}],"createTime":"2015-11-14T02:48:52Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZIGBEE","deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Garage Door Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding TemperatureService to Garage Door Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding ContactService to Garage Door Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Garage Door Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"67b11ce1-b23d-4243-90d0-83c9bbad7c43","name":"c2c-ring-camera-rtsp","label":"Deck Floodlight","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-c2c-ring-camera","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","components":[{"id":"main","label":"main","capabilities":[{"id":"refresh","version":1},{"id":"healthCheck","version":1},{"id":"webrtc","version":1},{"id":"videoStream","version":1},{"id":"motionSensor","version":1}],"categories":[{"name":"Camera","categoryType":"manufacturer"}]}],"createTime":"2021-06-29T22:44:07.830Z","profile":{"id":"7d1cfdc9-1b11-4d3e-9a99-84932b9a4eae"},"viper":{"manufacturerName":"Ring","modelName":"floodlight_v2","swVersion":"10.0.36"},"type":"VIPER","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Deck Floodlight
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding MotionService to Deck Floodlight
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"254250ca-714f-459c-8cb6-9acd41513a48","name":"GE In-Wall Smart Dimmer","label":"Kitchen Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Kitchen Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-21T04:44:24Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Kitchen Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Kitchen Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Kitchen Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"a31331cd-e48e-4021-b7df-15482e0e8bb6","name":"GE In-Wall Smart Dimmer","label":"Main Floor Stairs Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Main Floor Stairs Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-25T05:09:57Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Main Floor Stairs Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Main Floor Stairs Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Main Floor Stairs Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"bc01a2f0-f6b8-47e4-abb1-2949570d8091","name":"c2c-lock-4","label":"Front Door","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-c2c-lock-4","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"220d3dd9-8ef2-4f69-a822-c40664b6e041","components":[{"id":"main","label":"main","capabilities":[{"id":"lock","version":1},{"id":"contactSensor","version":1},{"id":"battery","version":1},{"id":"refresh","version":1},{"id":"healthCheck","version":1}],"categories":[{"name":"SmartLock","categoryType":"manufacturer"}]}],"createTime":"2021-09-30T20:24:23.650Z","profile":{"id":"23eeb7b9-e639-4a21-b3ff-7ca4c4a7344f"},"viper":{"uniqueIdentifier":"6B901C2261D64DE0B288831A39DB5D26","manufacturerName":"August","modelName":"Lock"},"type":"VIPER","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LockService to Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Received getLockState() event for Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Refreshing status for Front Door - current timestamp is 0
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Calling Smartthings to get an update for Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding ContactService to Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Front Door
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"598c258f-1cb4-4b98-9df9-8b174b11fed6","name":"Z-Wave Switch","label":"Coffee Machine","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Z-Wave_Switch_Generic","deviceManufacturerCode":"0063-5250-3030","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"3416ebc5-0276-4884-a715-38672d8ede5d","deviceTypeName":"Z-Wave Switch Generic","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Coffee Machine","capabilities":[{"id":"switch","version":1},{"id":"polling","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Switch","categoryType":"manufacturer"}]}],"createTime":"2018-09-22T03:04:36Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"3416ebc5-0276-4884-a715-38672d8ede5d","deviceTypeName":"Z-Wave Switch Generic","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Coffee Machine
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding SwitchService to Coffee Machine
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"663efb21-be5a-48e1-bb80-2a8e48224ab3","name":"GE In-Wall Smart Dimmer","label":"Kitchen Counter Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Kitchen Counter Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-27T01:04:36Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Kitchen Counter Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Kitchen Counter Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Kitchen Counter Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"202bbb34-64e5-4739-a11b-07f2c7bafd42","name":"GE In-Wall Smart Dimmer","label":"Office Bathroom Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"c596c746-23e2-4eba-80f9-27675f8ead75","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Office Bathroom Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-27T01:09:14Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Bathroom Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Office Bathroom Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Office Bathroom Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"d7d929ca-c7a7-4f6a-aa25-ea53362f073b","name":"Dimmer Switch","label":"Living Room Floor Lamp","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Z-Wave_Dimmer_Switch_Generic","deviceManufacturerCode":"0063-4450-3030","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Living Room Floor Lamp","capabilities":[{"id":"switch","version":1},{"id":"polling","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Switch","categoryType":"manufacturer"},{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2022-10-27T04:17:08.650Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"ZWAVE_LEGACY_NON_SECURE"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Living Room Floor Lamp
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Living Room Floor Lamp
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Living Room Floor Lamp supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"7a629df4-4422-4ad9-9e87-d700fd52cefb","name":"Centralite Water Leak Sensor","label":"Water Leak Sensor","manufacturerName":"SmartThings","presentationId":"generic-leak","deviceManufacturerCode":"CentraLite","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"8ea4ef05-ca56-4dff-9ca1-f549ccb31e6a","deviceTypeId":"1b76003a-c010-4921-9e32-debea8be87c2","deviceTypeName":"SmartSense Moisture Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","label":"Water Leak Sensor","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"waterSensor","version":1},{"id":"configuration","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1}],"categories":[{"name":"LeakSensor","categoryType":"manufacturer"}]}],"createTime":"2022-02-11T23:21:19.967Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZIGBEE","deviceTypeId":"1b76003a-c010-4921-9e32-debea8be87c2","deviceTypeName":"SmartSense Moisture Sensor","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Water Leak Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LeakDetector Service to Water Leak Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding TemperatureService to Water Leak Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Water Leak Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"da979e9e-e603-4cb0-bd50-9a363e53d724","name":"GE In-Wall Smart Dimmer","label":"Office Main Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"c596c746-23e2-4eba-80f9-27675f8ead75","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Office Main Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-27T01:11:55Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Main Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Office Main Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Office Main Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"c73eb102-dbdc-45a4-b70b-3bcca9e2f3b1","name":"GE In-Wall Smart Dimmer","label":"Bedroom Closet Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"0660ae0c-d192-4da4-a9e8-6b64c857ca0f","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Bedroom Closet Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-24T03:18:21Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Closet Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Bedroom Closet Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Bedroom Closet Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"8e0482f9-daaf-469e-8f19-180b700f3237","name":"GE In-Wall Smart Dimmer","label":"Kitchen Table Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Kitchen Table Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-21T04:43:51Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Kitchen Table Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Kitchen Table Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Kitchen Table Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"17871e99-844c-47e1-b5b2-013e0bc4fb1b","name":"GE In-Wall Smart Dimmer","label":"Bedroom Bathroom Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"0660ae0c-d192-4da4-a9e8-6b64c857ca0f","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Bedroom Bathroom Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-24T03:19:37Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Bathroom Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Bedroom Bathroom Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Bedroom Bathroom Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"67824372-afb2-4b5f-bbf3-139f0d82bbd0","name":"Dimmer Switch","label":"Office Desk Light","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Z-Wave_Dimmer_Switch_Generic","deviceManufacturerCode":"0063-4450-3030","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"c596c746-23e2-4eba-80f9-27675f8ead75","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Office Desk Light","capabilities":[{"id":"switch","version":1},{"id":"polling","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Switch","categoryType":"manufacturer"}]}],"createTime":"2020-10-24T01:11:34Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"ZWAVE_LEGACY_NON_SECURE"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Desk Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Office Desk Light
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Office Desk Light supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"90b92f5e-0295-4e22-a53e-0c855f3d63d8","name":"Multipurpose Sensor","label":"Main Deck Sensor","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-SmartSense_Multi_Sensor","deviceManufacturerCode":"CentraLite","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","deviceNetworkType":"ZIGBEE","components":[{"id":"main","label":"Main Deck Sensor","capabilities":[{"id":"temperatureMeasurement","version":1},{"id":"battery","version":1},{"id":"contactSensor","version":1},{"id":"configuration","version":1},{"id":"threeAxis","version":1},{"id":"accelerationSensor","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"healthCheck","version":1}],"categories":[{"name":"MultiFunctionalSensor","categoryType":"manufacturer"}]}],"createTime":"2020-04-04T22:33:13Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZIGBEE","deviceTypeId":"52517166-43f9-4cbf-8bc2-7da4e8df5614","deviceTypeName":"SmartSense Multi Sensor","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Main Deck Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding TemperatureService to Main Deck Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding ContactService to Main Deck Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding BatteryService to Main Deck Sensor
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"31491cda-71e5-46ba-895c-4225d2768da0","name":"Radio Switch","label":"Radio Switch","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Simulated_Alexa_Switch","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"fca1f51d-0d37-4819-aff9-ef463bd56b96","deviceTypeName":"Simulated Alexa Switch","deviceNetworkType":"UNKNOWN","components":[{"id":"main","capabilities":[{"id":"switch","version":1},{"id":"contactSensor","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1}],"categories":[{"name":"ContactSensor","categoryType":"manufacturer"}]}],"createTime":"2020-06-06T02:09:15Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":false,"deviceNetworkType":"UNKNOWN","deviceTypeId":"fca1f51d-0d37-4819-aff9-ef463bd56b96","deviceTypeName":"Simulated Alexa Switch","executingLocally":false,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Radio Switch
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding ContactService to Radio Switch
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding SwitchService to Radio Switch
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"d3d8ddb3-6d61-4212-ac34-d65c138ddf2b","name":"GE In-Wall Smart Dimmer","label":"Entrance Stairs Lights","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Dimmer_Switch","deviceManufacturerCode":"0063-4944-3038","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"220d3dd9-8ef2-4f69-a822-c40664b6e041","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Entrance Stairs Lights","capabilities":[{"id":"switch","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"indicator","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Light","categoryType":"manufacturer"}]}],"createTime":"2018-08-24T08:03:50Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"8a9d4b1e3b9b1fe3013b9b206a7f000d","deviceTypeName":"Dimmer Switch","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Entrance Stairs Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Entrance Stairs Lights
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Entrance Stairs Lights supports switchLevel
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] DEVICE DATA: {"deviceId":"b54969e8-9024-4214-ac69-e91d12c0c301","name":"Z-Wave Dimmer","label":"Zen Lamp","manufacturerName":"SmartThings","presentationId":"SmartThings-smartthings-Z-Wave_Dimmer_Switch_Generic","deviceManufacturerCode":"0063-4450-3030","locationId":"c7729b09-ea84-403c-bd8a-84a24406ed6a","roomId":"4f409489-8afc-4b3b-9717-e3ca7c044b65","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","deviceNetworkType":"ZWAVE","components":[{"id":"main","label":"Zen Lamp","capabilities":[{"id":"switch","version":1},{"id":"polling","version":1},{"id":"switchLevel","version":1},{"id":"refresh","version":1},{"id":"sensor","version":1},{"id":"actuator","version":1},{"id":"healthCheck","version":1},{"id":"light","version":1}],"categories":[{"name":"Switch","categoryType":"manufacturer"}]}],"createTime":"2016-12-03T20:19:30Z","parentDeviceId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","dth":{"completedSetup":true,"deviceNetworkType":"ZWAVE","deviceTypeId":"9d7ad678-f7b8-4067-bfda-5f898736f662","deviceTypeName":"Z-Wave Dimmer Switch Generic","executingLocally":true,"hubId":"e4df3941-99c0-436b-af88-58ec3c6f59e9","networkSecurityLevel":"UNKNOWN"},"type":"DTH","restrictionTier":0,"allowed":[]}
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Zen Lamp
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Adding LightService to Zen Lamp
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Zen Lamp supports switchLevel
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "AxiosError: Request failed with status code 401".
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Child bridge process ended
[11/1/2022, 10:44:28 AM] [Smartthings Plug (IK)] Process Ended. Code: 1, Signal: null
[11/1/2022, 10:44:35 AM] [Smartthings Plug (IK)] Restarting Process...
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Launched child bridge with PID 60334
[11/1/2022, 10:44:36 AM] Registering platform 'homebridge-smartthings-ik.HomeBridgeSmartThings'
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loaded homebridge-smartthings-ik v1.4.10 child bridge successfully
[11/1/2022, 10:44:36 AM] Loaded 35 cached accessories from cachedAccessories.0E73E9114AAC.
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Finished initializing platform: Smartthings Plug (IK)
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Fireplace
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Light Virtual Switch
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Top Floor Lights
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Entrance Corridor Lights
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Front Door Camera
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: iPhone
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Fireplace
[11/1/2022, 10:44:36 AM] [Smartthings Plug (IK)] Loading accessory from cache: Washer
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Living Room Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Dryer
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Coffee Lamp
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Motion Sensor
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: TV Light
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Entrance Door Light
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Main Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Main Floor Motion Sensor
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Garage Door Sensor
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Deck Floodlight
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Kitchen Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Main Floor Stairs Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Front Door
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Coffee Machine
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Kitchen Counter Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Office Bathroom Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Living Room Floor Lamp
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Water Leak Sensor
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Office Main Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Closet Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Kitchen Table Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Bathroom Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Office Desk Light
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Main Deck Sensor
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Radio Switch
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Entrance Stairs Lights
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Loading accessory from cache: Zen Lamp
[11/1/2022, 10:44:37 AM] Publishing bridge accessory (name: Smartthings Plug (IK), publishInfo: {
  username: '**',
  port: 31218,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'avahi'
}).
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Executed didFinishLaunching callback
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Discovering devices...
[11/1/2022, 10:44:37 AM] Homebridge v1.5.1 (HAP v0.10.4) (Smartthings Plug (IK)) is running on port 31218.
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Error getting devices from Smartthings: AxiosError: Request failed with status code 401
[11/1/2022, 10:44:37 AM] [Smartthings Plug (IK)] Could not load devices from Smartthings: undefined.  Check your configuration

Plugin Config:

        {
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1/",
            "AccessToken": "****",
            "GarageDoorMaxPoll": 40,
            "PollLocksSeconds": 10,
            "PollDoorsSeconds": 10,
            "PollSensorsSeconds": 5,
            "PollSwitchesAndLightsSeconds": 10,
            "IgnoreDevices": [
                "Living Room Diffuser",
                "Entrance Diffuser",
                "Office Diffuser"
            ],
            "platform": "HomeBridgeSmartThings",
            "_bridge": {
                "username": "***",
                "port": 31218
            }

Screenshots:

Environment:

iklein99 commented 1 year ago

This error would indicate that Smartthings is rejecting the calls with "Unauthorized". Check your access token or create a new one.

This is the error I'm seeing: Error getting devices from Smartthings: AxiosError: Request failed with status code 401

401 is an unauthorized error.

PatrickDanino commented 1 year ago

Restarting homebridge appears to have fixed things. It's somewhat unexpected that the token would suddenly get rejected - maybe it's hitting a rate limit? I signed into my SmartThings account and didn't see any obvious issues.

amcappelli commented 1 year ago

I just had this issue as well - set everything up about a week ago and it was working fine, a few days in I noticed the lock and other devices weren't working anymore. Saw 401s in the logs, found this issue and restarted homebridge and it's back to working.