nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
211 stars 22 forks source link

[solved] Returns "Error retrieving info from hub .... connect EHOSTUNREACH" but IP is correct #424

Closed oscarabilleira closed 6 months ago

oscarabilleira commented 1 year ago

Hello,

I have installed this plugin (homebridge-harmony v1.6.3) in "homebridge" in a new QNPA, I have been using this plugin without problems in "previous QNAP", but this time returns this error "- Error retrieving info from hub.... failed, reason: connect EHOSTUNREACH". I have checked and the IP is correct and also fixed.

Any Idea about was happening?

Thanks in advance

Captura de pantalla 2023-05-10 a las 5 58 22

This is another "error", but I don't know if it's relevant with this issue, and how to solve it?

Captura de pantalla 2023-05-10 a las 7 58 41

Here is the config.

{
    "name": "Harmony Hub",
    "hubIP": "192.168.1.102",
    "hubName": "Harmony Hub",
    "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,

    "HUB_CONNECT_TIMEOUT": 10000,
    "HUB_SEND_TIMEOUT": 30000,
    "publishAllTVAsExternalAccessory": false,
    "TVAccessory": false,
    "sortInput": 0,

    "switchAccessories": true,
    "publishSwitchActivitiesAsIndividualAccessories": false,
    "showCommandsAtStartup": false,
    "otherPlatforms": [
        {
            "TVAccessory": false,
            "sortInput": 0
        }
    ],
    "platform": "HarmonyHubWebSocket"
}
oscarabilleira commented 1 year ago

Finally It was a problem of HomeBridge instalation... it was not posible to make a ping from the docker to any IP... I reinstall homebridge again and all works like a charm

jerome71 commented 11 months ago

Had the same issue. I think I started the server when the Harmony hub was offline (because the router was restarting). Solved by restarting the server (which is way better than re-installing Homebridge! 😀)

nicoduj commented 6 months ago

Sorry for not reading that earlier. Glad it is solved. By the way, you can remove otherplatform section if you have only 1 hub.