Homebridge after groovy

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.

[RELEASE] Homebridge SmartThings v2.0 - #326 by JDRoberts

3 Likes

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.

anyone else using this successfully?

1 Like

I’m still using it myself, it’s still getting a lot of additional features and fixes.

Definitely the one to use.

1 Like

please post a screenshot of the errors please

what rights did you give to the PAT?

1 Like

PAT has rights for all 4 options for Devices

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

what baseURL are you using in the config?

https://api.smartthings.com/v1/

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.

1 Like

Hi I got these with the the plugin:

[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

Please help!

Hi,

I have lots of devices in ST like 245 devices but I only want to bring over to homebridge a few like 20 or so. How do I pick only the devices I want?

Thanks!

In settings for the plugin, there is a section (Devices to Ignore) you can enter the name of devices to not import to Homekit. a tedious process

1 Like

Thanks!

Is there a limit to how many devices in ST to pull over? I have 245 devices in ST, it only pull imported less than 200 to homekit for some reason.

Read the link I posted to… it appears to be 149

1 Like

Hi,

Can you increase the limit?

Thanks!

doubtful you would be able to. Your best bet is to contact the developer directly on github

There are alternatives mentioned in the frist post of this thread you can consider:

1 Like

I have been using this plugin since SmartThings groovy transition. It works well. But recently I found the devices in HomeKit not updating status and not responding until I reboot the plugin in homebridge. And the situation will comes back soon. Anyone has the same problem or has a fix for it?

At this point…

Do I use Device Name, Device ID or Device Label?

As you can see there are duplicates on Device Name.
Thanks

I used Device Label and seems to work, not sure how it is handling duplicates in the Label though, as I have two with the same label.