-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no automatic accessory creation #9
Comments
@spatialdude Could you please help me here? thank you very much! |
Having a similar issue. Just added a GW1000B to Homebridge. I can see the data reports in the logs, but there is no Indoor Temperature, Humidity and Barometric Sensor in the Accessories, so I can't add it to Homekit. Any idea what to try to debug this? Thanks! Data Report:
Plugin Config: {
"mac": "XX:XX:XX:XX:XX:XX",
"port": 8080,
"path": "/data/report/",
"ws": {
"hide": false,
"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
},
"leak": {
"hide": false
},
"pm25": {
"hide": false
},
"lightning": {
"hide": false,
"units": "km"
},
"platform": "Ecowitt"
} Homebridge config {
"bridge": {
"name": "Homebridge XXX",
"username": "XXXX",
"port": 123,
"pin": "XXX",
"advertiser": "avahi"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"mac": "XX:XX:XX:XX:XX:XX",
"port": 8080,
"path": "/data/report/",
"ws": {
"hide": false,
"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
},
"leak": {
"hide": false
},
"pm25": {
"hide": false
},
"lightning": {
"hide": false,
"units": "km"
},
"platform": "Ecowitt"
}
]
} |
I figured out my issue. My device model number is GW1000B_Pro, which isn't matched by the regex in EcowittPlatform.ts. I've created pull request #17 with changes that fix my issue. |
Old thread, but quick question @el-principe - do you know what weather station device you have that was sending that data? Is that data from an ecowitt WH24 (the old style "boat" design)? |
Describe Your Problem:
Data is received on Homebridge but no accessories were created.
Logs:
[1/21/2022, 7:11:54 PM] [Ecowitt] Report time: 2022-01-21T17:11:52.000Z
[1/21/2022, 7:12:54 PM] [Ecowitt] Data source address: ::ffff:xxxxxxxxxxx
[1/21/2022, 7:12:54 PM] [Ecowitt] Request: POST /data/report HTTP/1.1
host:xxxxxxxxxx
connection: Close
content-type: application/x-www-form-urlencoded
content-length: 456
[1/21/2022, 7:12:54 PM] [Ecowitt] Data report: {
"PASSKEY": "XXXXXXXXXXX",
"stationtype": "EasyWeatherV1.5.2",
"dateutc": "2022-01-21 18:12:52",
"tempinf": "63.0",
"humidityin": "55",
"baromrelin": "29.123",
"baromabsin": "29.123",
"tempf": "31.1",
"humidity": "85",
"winddir": "253",
"winddir_avg10m": "276",
"windspeedmph": "4.9",
"windspdmph_avg10m": "4.3",
"windgustmph": "6.9",
"maxdailygust": "13.6",
"rainratein": "0.000",
"eventrainin": "0.000",
"hourlyrainin": "0.000",
"dailyrainin": "0.118",
"weeklyrainin": "0.118",
"monthlyrainin": "0.118",
"yearlyrainin": "0.118",
"solarradiation": "0.00",
"uv": "0",
"model": "WS2350"
}
[1/21/2022, 7:12:54 PM] [Ecowitt] Report time: 2022-01-21T17:12:52.000Z
Plugin Config:
{
"bridge": {
"name": "Homebridge 6DCC",
"username": "XXXXXXXX",
"port": XXXXXXXX,
"pin": "XXXXXXXX",
"bind": [
"eth0",
"wlan0",
"docker0",
"veth0906580",
"veth6199a37",
"br-9a2e7c624ca8",
"vethe6ad389"
]
},
"accessories": [
],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "de",
"platform": "config"
},
{
"mac": "XXXXXXXX",
"port": 8080,
"path": "/data/report",
"ws": {
"hide": false,
"uv": {
"hide": false,
"threshold": 6
},
"solarradiation": {
"hide": false,
"luxFactor": 126.7
},
"wind": {
"units": "mps",
"speedThreshold": 1,
"gustThreshold": 3,
"maxDailyGustThreshold": 8
},
"rain": {
"units": "mm"
}
},
"thbin": {
"hide": false
},
"th": {
"hide": false
},
"soil": {
"hide": false
},
"leak": {
"hide": false
},
"pm25": {
"hide": false
},
"lightning": {
"hide": false,
"units": "km"
},
"platform": "Ecowitt"
}
]
}
Environment:
The text was updated successfully, but these errors were encountered: