Closed brent7320 closed 3 years ago
Could you please share your config as well? Also, could you please share which version of the plugin are you using? Plugin initialization log could help as well.
Here is the config.json
{
"name": "Plex Webhooks Platform",
"sensors": [
{
"name": "Plex - Living Room Movies",
"filters": [
null,
[
{
"path": "Player.title",
"value": "Living Room"
},
{
"path": "Metadata.librarySectionType",
"value": "movie"
}
]
]
},
{
"name": "Plex - Playroom Movies",
"filters": [
null,
[
{
"path": "Player.title",
"value": "Upstairs Playroom"
},
{
"path": "Metadata.librarySectionType",
"value": "movies"
}
]
]
}
],
"verbose": false,
"platform": "PlexWebhooks"
}
],
Here are the platform initialization logs
[24/12/2020, 08:40:36] [Plex Webhooks Platform] Found 2 accessories in config:
[24/12/2020, 08:40:36] [Plex Webhooks Platform] • Plex - Living Room Movies
[24/12/2020, 08:40:36] [Plex Webhooks Platform] • Plex - Playroom Movies
[24/12/2020, 08:40:36] [Plex Webhooks Platform] Registering accessory [Plex - Playroom Movies] (c9fea026-c88a-48ae-ac02-1827dc747885)
[24/12/2020, 08:40:36] [Plex Webhooks Platform] Server is listening at http://x.x.x.x:32401
Plug-in version is 2.0.4.
As I can see the plugin re-registering one of your sensor. Have you tried to restart homebridge server? After a restart did you notice the same activity?:
Registering accessory [Plex - Playroom Movies] (c9fea026-c88a-48ae-ac02-1827dc747885)
To force sensor registering, you can change something in sensor config, then you can restart the homebridge server and look for the initialization log.
Please report back after you've tried the above.
Also, please note that in your second sensor's (Plex - Playroom Movies) config the Metadata.librarySectionType
should be movie
(singular) instead of movies
(plural).
@brent7320 please update to v2.1.0
and check your config once again. Remove unnecessary empty filtering options if any through Homebridge UI settings panel or remove null
entries from filters array manually from config. Then restart homebridge server and please report back to me. Thanks!
I installed v2.1.0 and was able to configure two sensors without any issues and they both work. Thanks for the help and this great plugin!
Glad to here it solved the issue! Thank you for reporting! :)
I am running a clean install of the new plugin in homebridge and noticed if i add more than 1 occupancy sensor, i get the below error message with any webhook that is sent to Homebridge.
Only having one sensor seems to work fine though, it only does this when a second is added.