Skip to content

Commit df4839a

Browse files
committed
Add support WN35, WH65, WS68, WS80 and WS90
1 parent e1ababe commit df4839a

31 files changed

+2377
-119
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1+
### 2.4.0-beta
2+
3+
* Add support for WH65, WS68, WS80, and WS90
4+
* Implement Light and Ultraviolet sensor types
5+
* Fix issue with mapping wind direction to a sector
6+
* Add paypal funding link to `package.json` and donation section to `README.md`
7+
* Add Github action to close issues with no activity
18

29
### 2.3.1-beta
10+
311
* Add `homepage` field in `package.json` for plugin verification
412
* Add `name` property in `config.schema.json` for plugin verification
513

README.md

+18-8
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This plugin operates as a service that listens for data reports from an Ecowitt
2020

2121
For bugs, feature requests, and questions - [please file a new issue](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/issues/new/choose).
2222

23-
> :arrow\_up: :arrow\_up: :arrow\_up: **v2 beta is now available! These docs are for v2, and v1 docs can be found [here](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/tree/v1-release). The [v2 config migration guide](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/wiki/V2-Migration-Guide) is also available. Note that the initial v2 beta has temporarily removed support for WH65 which will be added back shortly in an upcoming release. Please [report any issues](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/issues/new/choose).**
23+
> :arrow\_up: :arrow\_up: :arrow\_up: **v2 is now available! These docs are for v2, and v1 docs can be found [here](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/tree/v1-release). See the [v2 config migration guide](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/wiki/V2-Migration-Guide) to get started with the migration. Please [report any issues](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/issues/new/choose).**
2424
2525
## Features
2626

