homebridge / homebridge-config-ui-x

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

Installation warnings #767

Closed mbierman closed 4 years ago

mbierman commented 4 years ago

Describe Your Problem:

When I install plugins in the config UI terminal, I see a warning. I initially thought it was a problem with a particular plugin but other people say they don’t see the error, so I tried installing other plugins the same way and see the same errors. So I thought this might be a homebridge or UI related issue. If it is something I have messed up in my install I’d love to know how to fix it.

Other than the warnings, things seem to work.

Logs: homebridge.zip

Show the Homebridge / Homebridge Config UI X logs here.

Homebridge Config:


    {
        "bridge": {
            "name": "Homebridge Synology",
            "username" : "*****",
            "port": *****
            "pin" : "*****"
        },
        "accessories": [
            {
                "accessory": "PowerlossIFTTTNotifier",
                "name": "PowerlossIFTTTNotifier",
                "IFTTTkey : "*****",
                "IFTTTservice: "*****",
                "IFTTTvalue2": "Homebridge started at",
                "IFTTTvalue3": false
            },
            {
                "accessory": "Synology",
                "name": "Pigpen",
                "ip" : "*****",
                "mac" : "*****",
                "port": "5001",
                "secure": true,
                "account" : "*****",
                "password" : "*****",
                "version": 6,
                "timeout": *****
                "disabled": [
                    ""
                ],
                "doPolling": true,
                "pollingInterval": 120
            },
            {
                "accessory": "neurio",
                "name": "neurio",
                "location" : "*****",
                "username" : "*****",
                "password" : "*****",
                "options": {
                    "ttl": 30,
                    "verboseP": false
                }
            },
            {
                "name": "Garage Door",
                "username" : "*****",
                "password" : "*****",
                "accessory": "Chamberlain"
            },
            {
                "accessory": "HTTP-SWITCH",
                "name": "Flo",
                "switchType": "stateful",
                "pullInterval": 5000,
                "debug": false,
                "statusPattern": "true",
                "onUrl" : "*****",
                    "url" : "https://...",
                    "method": "GET"
                },
                "offUrl": {
                    "url" : "https://...",
                    "method": "GET"
                },
                "statusUrl": {
                    "url" : "https://...",
                    "method": "GET",
                    "headers": {
                        "Accept": "application/json",
                        "Authorization": "Basic ****"},
                    }
                }
            },
            {
                "accessory": "HTTP-SWITCH",
                "name": "Pigpen Notify",
                "switchType": "stateless",
                "timeout": 1000,
                "onUrl" : "*****",
            },
            {
                "accessory": "AutomationCalendar",
                "name": "AutomationCalendar",
                "latitude" :   ***,
                "longitude" :   ***,
            },
            {
                "accessory": "Schedule",
                "name": "Hourly",
                "interval": 60
            }
        ],
        "platforms": [
            {
                "name": "Config",
                "port": 8581,
                "auth": "form",
                "theme": "blue",
                "tempUnits": "f",
                "lang": "auto",
                "sessionTimeout": *****
                "log": {
                    "method": "null"
                },
                "accessoryControl": {
                    "debug": true
                },
                "platform": "config"
            },
            {
                "name": "Smart Life",
                "platform": "TuyaWebPlatform",
                "options": {
                    "username" : "*****",
                    "password" : "*****",
                    "countryCode": "1",
                    "platform": "smart_life",
                    "pollingInterval": 120
                }
            },
            {
                "platform": "Nest",
                "name": "Nest",
                "access_token" : "****",
            },
            {
                "platform": "WeatherPlus",
                "units": "us",
                "interval": 5,
                "stations": [
                    {
                        "nameNow": "Now",
                        "service": "openweathermap",
                        "key": "******",
                        "locationGeo": [
                            *****
                            -121.96
                        ],
                        "locationCity" : "*****",
                        "language": "en",
                        "compatibility": "both",
                        "forecast": [
                            0
                        ],
                        "conditionCategory": "detailed",
                        "now": true,
                        "extraHumidity": false,
                        "hidden": [
                            "Air Pressure",
                            "Observation Station",
                            "Observation Time",
                            "Snow"
                        ],
                        "tresholdCloudCover": 30,
                        "tresholdUvIndex": 4,
                        "tresholdWindSpeed": 10
                    }
                ]
            }
        ]
    }

Screenshots: E0339C34-A2C3-4419-9B2E-B103FB133EC3

Environment:

oznu commented 4 years ago

These are just because the plugins are not installed globally (nor should they be). If you want to suppress the messages you can run:

npm config set audit false

I'll set this by default in the next release of the docker image.