Spaceboy 2573 Posted May 23, 2020 Posted May 23, 2020 So from what I understand we need to now what events emby produces in order to kick of automations like dim my lights. How do we find those? I really am still just getting started with HA. Have most of my smart devices set up although not all of those are looking as expected. Some configurable bulbs are appearing as simple switches for example. Still working on it...
Bambu Utila 9 Posted May 23, 2020 Posted May 23, 2020 So from what I understand we need to now what events emby produces in order to kick of automations like dim my lights. How do we find those? I really am still just getting started with HA. Have most of my smart devices set up although not all of those are looking as expected. Some configurable bulbs are appearing as simple switches for example. Still working on it... Have a little look a bit higher up in this thread. I'm pretty new at HA too and I installed Node-Red like suggested and started playing around with it. It's a much easier way of making automations. Right now i have mine setup the way i like, i started with what MRobi gave us above and then adjusted it. If you want i can give you my version too so you can compare and use whatever you like from both 1
MRobi 161 Posted June 2, 2020 Posted June 2, 2020 So from what I understand we need to now what events emby produces in order to kick of automations like dim my lights. How do we find those? I really am still just getting started with HA. Have most of my smart devices set up although not all of those are looking as expected. Some configurable bulbs are appearing as simple switches for example. Still working on it... Sorry, I didn't see this earlier. Here are the emby play states in HA. Actually this should be standard play states for most media devices in HA. I also highly recommend node-red. It's so much easier to learn, and I'll go out on a limb and say it's more powerful than coding in YAML. Since it's multi-platform, there are hundreds or thousands of nodes that can be imported to your pallet to really expand it's capabilities. 2
WilhelmStroker 102 Posted June 3, 2020 Posted June 3, 2020 (edited) I still need to dive into Node Red but my setup is working fine at the moment... I'm using a variation of https://www.home-assistant.io/cookbook/dim_lights_when_playing_media/ to dim my lights. Edited June 4, 2020 by WilhelmStroker 1
Przemek 70 Posted October 22, 2021 Posted October 22, 2021 Hello, I try to install that Emby Latest Media addon on my Home Assistant. I install upcoming media card and emby lates media from HACS repository. I add to configuration.yaml: sensor: - platform: emby_upcoming_media api_key: xxxxxxxxxxxxxxxxxxxxxxx user_id: xxxxxxxxxxxxxxxxxxxxxxx host: 192.168.0.19 port: 8096 ssl: False max: 5 use_backdrop: true group_libraries: false include: - Movies - TV Shows I add to ui.lovelace.yaml: - type: custom:upcoming-media-card entity: sensor.sensor.emby_latest_movies title: Latest Movies and - type: custom:upcoming-media-card entity: sensor.emby_latest_movies title: Latest Movies I clear browser cashe and restart HA many times but don't see any card. I can get any help in HA support so I write here. Meybe someone will know how to enable this card. Regards, Przemek
seanbuff 1313 Posted October 22, 2021 Posted October 22, 2021 55 minutes ago, Przemek said: Hello, I try to install that Emby Latest Media addon on my Home Assistant. I install upcoming media card and emby lates media from HACS repository. It's been a while since I've used that addon, let me try adding it and I will report back.
seanbuff 1313 Posted October 22, 2021 Posted October 22, 2021 Okay I have tested this out and it appears to be working just fine. One thing I suggest is to test the first step, i.e. is your sensor working correctly? The easiest way to do that is is to use the Developer Tools within HA to show you the sensors current status. Type in "latest" in the entity filter, it should show you both Emby sensors The sensor should show as "Online" and give you the raw data pulled from Emby. If you are not seeing this sensor information, then we can troubleshoot why your sensor config is not working. Let me know how you go, we can sort out the Lovelace config once the above has been sorted out.
Przemek 70 Posted October 22, 2021 Posted October 22, 2021 Thanks, but my problem is I don't see that sensor at all. I have that problem with some other installations from HACS. Can You tell me what to do step by step and what are Your configs from configuration.yaml and lovelace.yaml? Regards.
seanbuff 1313 Posted October 22, 2021 Posted October 22, 2021 Okay, so your sensor config looks good (i used your config as-is), I just replaced with my api_key and user_id -- did you get this information correctly from Emby? Be sure you use the instructions from here to grab that data: https://github.com/gcorgnet/sensor.emby_upcoming_media#getting-information-for-the-plugin
Przemek 70 Posted October 22, 2021 Posted October 22, 2021 Yes, I put wright credentials. I have Emby integration in HA that works and shows me users from my Emby server: media_player: - platform: emby host: 192.168.0.19 api_key: xxxxxxxxxxxxxxxxxxxxx port: 8096 I make another API key in Emby to add to upcoming media card config.
seanbuff 1313 Posted October 22, 2021 Posted October 22, 2021 Your API key might be correct, but did you get a valid Emby user_id that has the correct access to view latest media.
Sammy 790 Posted October 18, 2024 Posted October 18, 2024 Old thread. New post. I have recently migrated from Vera to HomeAssistant. I know @chefmade the Vera Plugin and from reading through here it looks like some preliminary work was done for HA. I don't find anything for Emby in HA Add-ons which is disheartening when seeing a Plex add-on in there. Any updates? I'm willing to test things.
Sammy 790 Posted October 19, 2024 Posted October 19, 2024 20 hours ago, Sammy said: Old thread. New post. I have recently migrated from Vera to HomeAssistant. I know @chefmade the Vera Plugin and from reading through here it looks like some preliminary work was done for HA. I don't find anything for Emby in HA Add-ons which is disheartening when seeing a Plex add-on in there. Any updates? I'm willing to test things. Okay, I managed to add the integration but it has no entities. I'd like to have it set up to dim or turn off the lights when starting a movie. Anyone doing this?
seanbuff 1313 Posted October 19, 2024 Posted October 19, 2024 4 hours ago, Sammy said: Anyone doing this? The easiest way to do this is with Webhooks. I wrote a tutorial for it here: and here to setup the webhook automation: You just need to make the HA Action toggle a light instead of a notification. Hope it helps. 1
Sammy 790 Posted October 23, 2024 Posted October 23, 2024 @seanbuffThanks! I've been away for a bit. I'll check it out and report back. I thought of using Webhooks but couldn't find information on how to do it. Goal is "Start Movie ==> Dim Lights".
seanbuff 1313 Posted October 23, 2024 Posted October 23, 2024 8 hours ago, Sammy said: Goal is "Start Movie ==> Dim Lights". Yep, easy. Have a read through and let me know if you get stuck on anything.
skank 85 Posted December 6, 2025 Posted December 6, 2025 On 5/21/2020 at 1:11 AM, Bambu Utila said: Have you figured this out? For me it just works. I have HA running in a VM. Emby just native on my windows pc When i restart Emby, It just gets picked up again by HA. Hi No... I still restart HA every time. but it annoys me cause other things are unavailable then if i restart HA
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now