Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update device.py #61

Open
wants to merge 226 commits into
base: master
Choose a base branch
from
Open

Update device.py #61

wants to merge 226 commits into from

Conversation

gohlas
Copy link

@gohlas gohlas commented Oct 12, 2020

Added HDMI change support for some models. Work is not 100% but as I mentioned before, it works.

@alexmohr
Copy link
Owner

The methods are essentially the same. They only differ by one char in the the url.
Merging them would be better.
I guess the 6 or 7 refer to the input id.
We might be able to find them via a soap request.
The timeout should be a default parameter, so it can be changed if necessary.

@alexmohr
Copy link
Owner

The service id you are using is referenced in dmr.xml and more information can be retrieved via AVTransportSCPD.xml or AVTransportBdpSCPD.xml depending on the API version.
Please let me know if you are not going to implement this the "right way" your PR is already a great contribution but does not meet the standards of this project (yet).

@alexmohr alexmohr assigned alexmohr and unassigned alexmohr Oct 12, 2020
@alexmohr alexmohr added the enhancement New feature or request label Oct 12, 2020
@alexmohr alexmohr linked an issue Oct 12, 2020 that may be closed by this pull request
@gohlas
Copy link
Author

gohlas commented Oct 13, 2020

Sorry @alexmohr,
That is a bit out of my knowledge as I am not a programmer I don't have really much spare time to learn and work on this right now. That would be nice if you could take over or I can try in the future :)

@alexmohr alexmohr self-assigned this Nov 7, 2020
@alexmohr
Copy link
Owner

@gohlas Could you install the android app packet capture, start a trace and open the TV and side view app. After that scroll down to the list of inputs and stop the trace.
At least with a v4 device I was able to find out how the sources are enumerated this way.

Thanks in advance

@gohlas
Copy link
Author

gohlas commented Nov 23, 2020

@alexmohr
I just had a look on it, but couldn't see anything special that I already saw with wireshark.

Do you have some tips what should I look for?

@alexmohr
Copy link
Owner

No not really with a v4 device the query of sources was pretty obvious because the response is a JSON containing all sources.
If you don't mind it would help me of you could trace the whole registration process and one source switch and attach the trace here.
Reading the trace might gives me an idea how this works. If you still have the wireshark traces I'd actually prefer them.
Whatever is easier for you.

@gohlas
Copy link
Author

gohlas commented Nov 23, 2020

I still have the wireshark log.
But I would rather PM you the files.
How can I send you?

@alexmohr
Copy link
Owner

Send it via mail to [email protected]

@EnriqueWood
Copy link

Would this help to be able to select sources in homeassistant?

@alexmohr
Copy link
Owner

alexmohr commented Nov 5, 2022

Would this help to be able to select sources in homeassistant?

Only for a few devices and only for hmdi 1 and 2. Proper support probably won't be added ever

@EnriqueWood
Copy link

I was trying to sniff the Video Sideview app using packet capture to see what is going on in the network but when I turn on the capture it won't list the inputs available. Can you please give me some guidance on how to get them listed? I would like to help to get this available in homeassistant

VID-20221105-WA0002.1.mp4

@alexmohr
Copy link
Owner

alexmohr commented Nov 5, 2022

Depending on the device they might also be hard coded.There does not seems to be a generic way to select sources for different devices, thus it's out of scope for this project as I can't provide support for all devices.

@alexmohr alexmohr force-pushed the master branch 2 times, most recently from 7fa06b2 to 9bc07bb Compare June 3, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support source select
6 participants