Spaceboy 2493 Posted May 23, 2020 Share 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... Link to comment Share on other sites More sharing options...
Bambu Utila 7 Posted May 23, 2020 Share 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 Link to comment Share on other sites More sharing options...
MRobi 159 Posted June 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
WilhelmStroker 96 Posted June 3, 2020 Share 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 Link to comment Share on other sites More sharing options...
Przemek 54 Posted October 22, 2021 Share 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 Link to comment Share on other sites More sharing options...
seanbuff 840 Posted October 22, 2021 Share 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. Link to comment Share on other sites More sharing options...
seanbuff 840 Posted October 22, 2021 Share 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. Link to comment Share on other sites More sharing options...
Przemek 54 Posted October 22, 2021 Share 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. Link to comment Share on other sites More sharing options...
seanbuff 840 Posted October 22, 2021 Share 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 Link to comment Share on other sites More sharing options...
Przemek 54 Posted October 22, 2021 Share 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. Link to comment Share on other sites More sharing options...
seanbuff 840 Posted October 22, 2021 Share 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. Link to comment Share on other sites More sharing options...
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