There is an active discussion of how to bring ST into HomeKit once the Groovy cloud is gone in the following thread, but it’s over 300 messages down from the start of thread. I’m starting this new topic so the discussion is easier to find.
There are a couple of different possibilities detailed there. For example, one uses MQTT as an intermediary, another uses Home Assistant. A third is a regular Homebridge plugin and a fourth by the same author is a plug-in specifically for HOOBS.
(Since Samsung has said officially that ST hubs will NOT be “Matter bridges,” Matter isn’t going to help with this use case. So it’s back to Homebridge we go.)
All solutions, including those under discussion in the following thread, require a separate dedicated server and some technical skill. The following statement is typical of the discussion:
Homebridge is an OSS Node.js server that emulates the iOS HomeKit API.
So be prepared for a pretty technical conversation.
I’ve been using the groovy homebridge plugin for awhile now. Looking to transition to the new version:
however , i get a bunch of errors when I try to start up the plugin, and then it crashes out on me. maybe i have too many device types that aren’t supported, so i went through the effort of retreiving the names of everything, and adding many to the ignore list, including some that are already added to homekit directly or via another plugin. some devices that i’m pretty sure should work still dont and then it crashes out again.
here are some log excerpts since a screenshot would be far too tall. each line type would be repeated in blocks for most of the other things trying to be imported. this particular device is a SmartThings Zigbee plug. I assume that some of the issues may be that this plugin just can’t handle each of my current device types, but some of the devices that fail below use the same DTH or edge driver as some devices that dont fail. that’s got me stumped.
[12/1/2022, 2:17:22 PM] [SmartThings HB-IK99] Registering new accessory: Landscape lights
...
[12/1/2022, 2:17:33 PM] [SmartThings HB-IK99] Failed to request status from Landscape lights: Error: getaddrinfo EAI_AGAIN api.smartthings.com. This is failure number 1
...
[12/1/2022, 2:17:33 PM] [SmartThings HB-IK99] Failed to request status from Landscape lights: Error: getaddrinfo EAI_AGAIN api.smartthings.com. This is failure number 2
[12/1/2022, 2:17:33 PM] [SmartThings HB-IK99] Poll failure on Landscape lights
...
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Contact Sensor State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Carbon Monoxide Detected' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Occupancy Detected' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Smoke Detected' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Target State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/1/2022, 2:17:34 PM] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
...
Error: HAP Status Error: -70402
at new HapStatusError (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:17:5)
at /usr/lib/node_modules/homebridge-smartthings-ik/src/services/lockService.ts:56:20
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
...
[12/1/2022, 2:17:49 PM] [SmartThings HB-IK99] Loading accessory from cache: Landscape lights
...
[12/1/2022, 2:17:49 PM] Homebridge v1.6.0 (HAP v0.11.0) (SmartThings HB-IK99) is running on port 56313.
[12/1/2022, 2:17:49 PM] [SmartThings HB-IK99] Error getting devices from Smartthings: Error: getaddrinfo EAI_AGAIN api.smartthings.com
[12/1/2022, 2:17:49 PM] [SmartThings HB-IK99] Could not load devices from Smartthings: undefined. Check your configuration
edit: looks like i forgot to add the child bridge. i was getting confused because even without doing that the logs would show the plugin attempting to work and then failing. so I’ve now got that done.
i’ve got 123 devices and 91 of them are on my ignore list at the moment (50 that are added directly or other plugins). if this is working now, i’ll work on removing some of those and checking to see if there are any issues with those devices.
Smartthings Homebridge Plugin from iklein99
New in 1.5.0
Support for SmartThings webhook to support real-time update of device state changes. Support for webhooks is in closed beta at the moment, but will be made available soon.
[2/21/2023, 4:49:56 PM] [Smartthings Plug (IK)] Loaded homebridge-smartthings-ik v1.5.0 child bridge successfully
[2/21/2023, 4:49:56 PM] [Smartthings Plug (IK)] Error getting devices from Smartthings: AxiosError: Request failed with status code 401
[2/21/2023, 4:49:56 PM] [Smartthings Plug (IK)] Could not load devices from Smartthings: undefined. Check your configuration
Also these errors:
[2/21/2023, 5:20:49 PM] [Smartthings Plug (IK)] Could not load devices from Smartthings: Error: Cannot Bridge more than 149 Accessories. Check your configuration