jsiegenthaler / homebridge-eosstb

A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
https://github.com/jsiegenthaler/homebridge-eosstb
32 stars 4 forks source link

error Service name is already in use on the network #93

Closed EdgarRotterdam closed 1 year ago

EdgarRotterdam commented 1 year ago

Describe Your Problem: When I install and configure the plugin I get an error immediately. I also try to run the plugin in a newly created homebridge docker instance, also with the new instance i got the same error.

Logs:

/homebridge/node_modules/homebridge/node_modules/bonjour-hap/lib/Registry.js:108
    service.emit('error', new Error('Service name is already in use on the network'))
                          ^
Error: Service name is already in use on the network
    at Registry._onProbeComplete (/homebridge/node_modules/homebridge/node_modules/bonjour-hap/lib/Registry.js:108:27)
    at Prober.done (/homebridge/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:67:10)
    at Prober.onMDNSresponse (/homebridge/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:61:102)
    at EventEmitter.emit (node:events:513:28)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge/node_modules/multicast-dns/index.js:49:43)
    at Socket.emit (node:events:513:28)
    at UDP.onMessage (node:dgram:930:8)
[1/15/2023, 3:19:17 PM] [EOSSTB] Child bridge process ended
[1/15/2023, 3:19:17 PM] [EOSSTB] Process Ended. Code: 1, Signal: null

Plugin Config:

{
            "name": "EOSSTB",
            "country": "nl",
            "username": "*****",
            "password": "******",
            "doublePressTime": 250,
            "doublePressDelayTime": 300,
            "devices": [
                {
                    "syncName": true,
                    "accessoryCategory": "settopbox",
                    "channelOrder": "channelOrder",
                    "maxChannels": 95,
                    "showChannelNumbers": false,
                    "arrowUpButton": "ArrowUp",
                    "arrowUpButtonDoubleTap": "ChannelUp",
                    "arrowDownButton": "ArrowDown",
                    "arrowDownButtonDoubleTap": "ChannelDown",
                    "arrowLeftButton": "ArrowLeft",
                    "arrowLeftButtonDoubleTap": "MediaRewind",
                    "arrowRightButton": "ArrowRight",
                    "arrowRightButtonDoubleTap": "MediaFastForward",
                    "selectButton": "Enter",
                    "selectButtonDoubleTap": "Enter",
                    "playPauseButton": "MediaPlayPause",
                    "playPauseButtonDoubleTap": "MediaPlayPause",
                    "backButton": "Escape",
                    "backButtonDoubleTap": "Escape",
                    "infoButton": "MediaTopMenu",
                    "infoButtonDoubleTap": "Guide",
                    "viewTvSettingsCommand": "Help"
                }
            ],
            "platform": "eosstb",
            "_bridge": {
                "username": "******",
                "port": 39992
            }
        }

Screenshots:

Environment:

jsiegenthaler commented 1 year ago

That is not an EOSSTB plugin error, but a bonjour-hap error.

Somewhere you have some service name is already in use on your network. Try and narrow down what that service might be. Look for anything on your network that might be running multiple instances.

Make sure you have Homebridge v1.6.0 installed. Make sure the operating system on your machine is fully up to date, make sure you update anything that isn't current.

For further questions and suggestions, I suggest going to the Homebridge or HAP-nodeJS pages to ask the experts there for assistance.

EdgarRotterdam commented 1 year ago

Nice thnx! I did not realize that Hoobs used the same service names on the network. Many thnx for the quick help!