I tested SSDP client https://github.com/diversario/node-ssdp
But i didn't received any response from hyperion server.
Does anybody have this issue ?
I tested SSDP client https://github.com/diversario/node-ssdp
But i didn't received any response from hyperion server.
Does anybody have this issue ?
@mathman If you are on Linux you can do
sudo tcpdump -vv -A -s 0 'port 1900 and host 239.255.255.250 and udp'
to test, if there are hyperion ssdp services shared.
e.g. you should find packages like the following
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=1800
LOCATION: http://192.168.2.199:8090/description.xml
NT: upnp:rootdevice
NTS: ssdp:alive
SERVER: Ubuntu 20.04.1 LTS/20.04 UPnP/1.0 Hyperion/2.0.0-alpha.9
USN: uuid:0dd3ad96-ee41-593f-8451-6db14fbf484b
HYPERION-FBS-PORT: 19400
HYPERION-JSS-PORT: 19444
HYPERION-NAME: My Hyperion Config
Alternatively, you can use for a quick check:
https://github.com/fboender/pyupnpclient
Output is like the following, Hyperion running on 1. is Ubuntu, 2. LibreElec, 3. Windows
Hyperion (192.168.2.199) @ http://192.168.2.199:8090/description.xml
Hyperion (192.168.2.150) @ http://192.168.2.150:8090/description.xml
Hyperion (192.168.2.110) @ http://192.168.2.110:8090/description.xml
Hyperion announces on
// announce targets
_deviceList.push_back("upnp:rootdevice");
_deviceList.push_back("uuid:"+_uuid);
_deviceList.push_back(SSDP_HYPERION_ST); with SSDP_HYPERION_ST("urn:hyperion-project.org:device:basic:1");
Hope that helps.
Hello,
Sorry for re-opening this thread, but I tried to use node-ssdp and my hyperion instance does not advertise.
It works with mdns as described in documentation :
avahi-browse -r _hyperiond-json._tcp
+ wlp0s20f3 IPv4 salon _hyperiond-json._tcp local
= wlp0s20f3 IPv4 salon _hyperiond-json._tcp local
hostname = [salon-2.local]
address = [192.168.1.241]
port = [19444]
txt = ["version=2.0.13" "id=e335e146-3715-5783-a5b2-b6adad68e181"]
But even with the Lord-Grey command :
I have no answer.
I did not found any settings on webUi regarding ssdp.
My hyperion run on LibreELEC (official): 9.2.8 (RPi4.arm), it may be the problem ?
Why do you not use mDNS? It works better anyway and provides you more details per mDNS service…
I needed to install avahi utils packages so it seems to be less easy to use
As you stated you were using node-ssdp, I was under the assumption that you were doing some node development.
https://github.com/soef/mdns-discovery does not need avahi utils package, if I am not mistaken.
In addition, bear in mind that ssdp not always works, if the router does nto support it or you use PowerLAN.
Maybe you outline what problem you would like to solve and then we take it from there...
Your assumption is right
I did installed mdns for nodejs
And i needed to install libavahi-compat-libdnssd-dev
And when starting my node app, I got error telling that my app is using bonjour service so I had to change global parameters. But what I'm trying to dev is just a kind of a plugin for an application where I just try ti be a contributer so I don't want to ask the owner to change things on his side just for a little plugin which try to discover hyperion service on the network :p
Maybe I should look for another nodejs module or I'm doing something wrong.
Regarding SSDP, thanks for your explanations, in fact I see Sonos devices, Kodi devices, even my ISP provider box, but no Hyperion
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!