Smartthings Binding EOL?

Sorry for the layout, but I can’t set the link and error log properly on my iPad.

Correct, I’ve used the link from this discussion

And from the console I get the following version:
37 x Active x 80 x 2.11.0

This the error log if it can help:

2025-12-17 21:06:38.411 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/C:/openHAB/addons/org.openhab.binding.smartthings-5.0.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.smartthings [355]
Unresolved requirement: Import-Package: com.google.gson.internal; version=“[2.10.0,3.0.0)”

at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.7.4]

I was able to reproduce it on my side.
The compiled version in the link is quite old.
Can you try with the new today compiled version bellow.
It seems to fix the dependency on my side.

Laurent.

New version for 5.0.x users, compiled on 12/19/2025.

org.openhab.binding.smartthings-5.0.1.jar.txt (479.0 KB)

This worked. Thank you.
I’ve followed all steps you’ve described in the smartthingsNG description.
In the step to scan for new things I don’t get any device like our washing machine nor our Dryer.

If I take a look at the logs I do notice that the channels aren’t found for the dryer and the washing machine.
Is this because it isn’t defined in the binding?
Can I help you with something to assist?

error log smartthings.txt (107.7 KB)

No, the binding create automatically and dynamically in the binding so we can support all type of device.
I will take a look to your log, and come back to you.

1 Like

The troubles more come from this:
2025-12-19 18:56:04.871 [INFO ] [nal.type.SmartthingsTypeRegistryImpl] - wrong: java.lang.IllegalArgumentException: ID segment ‘dryer_hca.main_hca_dryerMode’ contains invalid characters. Each segment of the ID must match the pattern [\w-]*.

The binding seems unable for convert your device name to a valid openhab uid because of illegal character in the original device name. I thing it’s because of the “.” in middle of device name. The binding have to handle this correctly, I will fix it, and come back to you with a new version.

You have also a lot of exception in your log during the read of capabilities, I will need also to take a look to understand why.

Thank you. The device name are given by the app itself, so I didn’t add a specific name to the dryer and the washing machine. Maybe I did something wrong during the setup of the myopenhab or at the api Smartthings page

The current log you given me is not sufficient to fix the issue.
Can you please enable trace level log for smartthings, and send me the new resulting full logs.

Thanks,
Laurent

New version with more trace in the logs.

org.openhab.binding.smartthings-5.1.0-SNAPSHOT.jar.txt (469.1 KB)

Hello @Vannue,

Il you possibly also can use the new version bellow before capture the new logs.
I’ve add more trace information into the code to see exactly what happens.

Laurent.

Thanks already. Herby the detailed log as requested but for the previous jar of Yesterday
error log smartthings.txt (311.2 KB)

When I install version 5.1.0

I got the following error messages

2025-12-20 09:33:43.999 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/C:/openHAB/addons/org.openhab.binding.smartthings-5.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.smartthings [357]
Unresolved requirement: Import-Package: com.google.errorprone.annotations; version=“[2.38.0,3.0.0)”

at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.7.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.7.4]

Ok, thanks.
I think it will be sufficient with this new logs.
I fix it on my side, and come back to you so we can test it.

Laurent.

deleted

Ok, I was able to reproduce on my side, and already fix 1 of the 2 issue.
I will come back in ~1 hour with a new version of the jar for testing.

@Mogfrog : can you edit your post, and attach the log, instead of putting it in the conversation.
It will be better for discussion readability.

org.openhab.binding.smartthings-5.1.0-SNAPSHOT.jar.txt (469.2 KB)

This new version fix 2 issues preventing correct discovering of things:

  • Fix a bad dto preventing correct decoding of some sansungGce capability

  • Sanetize component.id to prevent invalid UID

@Vannue, @Mogfrog,

can someone of you with a 5.1 installation can test the last binding.
It should fix your issues during discovery.
If it’s ok, I will compile later a 5.0 version.

Laurent.

first problem solved on OH5.1. Thing dryer is found but no update of items states. I uploaded my old thing file which worked in the past with no floating authorizaton. Maybe this can help

openhab.log (1.5 KB)

events.log (922 Bytes)

Samsung Dryer.txt (3.7 KB)

Ok, I take a look to the new log.
Great to hear that we solve one problem.
About the channel update, can you please precise:

No channel update at all on any of your things ?
A mix of some chanel update, and some other not update on a specific thing ?
Is this specific to your dryer thing ?

Thanks

Also, don’t expect the new binding to be compatible with your old .items definition file.
For test purpose, can you just create new items directly from UI, and see if it works.
I don’t check in details, but not sure that your current items map correctly to the things channels.

The first is to check in your thing definitions if channels are correctly link to items