Jump to content

Recommended Posts

Spaceboy
Posted

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
Posted

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

  • Like 1
  • 2 weeks later...
Posted

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.

 

5ed6c8c76597c_Capture.png

  • Like 2
  • 1 year later...
Posted

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
Posted
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
Posted

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

image.png.fbc986d54f1c9248e54c246fb0812a9f.png

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.

Posted

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.

Posted

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
Posted

Your API key might be correct, but did you get a valid Emby user_id that has the correct access to view latest media.

image.png.245f07a46335def49dd025a1111fd29b.png

  • 2 years later...
Posted

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.

Posted
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?

image.thumb.png.db18e38974047c95a32d3ca607a1ff8b.png

seanbuff
Posted
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.

 

  • Like 1
Posted

@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
Posted
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.

  • 1 year later...
Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...