homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 372 forks source link

perte interface web hombridge UI sur Raspberry pi #1434

Closed quizatsaderac closed 1 year ago

quizatsaderac commented 1 year ago

Describe The Bug

hello for a few days I no longer have access to the hombridge UI interface from my internet browser (safari). All plug ins work well as well as homekit, only the web interface no longer works. An idea ? Systeme : Raspberry pi homebridge 1.5.1 homebridge-config-ui-x v4.50.2 IMG_0232

Logs

No response

Config

"bridge": {
        "name": "Homebridge 2038",
        "username": "0E:C7:1B:87:20:38",
        "port": 51437,
        "pin": "731-46-831",
        "advertiser": "bonjour-hap"
    },
    "accessories": [
        {
            "name": "Willy",
            "model": "roomba i7",
            "blid": "C459504CA84247C1B3A14FC9B9478824",
            "robotpwd": ":1:1606937061:dHYTqjrkecvH7LPi",
            "ipaddress": "192.168.1.102",
            "autoRefreshEnabled": true,
            "keepAliveEnabled": true,
            "dockContactSensor": true,
            "runningContactSensor": true,
            "binContactSensor": true,
            "accessory": "Roomba2"
        },
        {
            "accessory": "TheKeys",
            "plugin_map": {
                "plugin_name": "homebridge-thekeys",
                "index": 0
            },
            "name": "The Keys",
            "locker_name": "maison",
            "identifier": "10161",
            "code": "IUi9di6EB83gvlJl",
            "ip": "192.168.1.59",
            "_bridge": {
                "username": "0E:2D:51:FD:B5:1B",
                "port": 37326
            }
        },
        {
            "name": "Livebox 4",
            "ip": "192.168.1.14",
            "accessory": "LiveboxTV"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "c",
            "lang": "fr",
            "platform": "config"
        },
        {
            "hostname": "mediation.tydom.com",
            "username": "001A25015A57",
            "password": "Cqfd679094",
            "debug": true,
            "_bridge": {
                "username": "0E:DA:8B:D9:7D:DF",
                "port": 55899
            },
            "platform": "Tydom"
        },
        {
            "name": "Camera FFmpeg",
            "cameras": [
                {
                    "name": "Jardin nord",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=1_stream=0.sdp?real_stream",
                        "stillImageSource": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=1_stream=0.sdp?real_stream",
                        "maxBitrate": 300,
                        "vcodec": "h264"
                    }
                },
                {
                    "name": "Terrasse",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=3_stream=0.sdp?real_stream",
                        "stillImageSource": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=3_stream=0.sdp?real_stream",
                        "maxBitrate": 300,
                        "vcodec": "h264"
                    }
                },
                {
                    "name": "Entrée",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=4_stream=0.sdp?real_stream",
                        "maxBitrate": 300,
                        "vcodec": "h264"
                    }
                },
                {
                    "name": "parking",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=5_stream=0.sdp?real_stream",
                        "stillImageSource": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=5_stream=0.sdp?real_stream",
                        "maxStreams": 2,
                        "vcodec": "h264"
                    }
                },
                {
                    "name": "Jardin sud",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=2_stream=0.sdp?real_stream",
                        "stillImageSource": "-rtsp_transport tcp -re -i rtsp://192.168.1.150:554/user=admin_password=CqfD679094/_channel=2_stream=0.sdp?real_stream",
                        "vcodec": "h264"
                    }
                }
            ],
            "platform": "Camera-ffmpeg"
        },
        {
            "name": "Harmony",
            "hubIP": "192.168.1.49",
            "hubName": "salon",
            "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
            "HUB_CONNECT_TIMEOUT": 10000,
            "HUB_SEND_TIMEOUT": 30000,
            "TVAccessory": false,
            "sortInput": 0,
            "switchAccessories": true,
            "activitiesToPublishAsAccessoriesSwitch": [
                "apple tv",
                "orange tv sur ampli",
                "Apple TV sur ampli"
            ],
            "publishSwitchActivitiesAsIndividualAccessories": true,
            "otherPlatforms": [
                {
                    "TVAccessory": false,
                    "sortInput": 0
                }
            ],
            "platform": "HarmonyHubWebSocket"
        },
        {
            "name": "TuyaWebPlatform",
            "options": {
                "username": "quizatsaderac01@me.com",
                "password": "Cqfd679094/Tuya",
                "countryCode": "33",
                "platform": "tuya"
            },
            "defaults": [
                {
                    "device_type": "form"
                }
            ],
            "scenes": false,
            "platform": "TuyaWebPlatform"
        },
        {
            "name": "Hue",
            "anyOn": true,
            "effects": true,
            "hosts": [
                "192.168.1.42"
            ],
            "lights": true,
            "nativeHomeKitLights": true,
            "nativeHomeKitSensors": true,
            "resource": true,
            "platform": "Hue",
            "_bridge": {
                "username": "0E:D2:C9:D9:4E:49",
                "port": 41323
            }
        },
        {
            "name": "eveatmo platform",
            "ttl": 540,
            "extra_co2_sensor": false,
            "weatherstation": true,
            "airquality": false,
            "co2_alert_threshold": 1200,
            "log_info_msg": true,
            "auth": {
                "client_id": "5ea80eab6cf9e04cf7610db3",
                "client_secret": "Erdk9yIvW4p8WEQ0RmsCRwvHM8Z",
                "refresh_token": "54e7628b4a5a8890c58b4585|d7ad2e4626bc85effc46aa8ec9c99c54"
            },
            "platform": "eveatmo"
        },
        {
            "name": "sonnette",
            "email": "quuzatsaderac@gmail.com",
            "password": "CqfD679094!Arlo",
            "stay_arm": "mode3",
            "night_arm": "mode1",
            "include_cameras": true,
            "streaming": {
                "videoDecoder": "h264_mmal",
                "videoEncoder": "h264_omx",
                "packetSize": "564"
            },
            "_bridge": {
                "username": "0E:26:44:34:E6:D9",
                "port": 38736
            },
            "platform": "Arlo"
        },
        {
            "name": "Wemo",
            "mode": "auto",
            "platform": "BelkinWeMo"
        }
    ],
    "disabledPlugins": [
        "homebridge-samsungtvht",
        "homebridge-netatmo",
        "homebridge-platform-wemo",
        "homebridge-eveatmo"
    ]

Homebridge UI Version

4.50.2

Homebridge Version

1.5.1

Node.js Version

18.12.1

Operating System

Official Homebridge Raspberry Pi Image

Environment Info

Raspberry Pi Model

Raspberry Pi 2

mdisabato commented 1 year ago

After updating the software (not Homebridge) on my RPi 4, I ran into a similar problem. It seems I had the container running in bridge mode. Please make sure the --network host flag is set in your compose, startup, or stack file.

quizatsaderac commented 1 year ago

great, the problem seems to be solved! Thank you very much for your help. 👍

quizatsaderac commented 1 year ago

I went a little fast, the problem is still present

quizatsaderac commented 1 year ago

I lost access to the web interface by: http://homebridge.local. but access by ip address works.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.