@@ -112,7 +112,7 @@ The full list of all [Ecowitt sensors](https://shop.ecowitt.com/collections/wifi
112112

113113
This plugin currently supports the Ecowitt devices shown in the table below. If your Ecowitt device is currently not supported, [please open a feature request](https://github.com/rhockenbury/homebridge-ecowitt/issues/new?assignees=\&labels=enhancement\&projects=\&template=feature-request.md\&title=).
114114

115-
| Device | Description | Service Types| Product Image |
115+
| Device | Description | Service | Product Image |
116116
| -------- | ------- | ------- | ------ |
117117
| GW1000 / GW1100 | WiFi Weather Station Gateway | <ul><li>Indoor Temperature</li><li>Indoor Humidity</li></ul> | <img src="./docs/assets/GW1000-GW1100.jpeg" alt="GW1000" width="200"/> |
118118
| GW1200 | WiFi Weather Station Gateway | <ul><li>Indoor Temperature</li><li>Indoor Humidity</li></ul> | <img src="./docs/assets/GW1200.jpeg" alt="GW1200" width="200"/> |
@@ -123,17 +123,23 @@ This plugin currently supports the Ecowitt devices shown in the table below. If
123123
| WH25 | Indoor Temperature, Humidity and Barometric Sensor | <ul><li>Indoor Temperature</li><li>Indoor Humidity</li></ul> | <img src="./docs/assets/WH25.jpeg" alt="WH25" width="200"/> |
124124
| WH26| Outdoor Temperature and Humidity Sensor | <ul><li>Temperature</li><li>Humidity</li></ul> | <img src="./docs/assets/WH26.jpeg" alt="WH26" width="200"/> |
125125
| WN30 | Thermometer with Probe | <ul><li>Temperature</li></ul> | <img src="./docs/assets/WN30.jpeg" alt="WN30" width="200"/> |
126-
| WN31 / WH31 (and EP variants) | Multi-Channel Temperature and Humidity Sensor | <ul><li>Temperature</li><li>Humdity</li></ul> | <img src="./docs/assets/WN31.jpeg" alt="WN31" width="200"/> |
126+
| WN31 / WH31 (including S and EP variants) | Multi-Channel Temperature and Humidity Sensor | <ul><li>Temperature</li><li>Humdity</li></ul> | <img src="./docs/assets/WN31.jpeg" alt="WN31" width="200"/> |
127127
| WN34 (S, D, and L variants) | Multi-Channel Temperature Sensor | <ul><li>Temperature</li></ul> | <img src="./docs/assets/WN34.jpeg" alt="WN34" width="200"/> |
128+
| WN35 | Leaf Wetness Sensor | <ul><li>Leaf Wetness</li></ul> | <img src="./docs/assets/WN35.jpeg" alt="WN35" width="200"/> |
129+
| WN36 | Floating Pool Thermometer <br> *Note this will register as a WN30* | <ul><li>Temperature</li></ul> | <img src="./docs/assets/WN36.jpeg" alt="WN36" width="200"/> |
128130
| WH40 | Self-Emptying Rain Collector Rainfall Sensor | <ul><li>Rain Rate</li><li>Rain Event Total</li><li>Rain Hourly Total</li><li>Rain Daily Total</li><li>Rain Weekly Total</li><li>Rain Monthly Total</li><li>Rain Yearly Total</li></ul> | <img src="./docs/assets/WH40.jpeg" alt="WH40" width="200"/> |
129-
| WH41 / WH43 | PM2.5 Air Quality Sensor Monitor Outdoor | <ul><li>PM2.5 Air Quality</li><li>PM2.5 Air Quality (24hrs)</li></ul> | <img src="./docs/assets/WH41.jpeg" alt="WH41" width="200"/> |
131+
| WH41 | PM2.5 Air Quality Sensor with Solar Panel | <ul><li>PM2.5 Air Quality</li><li>PM2.5 Air Quality (24hrs)</li></ul> | <img src="./docs/assets/WH41.jpeg" alt="WH41" width="200"/> |
132+
| WH43 | PM2.5 Air Quality Sensor <br> *Note this will register as a WH41* | <ul><li>PM2.5 Air Quality</li><li>PM2.5 Air Quality (24hrs)</li></ul> | <img src="./docs/assets/WH43.jpeg" alt="WH43" width="200"/> |
130133
| WH45 | 5-in-1 PM2.5 / PM10 / CO₂ Air Quality Sensor | <ul><li>Temperature</li><li>Humidity</li><li>PM2.5 Air Quality</li><li>PM2.5 Air Quality (24hrs)</li><li>PM10 Air Quality</li><li>PM10 Air Quality (24hrs)</li><li>CO₂ Level</li><li>CO₂ Level (24 hrs)</li></ul> | <img src="./docs/assets/WH45.jpeg" alt="WH45" width="200"/> |
131134
| WH46 | 7-in-1 PM1.0 / PM2.5 / PM4.0 / PM10 / CO₂ Air Quality Sensor | <ul><li>Temperature</li><li>Humidity</li><li>PM2.5 Air Quality</li><li>PM2.5 Air Quality (24hrs)</li><li>PM10 Air Quality</li><li>PM10 Air Quality (24hrs)</li><li>CO₂ Level</li><li>CO₂ Level (24 hrs)</li></ul> | <img src="./docs/assets/WH46.jpeg" alt="WH46" width="200"/> |
132-
| WH51 (and L variant)| Wireless Soil Moisture Sensor | <ul><li>Soil Moisture</li></ul> | <img src="./docs/assets/WH51.jpeg" alt="WH51" width="200"/> |
133-
| WH55 | Water Leak Detection Sensor with Loud Audio Alarm | <ul><li>Water Leak</li></ul> | <img src="./docs/assets/WH55.jpeg" alt="WH55" width="200"/> |
135+
| WH51 (and L variant)| Soil Moisture Sensor | <ul><li>Soil Moisture</li></ul> | <img src="./docs/assets/WH51.jpeg" alt="WH51" width="200"/> |
136+
| WH55 | Water Leak Detection Sensor | <ul><li>Water Leak</li></ul> | <img src="./docs/assets/WH55.jpeg" alt="WH55" width="200"/> |
134137
| WH57 | Lightning Detection Sensor | <ul><li>Lightning Events</li><li>Lightning Distance</li><li>Lightning Time</li></ul> | <img src="./docs/assets/WH57.jpeg" alt="WH57" width="200"/> |
135-
| WH65 | Solar Powered 7-in-1 Outdoor Station | <ul><li>Temperature</li><li>Humidity</li><li>Solar Radiation</li><li>UV Index</li><li>Dew Point</li><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li><li>Rain Rate</li><li>Rain Event Total</li><li>Rain Hourly Total</li><li>Rain Daily Total</li><li>Rain Weekly Total</li><li>Rain Monthly Total</li><li>Rain Yearly Total</li></ul> | <img src="./docs/assets/WH65.jpeg" alt="WH65" width="200"/> |
138+
| WH65 / WS69 | Solar Powered 7-in-1 Outdoor Station | <ul><li>Temperature</li><li>Humidity</li><li>Solar Radiation</li><li>UV Index</li><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li><li>Rain Rate</li><li>Rain Event Total</li><li>Rain Hourly Total</li><li>Rain Daily Total</li><li>Rain Weekly Total</li><li>Rain Monthly Total</li><li>Rain Yearly Total</li></ul> | <img src="./docs/assets/WH65.jpeg" alt="WH65" width="200"/> |
139+
| WS68 | Solar Powered 4-in-1 Outdoor Station | <ul><li>Solar Radiation</li><li>UV Index</li><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li></ul> | <img src="./docs/assets/WS68.jpeg" alt="WS68" width="200"/> |
140+
| WS80 | Solar Powered 6-in-1 Outdoor Station | <ul><li>Temperature</li><li>Humidity</li><li>Solar Radiation</li><li>UV Index</li><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li></ul> | <img src="./docs/assets/WS80.jpeg" alt="WS80" width="200"/> |
136141
| WS85 | 3-in-1 Solar Weather Station | <ul><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li><li>Rain Rate</li><li>Rain Event Total</li><li>Rain Hourly Total</li><li>Rain Daily Total</li><li>Rain Weekly Total</li><li>Rain Monthly Total</li><li>Rain Yearly Total</li></ul> | <img src="./docs/assets/WS85.jpeg" alt="WS85" width="200"/> |
142+
| WS90 | Solar Powered 7-in-1 Outdoor Anti-vibration Haptic Sensor Array | <ul><li>Temperature</li><li>Humidity</li><li>Solar Radiation</li><li>UV Index</li><li>Wind Direction</li><li>Wind Speed</li><li>Wind Gust Speed</li><li>Wind Max Daily Speed</li><li>Rain Rate</li><li>Rain Event Total</li><li>Rain Hourly Total</li><li>Rain Daily Total</li><li>Rain Weekly Total</li><li>Rain Monthly Total</li><li>Rain Yearly Total</li></ul> | <img src="./docs/assets/WS90.jpeg" alt="WS90" width="200"/> |
137143

138144
> :warning: **This plugin does not currently implement barometric (pressure) services and PM1.0/PM4.0 air quality services. While these are not supported natively by HomeKit as this time, they are planned to be implemented with custom characteristics, see [this issue](https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/issues/5).**
139145
@@ -168,7 +174,7 @@ It's recommended to configure the plugin through the Plugin Config UI on the Hom
168174
| units.distance | `mi` | The units to display distance such as lightning strike distance. Possible values are: <br/><br/>`mi`: Miles<br/>`km`: Kilometers |
169175
| units.temperature | `fh` | The units to display temperature. Possible values are: <br/><br/>`fh`: Fahrenheit<br/>`ce`: Celcius |
170176
| thresholds | `{}` | A mapping of a weather data property to the trigger threshold for that property. By default no thresholds are set. Trigger thresholds should be specified in the units selected under the `units` configuration block. Possible keys are: <br/><br/>`windSpeed`<br/>`windGustSpeed`<br/>`windMaxDailySpeed`<br/>`rainRate`<br/>`rainEventTotal`<br/>`rainHourlyTotal`<br/>`rainDailyTotal`<br/>`rainWeeklyTotal`<br/>`rainMonthlyTotal`<br/>`rainYearlyTotal`<br/>`uvIndex`<br/>`lightningEvents`<br/>`lightningDistance *`<br/>`lightningTime *` <br/><br/> \*The value of the weather data property must be <strong>greater than</strong> the threshold to trigger the accessory (motion detected), except for `lightningDistance` and `lightningTime` which are triggered when the weather data property is <strong>less than</strong> the threshold. |
171-
| hidden | `{}` | A mapping of a weather data property or device to whether it should be displayed. By default no weather data or devices are hidden. Possible keys to hide weather data are: <br/><br/>`windDirection`<br>`windSpeed`<br/>`windGustSpeed`<br/>`windMaxDailySpeed`<br/>`rainRate`<br/>`rainEventTotal`<br/>`rainHourlyTotal`<br/>`rainDailyTotal`<br/>`rainWeeklyTotal`<br/>`rainMonthlyTotal`<br/>`rainYearlyTotal`<br/>`solarRadiation`<br/>`uvIndex`<br/>`temperature`<br/>`humdity`<br/>`indoorTemperature`<br/>`indoorHumdity`<br/>`soilMoisture`<br/>`dewPoint`<br/>`waterLeak`<br/>`airQualityPM25`<br/>`airQualityPM25Avg`<br/>`airQualityPM10`<br/>`airQualityPM10Avg`<br/>`carbonDioxide`<br/>`carbonDioxideAvg`<br/>`lightningEvents`<br/>`lightningDistance`<br/>`lightningTime` <br/><br/> Possible keys to hide devices are: <br/><br>`GW1000`<br>`GW2000`<br>`HP2560`<br>`WH25`<br>`WH26`<br>`WN30`<br>`WN31`<br>`WN34`<br>`WH40`<br>`WH41`<br>`WH45`<br>`WH46`<br>`WH51`<br>`WH55`<br>`WH57`<br>`WS85`<br/> |
177+
| hidden | `{}` | A mapping of a weather data property or device to whether it should be displayed. By default no weather data or devices are hidden. Possible keys to hide weather data are: <br/><br/>`windDirection`<br>`windSpeed`<br/>`windGustSpeed`<br/>`windMaxDailySpeed`<br/>`rainRate`<br/>`rainEventTotal`<br/>`rainHourlyTotal`<br/>`rainDailyTotal`<br/>`rainWeeklyTotal`<br/>`rainMonthlyTotal`<br/>`rainYearlyTotal`<br/>`solarRadiation`<br/>`uvIndex`<br/>`temperature`<br/>`humdity`<br/>`indoorTemperature`<br/>`indoorHumdity`<br/>`soilMoisture`<br/>`leafWetness`<br/>`waterLeak`<br/>`airQualityPM25`<br/>`airQualityPM25Avg`<br/>`airQualityPM10`<br/>`airQualityPM10Avg`<br/>`carbonDioxide`<br/>`carbonDioxideAvg`<br/>`lightningEvents`<br/>`lightningDistance`<br/>`lightningTime` <br/><br/> Possible keys to hide devices are: <br/><br>`GW1000`<br>`GW2000`<br>`HP2560`<br>`WH25`<br>`WH26`<br>`WN30` (Also use for `WN36`)<br>`WN31`<br>`WN34`<br>`WN35`<br>`WH40`<br>`WH41` (Also use for `WH43`)<br>`WH45`<br>`WH46`<br>`WH51`<br>`WH55`<br>`WH57`<br>`WH65`<br>`WS68`<br>`WS80`<br>`WS85`<br/>`WS90`<br> |
172178
| nameOverrides | `[]` | A list of key value pairs that specifies the override name for an accessory service. Each override takes on the form: <br><br> `{"key": "<the-service-identifier>", "value", "<the-override-name"}` <br><br> The service identifier is specified in the form `YYYY(CHZ)` or if an accessory has multiple services the weather data property should be included in the identifier `YYYY(CHZ):<weather-data-property>`. <br><br>`YYYY` is the device id (e.g. WH41) <br> `(CHZ)` is the optional channel id if the device uses a channel. <br><br> The weather data property can be set to any of the weather data keys indicated in `hidden` |
173179
| additional.staticNames | `false` | Set to `true` to not show the weather metric value in the service names of the accessory so that the service names do not change. |
174180
| additional.validateMac | `true` | Check that the MAC address in each data report matches the MAC address specified for the plugin, and do not process the data report if it does not match. |
@@ -199,6 +205,10 @@ It's recommended to configure the plugin through the Plugin Config UI on the Hom
199205

200206
Contributions are welcomed! Please report bugs, suggest improvements, and open pull requests. For major pull requests, please open an issue first to discuss what you would like to change. See the [Contributing Guide](./docs/CONTRIBUTING.md) for more info.
201207

208+
## Supporting
209+
210+
This plugin requires my time and energy to develop and maintain, as well as the occasional Ecowitt device purchase. If you feel you have gotten value from this plugin, please consider [making a donation](https://www.paypal.com/donate/?business=4G6G3V4CYG2CY).
211+
202212
<span align="center" style="text-align:center">
203213
<div align="center" style="text-align:center">
204214

config.schema.json

+45-13
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@
186186
"title": "UV Index",
187187
"type": "number",
188188
"notitle": true,
189+
"minimum": 1,
190+
"maximum": 15,
189191
"required": false
190192
},
191193
"lightningEvents": {
@@ -276,11 +278,6 @@
276278
"type": "boolean",
277279
"required": false
278280
},
279-
"dewPoint": {
280-
"title": "Dew Point",
281-
"type": "boolean",
282-
"required": false
283-
},
284281
"indoorTemperature": {
285282
"title": "Indoor Temperature",
286283
"type": "boolean",
@@ -311,6 +308,11 @@
311308
"type": "boolean",
312309
"required": false
313310
},
311+
"leafWetness": {
312+
"title": "Leaf Wetness",
313+
"type": "boolean",
314+
"required": false
315+
},
314316
"airQualityPM25": {
315317
"title": "PM2.5 Air Quality",
316318
"type": "boolean",
@@ -396,6 +398,11 @@
396398
"type": "boolean",
397399
"required": false
398400
},
401+
"WN35": {
402+
"title": "WN35",
403+
"type": "boolean",
404+
"required": false
405+
},
399406
"WH40": {
400407
"title": "WH40",
401408
"type": "boolean",
@@ -431,10 +438,30 @@
431438
"type": "boolean",
432439
"required": false
433440
},
441+
"WH65": {
442+
"title": "WH65",
443+
"type": "boolean",
444+
"required": false
445+
},
446+
"WS68": {
447+
"title": "WS68",
448+
"type": "boolean",
449+
"required": false
450+
},
451+
"WS80": {
452+
"title": "WS80",
453+
"type": "boolean",
454+
"required": false
455+
},
434456
"WS85": {
435457
"title": "WS85",
436458
"type": "boolean",
437459
"required": false
460+
},
461+
"WS90": {
462+
"title": "WS90",
463+
"type": "boolean",
464+
"required": false
438465
}
439466
}
440467
},
@@ -637,13 +664,13 @@
637664
"hidden.rainYearlyTotal",
638665
"hidden.solarRadiation",
639666
"hidden.uvIndex",
640-
"hidden.dewPoint",
641667
"hidden.indoorTemperature",
642668
"hidden.temperature",
643669
"hidden.indoorHumidity",
644670
"hidden.humidity",
645671
"hidden.soilMoisture",
646-
"hidden.waterLeak"
672+
"hidden.waterLeak",
673+
"hidden.leafWetness"
647674
]
648675
},
649676
{
@@ -679,27 +706,32 @@
679706
"hidden.HP2560",
680707
"hidden.WH25",
681708
"hidden.WH26",
682-
"hidden.WN30"
709+
"hidden.WN30",
710+
"hidden.WN31"
683711
]
684712
},
685713
{
686714
"type": "flex",
687715
"items": [
688-
"hidden.WN31",
689716
"hidden.WN34",
717+
"hidden.WN35",
690718
"hidden.WH40",
691719
"hidden.WH41",
692-
"hidden.WH45"
720+
"hidden.WH45",
721+
"hidden.WH46",
722+
"hidden.WH51"
693723
]
694724
},
695725
{
696726
"type": "flex",
697727
"items": [
698-
"hidden.WH46",
699-
"hidden.WH51",
700728
"hidden.WH55",
701729
"hidden.WH57",
702-
"hidden.WS85"
730+
"hidden.WH65",
731+
"hidden.WS68",
732+
"hidden.WS80",
733+
"hidden.WS85",
734+
"hidden.WS90"
703735
]
704736
}
705737
]

docs/assets/WN35.jpeg

41.7 KB
Loading

docs/assets/WN36.jpeg

6.97 KB
Loading

docs/assets/WS68.jpeg

105 KB
Loading

docs/assets/WS80.jpeg

45.5 KB
Loading

docs/assets/WS90.jpeg

92.6 KB
Loading

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
"private": false,
33
"displayName": "Homebridge Ecowitt Weather Sensors",
44
"name": "homebridge-ecowitt-weather-sensors",
5-
"version": "2.3.1-beta",
5+
"version": "2.4.0-beta",
66
"description": "Complete HomeKit support for Ecowitt Weather Sensors through Homebrige",
77
"license": "Apache-2.0",
88
"homepage": "https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors#readme",
99
"icon": "https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/ecowitt-logo.png",
10+
"funding": {
11+
"type": "paypal",
12+
"url": "https://www.paypal.com/donate/?business=4G6G3V4CYG2CY"
13+
},
1014
"repository": {
1115
"type": "git",
1216
"url": "git://github.com/rhockenbury/homebridge-ecowitt-weather-sensors.git"

0 commit comments

Comments
 (0)