spatialdude / homebridge-ecowitt

A Homebridge plugin supporting a wide range of Ecowitt sensors
https://www.npmjs.com/package/homebridge-ecowitt
Apache License 2.0
11 stars 17 forks source link

How to setup? #12

Open gabefortin opened 2 years ago

gabefortin commented 2 years ago

Describe Your Problem: I thought I set it up properly but no accessories show up, on startup homebridge says “[5/10/2022, 12:57:31 PM] [Ecowitt] Listening for data reports on: http://[::]:8099

I have homebridge running on a synology NAS at 192.168.1.45 and the ecowitt hub is at 192.168.1.68.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:


{
    "mac": "BC:FF:4D:0F:FB:7C",
    "port": 8099,
    "path": "/data/report",
    "ws": {
        "hide": true,
        "uv": {
            "hide": false,
            "threshold": 6
        },
        "solarradiation": {
            "hide": false,
            "luxFactor": 126.7
        },
        "wind": {
            "units": "beaufort",
            "speedThreshold": 1,
            "gustThreshold": 3,
            "maxDailyGustThreshold": 8
        },
        "rain": {
            "units": "mm"
        }
    },
    "thbin": {
        "hide": false
    },
    "th": {
        "hide": false
    },
    "soil": {
        "hide": false,
        "name1": "Soil Moisture 1"
    },
    "leak": {
        "hide": false
    },
    "pm25": {
        "hide": false
    },
    "lightning": {
        "hide": false,
        "units": "km"
    },
    "platform": "Ecowitt"
}

Screenshots:

Environment:

tragnar commented 2 years ago

Check if path in homebridge-ecowitt and in the Gateway is set up equal. Either "/data/report" or "/data/report/" (see the trailing slash). Both have to be exactly the same!

gabefortin commented 2 years ago

Thanks for the response! That did it, operator error on my end had the trailing slash missing on the homebridge side of things!