- Platform information:
- Hardware: RaspPi 3
- OS: what OS is used and which version
- Java Runtime Environment: which java platform is used and what version
- openHAB version: 2.2.0
- Issue of the topic: Plex Thing not being regonized
Okay so I’m relatively new to openHAB so maybe I’m missing something obvious. First of all, my Plex Server is not in my home, it is on a VPS I rent. However, the hostname seems to resolve on my RaspPi and openHab actually connects and gets play/pause messages. I set org.openhab.binding.Plex to debug:
2018-03-18 22:02:31.053 [DEBUG] [org.openhab.binding.plex ] - BundleEvent STARTING - org.openhab.binding.plex
2018-03-18 22:02:31.059 [DEBUG] [.binding.plex.internal.PlexActivator] - Plex binding has been started.
2018-03-18 22:02:31.132 [DEBUG] [org.openhab.binding.plex ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.plex.PlexBindingProvider}={component.name=org.openhab.binding.plex.genericbindingprovider, component.id=185, service.id=311, service.bundleid=207, service.scope=bundle} - org.openhab.binding.plex
2018-03-18 22:02:31.141 [DEBUG] [org.openhab.binding.plex ] - BundleEvent STARTED - org.openhab.binding.plex
2018-03-18 22:02:31.266 [DEBUG] [ab.binding.plex.internal.PlexBinding] - Plex config, server at 123.xyz:32400
2018-03-18 22:02:32.280 [DEBUG] [.binding.plex.internal.PlexConnector] - Server found, version 1.12.0.4829-6de959918, api level v2
2018-03-18 22:02:32.910 [DEBUG] [.binding.plex.internal.PlexConnector] - Connecting web socket to Plex
2018-03-18 22:02:32.923 [DEBUG] [org.openhab.binding.plex ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={component.name=org.openhab.binding.plex.binding, port=32400, token=UpkkEa7jE1dmneA4orEm, username=xxxx, refresh=5000, service.pid=org.openhab.plex, component.id=184, password=xxx, event.topics=openhab/command/*, host=xxx, service.id=317, service.bundleid=207, service.scope=bundle} - org.openhab.binding.plex
2018-03-18 22:02:34.096 [INFO ] [.binding.plex.internal.PlexConnector] - Plex websocket connected to xxx.plex.direct:32400
2018-03-18 22:02:49.128 [DEBUG] [.binding.plex.internal.PlexConnector] - [xxxx.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"59","guid":"local://3602","ratingKey":"3602","url":"","key":"/library/metadata/3602","viewOffset":46160,"playQueueItemID":890,"state":"paused"}]}}
2018-03-18 22:06:33.171 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":9000,"playQueueItemID":934,"state":"playing"}]}}
2018-03-18 22:06:40.276 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"59","guid":"local://3602","ratingKey":"3602","url":"","key":"/library/metadata/3602","viewOffset":46160,"playQueueItemID":890,"state":"paused"}]}}
2018-03-18 22:06:41.436 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":9000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:06:43.352 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:06:53.401 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:03.342 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:13.352 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:14.777 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"59","guid":"local://3602","ratingKey":"3602","url":"","key":"/library/metadata/3602","viewOffset":46160,"playQueueItemID":890,"state":"paused"}]}}
2018-03-18 22:07:23.379 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:33.332 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:43.402 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:53.352 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
2018-03-18 22:07:54.229 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"59","guid":"local://3602","ratingKey":"3602","url":"","key":"/library/metadata/3602","viewOffset":46160,"playQueueItemID":890,"state":"paused"}]}}
2018-03-18 22:08:03.524 [DEBUG] [.binding.plex.internal.PlexConnector] - [185-112-249-210.aa9aaf2aa4fe454faa65ada588ad8061.plex.direct]: Message received: {"NotificationContainer":{"type":"playing","size":1,"PlaySessionStateNotification":[{"sessionKey":"61","guid":"","ratingKey":"3573","url":"","key":"/library/metadata/3573","viewOffset":17000,"playQueueItemID":934,"state":"paused"}]}}
But when I go to things and Inbox -> Bindings and Select Plex Binding, it is just empty. When I go to search for new things, it only allows me to search for 3-4 type of things/bindings I have installed, Plex not being one of them. What gives?
Thanks!