amosyuen/ha-epson-projector-link

Add a few more input sources?

Opened this issue · 4 comments

Is your feature request related to a problem? Please describe.
I can not change source input to Wireless HD on my Epson EH-TW9400W.

Describe the solution you'd like
Currently my Epson EH-TW9400W (last W = wireless HD transmitter, it is most likely available on other Epson projectors like the 9300W) does only seem to support sources: "source_list: HDMI1, LAN, HDMI2" - that is not entirely correct though since I have a few more thanks to the Wireless adapter, and maybe the projector model in it self. I would expect something like "HDMI1, HDMI2, PC, LAN, Wireless HD" (those are the choices I have on my remote control). The last one, Wireless HD, is the one for me most important one.

Describe alternatives you've considered
Yea I can only solve this by using the remote control - it works of course. Happily though I do not change source that often.

Additional context
This is a much better plugin for Epson projector control than the old one - soooo much easier to use! Great work.

Note: the Epson Eh-TW9400W is a wireless HD version of EH-TW9400, and they both share the same platform as TW7300/8300/9300/9300W/7400/8400/9400/9400W. So the number of potential projector users would be greater, so I think you should include at least 9400 and 9400W in the tested device list on the Readme page. Just my humble opinion!

I'm not that good with Github (yet), but I think this is what has to be expanded so to speak:

SOURCE_CODE_MAP = {
"10": "PC",
"20": "PC",
"30": "HDMI1",
"40": "VIDEO",
"52": "USB",
"53": "LAN",
"56": "WiFi Direct",
"A0": "HDMI2",
"D0": "WirelessHD",
}

And, according the Epson documentation, the source list on return (source?) is this:
20 PC
30 HDMI1
53 LAN
A0 HDMI2
D0 WirelessHD

Which is what I have adapted to the above part of the code :-)

I have added the above part direct into /homeassistant/custom_components/epson_projector_link/projector/const.py

SOURCE_CODE_MAP = {
"20": "PC",
"30": "HDMI1",
"40": "VIDEO",
"52": "USB",
"53": "LAN",
"56": "WiFi Direct",
"A0": "HDMI2",
"D0": "WirelessHD",
}

This works perfectly, until the update of this add on comes alive :-)

Is this project even maintained now days, since no update of this file has been pushed out?

Hi, sorry for delay, could you point a link to the documentation for where you got those values from?