Thanks.
What does the binding expect for User ID (userId)? I’ve tried the main jellyfin user (jellyfin, for me), and the name of the service for which I’ve created an API key (openhab), but both times I get the following error:
12:29:19.813 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.jellyfin.internal.handler.JellyfinServerHandler@23b4cf2e': Invalid UUID string: jellyfin
java.lang.IllegalArgumentException: Invalid UUID string: jellyfin
at java.util.UUID.fromString(UUID.java:215) ~[?:?]
at org.openhab.binding.jellyfin.internal.handler.JellyfinServerHandler.initialize(JellyfinServerHandler.java:96) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
12:29:19.816 [ERROR] [.core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'jellyfin:server:2d8a890a76': Invalid UUID string: jellyfin
java.lang.IllegalArgumentException: Invalid UUID string: jellyfin
at java.util.UUID.fromString(UUID.java:215) ~[?:?]
at org.openhab.binding.jellyfin.internal.handler.JellyfinServerHandler.initialize(JellyfinServerHandler.java:96) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Here’s my configuration:
UID: jellyfin:server:2d8a890a76
label: Jellyfin Server
thingTypeUID: jellyfin:server
configuration:
clientActiveWithInSeconds: 0
hostname: 192.168.1.177
port: 8096
refreshSeconds: 30
userId: jellyfin
ssl: false
token: <redacted>
Other thank creating a new API token, anything else that needs to happen on the Jellyfin server itself?
EDIT: Scratch that, I left the userId blank and then saved, which gave me the following message:
I followed the instructions and now we’re online!