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

Alternative discovery protocol #113

Open
mroch opened this issue Apr 10, 2019 · 2 comments
Open

Alternative discovery protocol #113

mroch opened this issue Apr 10, 2019 · 2 comments

Comments

@mroch
Copy link

mroch commented Apr 10, 2019

Every 2 seconds, my Frame TV (LS03, 2018) is sending out a broadcast that looks like this:

{"data":{"v1":{"uri":"http://192.168.1.40:8001/ms/1.0/"},"v2":{"uri":"http://192.168.1.40:8001/api/v2/"}},"remote":"1.0","sid":"uuid:0f459c5c-c976-4275-ab67-d6bbe34ebf42","ttl":8000,"type":"alive"}

UDP, 224.0.0.7 port 8001

googling "samsung 224.0.0.7" led me to this: https://github.com/MultiScreenSDK/sample-soundscape-ios/blob/master/SoundScape/MSF/common/MSFDiscoveryProvider.swift

not sure it's very useful -- use ssdp instead -- but wanted to document it. maybe should use the wiki instead?

@kdschlosser
Copy link
Owner

it is useful. I am not sure that all TV's support it. I do not believe the legacy TV's support the MultiScreen protocol. But those are far and few between.

I think I am going to go back to the old mechanism of testing to see if the TV is on or and and that is to just keep on looping trying to make a connection. I think the UPNP is kind of flaky in that respect.

The thing is I will not be able to support dynamic addressing if I go that route. which kind of sucks. But it may be the only way to go about detecting the power reliably. I guess I can do that for the legacy TV's and use this broadcast message on the newer TV's that code is copyrighted as of 2014 so we know it will work for 2014 - 2018

@alamo888PL
Copy link

My Home assistant Samsung component discover the UE48H6400 on port 8001 but only show when state goes to on. When I turn off TV state remains on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants