amosyuen / ha-epson-projector-link

Home Assistant Epson Projector Link
Apache License 2.0
14 stars 6 forks source link

Lens Memory Recall? #34

Open ginksindy opened 1 year ago

ginksindy commented 1 year ago

This integration seems to be working great on my Epson Pro Cinema 4050 projector. I noticed in the readme a reference in the "Pros" section to exposing the Lens Memory function, however I'm not seeing any example of how this might be implemented. Is that something on the roadmap for the future? I was hoping to use HA to switch between a couple of lens memory settings (ultra-widescreen vs 16x9). My main use case for this is to notify me if the projector is left on with nobody in the theater, and this accomplishes that. The lens memory would just be a cherry on top. Thanks for the great work!

amosyuen commented 1 year ago

It's not documented very well, but there is a load_lens_memory service. See https://github.com/amosyuen/ha-epson-projector-link/blob/main/custom_components/epson_projector_link/services.yaml .

On Mon, Feb 6, 2023 at 9:37 AM ginksindy @.***> wrote:

This integration seems to be working great on my Epson Pro Cinema 4050 projector. I noticed in the readme a reference in the "Pros" section to exposing the Lens Memory function, however I'm not seeing any example of how this might be implemented. Is that something on the roadmap for the future? I was hoping to use HA to switch between a couple of lens memory settings (ultra-widescreen vs 16x9). My main use case for this is to notify me if the projector is left on with nobody in the theater, and this accomplishes that. The lens memory would just be a cherry on top. Thanks for the great work!

— Reply to this email directly, view it on GitHub https://github.com/amosyuen/ha-epson-projector-link/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADHHCRZPXMSJ3PVYCU3ODTWWEZF5ANCNFSM6AAAAAAUS63UYE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Amos Yuen

ginksindy commented 1 year ago

Great, I didn’t think to look there, thanks for that!On Feb 6, 2023, at 1:52 PM, Amos Yuen @.***> wrote: It's not documented very well, but there is a load_lens_memory service. See https://github.com/amosyuen/ha-epson-projector-link/blob/main/custom_components/epson_projector_link/services.yaml .

On Mon, Feb 6, 2023 at 9:37 AM ginksindy @.***> wrote:

This integration seems to be working great on my Epson Pro Cinema 4050 projector. I noticed in the readme a reference in the "Pros" section to exposing the Lens Memory function, however I'm not seeing any example of how this might be implemented. Is that something on the roadmap for the future? I was hoping to use HA to switch between a couple of lens memory settings (ultra-widescreen vs 16x9). My main use case for this is to notify me if the projector is left on with nobody in the theater, and this accomplishes that. The lens memory would just be a cherry on top. Thanks for the great work!

— Reply to this email directly, view it on GitHub https://github.com/amosyuen/ha-epson-projector-link/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADHHCRZPXMSJ3PVYCU3ODTWWEZF5ANCNFSM6AAAAAAUS63UYE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Amos Yuen

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

molusk commented 1 year ago

@ginksindy were you able to call load_lens_memory service ? I was not able to do so through dev tool panel, it says the service does not exist...

ginksindy commented 1 year ago

Sorry, I haven't tested it. I see the service in the drop down in dev tools, and just hadn't gotten around to creating an automation to test it. I'll try to do that tonight. But the status reporting is good, I get notifications when the projector goes on and off, and a warning if the projector is on but the theater is not occupied. This is what was most important to me, but I do want to tinker with the lens memory. I have two memories, one for normal viewing and another for ultra-wide screen movies. I'll let you know what I find out.

Thanks! Gerry

On Thu, Feb 23, 2023 at 10:27 AM molusk @.***> wrote:

@ginksindy https://github.com/ginksindy were you able to call load_lens_memory service ? I was not able to do so through dev tool panel, it says the service does not exist...

— Reply to this email directly, view it on GitHub https://github.com/amosyuen/ha-epson-projector-link/issues/34#issuecomment-1441977720, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SXSUFWFA45BIA57KFPNF3WY56VBANCNFSM6AAAAAAUS63UYE . You are receiving this because you were mentioned.Message ID: @.***>

ginksindy commented 1 year ago

Well, in a weird coincidence, my wife accidentally turned on the projector using AirPlay on her phone, so I took the opportunity to test the lens memory service. It works! I can recall my two presets in the dev tool, so I'll set up an automation that'll let me tell Siri to recall the widescreen or normal preset. Nice work!

Gerry

On Thu, Feb 23, 2023 at 10:27 AM molusk @.***> wrote:

@ginksindy https://github.com/ginksindy were you able to call load_lens_memory service ? I was not able to do so through dev tool panel, it says the service does not exist...

— Reply to this email directly, view it on GitHub https://github.com/amosyuen/ha-epson-projector-link/issues/34#issuecomment-1441977720, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4SXSUFWFA45BIA57KFPNF3WY56VBANCNFSM6AAAAAAUS63UYE . You are receiving this because you were mentioned.Message ID: @.***>

molusk commented 1 year ago

Ok thank's for your feedback. So the weird thing with my setup is the lack of lens and picture memory service in the drop down list... I also use 2 lens memories : 2.35:1 and 16:9, and 2 picture memories for SDR and HDR.

molusk commented 1 year ago

Maybe it is related to projector model, mine is a LS12000b.

amosyuen commented 1 year ago

Lens and picture memory are not properties that can be polled. The services should always be added regardless if projector is supported, so that seems weird that the services aren't showing up. Do the other epson_projector_link services show up?

molusk commented 1 year ago

Ok, my bad, I did not check in the service tab before... Thank’s a lot !

I will test this feature soon 😃 If it works I will look for a way to get information about the input signal type (SDR or HDR) to switch picture memory accordingly.