homebridge-ecowitt-weather-sensors
Version:
Homebridge support for your Fine Offset weather station (Ecowitt, Ambient, Froggit, GoGen, and more)
1,487 lines • 50.3 kB
JSON
{
"pluginAlias": "Ecowitt",
"pluginType": "platform",
"singular": true,
"headerDisplay": "<p align=\"center\"><img width=\"40%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/ecowitt-logo-text.png\"><br><a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/tree/master?tab=readme-ov-file#getting-started\">Getting Started</a> | <a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/tree/master?tab=readme-ov-file#supported-devices\">Supported Devices</a> | <a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/tree/master?tab=readme-ov-file#configuration\">Configuration Docs</a> | <a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/issues/new/choose\">Report an Issue</a></p><p align=\"center\">",
"footerDisplay": "All config changes take effect <em><strong>when a new data report is received</strong></em> after the next Homebridge restart.</p>",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Plugin name as displayed in the Homebridge log",
"type": "string",
"required": true,
"default": "Ecowitt"
},
"baseStation": {
"type": "object",
"properties": {
"mac": {
"title": "MAC Address",
"type": "string",
"pattern": "^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$",
"required": false,
"placeholder": "eg. 30:C9:22:3E:DD:2B",
"description": "The MAC address of the console or gateway<img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The MAC address can be omitted, leaving it empty will disable MAC validation on each received data report. If you wish to enable MAC validation, find the MAC of your gateway device and enter it here.\">"
},
"port": {
"title": "Port",
"type": "integer",
"default": 8080,
"minimum": 1024,
"required": true,
"description": "Port number to listen for data reports<img width=\"8%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"Please ensure that the port entered here exactly matches the port entered for the custom server upload on your gateway device.\">"
},
"path": {
"title": "Path",
"type": "string",
"pattern": "^/[A-Za-z/]+$",
"required": true,
"default": "/data/report/",
"description": "Host path to receive data reports<img width=\"8%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"Please ensure that the path entered here exactly matches the path entered for the custom server upload on your gateway device. Alternatively, you can enable 'Accept Any Path' in advanced settings and not specify the path.\">"
}
}
},
"nameOverrides": {
"type": "array",
"title": "Name Override",
"labelHtmlClass": "d-none",
"items": {
"type": "object",
"properties": {
"key": {
"title": "Service ID",
"type": "string",
"placeholder": "eg. WS85:rainRate, WH51CH1:waterLeak"
},
"value": {
"title": "Name Override",
"type": "string",
"placeholder": "eg. Current Precip, Utility Room"
}
}
}
},
"additional": {
"type": "object",
"properties": {
"staticNames": {
"title": "Static Names",
"type": "string",
"required": true,
"default": "enabled",
"description": "Enable or disable data property values <br> in the service names",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
},
"validateMac": {
"title": "MAC Address Validation",
"type": "string",
"required": true,
"default": "enabled",
"description": "Verify the MAC address in each received <br> data report",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
},
"luxFactor": {
"title": "Lux Conversion Factor",
"type": "number",
"required": true,
"default": 126.7,
"description": "Factor to convert irradiance (W/m²) <br> to illuminance (lux)"
},
"acceptAnyPath": {
"title": "Accept Any Path",
"type": "string",
"required": true,
"default": "disabled",
"description": "Process any data report regardless <br> of URL path received on",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
},
"validateTimestamp": {
"title": "Timestamp Validation",
"type": "string",
"required": true,
"default": "enabled",
"description": "Verify the timestamp in each received <br> data report",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
},
"removeStaleDevices": {
"title": "Stale Device Removal",
"type": "string",
"required": true,
"default": "enabled",
"description": "Remove an accessory if it is no longer <br> discovered from a data report",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
},
"logDataReports": {
"title": "Log Data Reports",
"type": "string",
"required": true,
"default": "disabled",
"description": "Show the data report in Homebridge logs <br> each time a data report is received",
"enum": ["enabled", "disabled"],
"enumNames": ["Enabled", "Disabled"]
}
}
},
"thresholds": {
"type": "object",
"properties": {
"airGap": {
"title": "Air Gap",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"currentDepth": {
"title": "Current Depth",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"totalDepth": {
"title": "Total Depth",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"soilConductivity": {
"title": "Soil Conductivity",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"windSpeed": {
"title": "Wind Speed",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"windGustSpeed": {
"title": "Wind Gust Speed",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"windMaxDailySpeed": {
"title": "Wind Max Daily Speed",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainRate": {
"title": "Rain Rate",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainEventTotal": {
"title": "Rain Event Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainHourlyTotal": {
"title": "Rain Hourly Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainDailyTotal": {
"title": "Rain Daily Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainLast24hTotal": {
"title": "Rain Last 24h Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainWeeklyTotal": {
"title": "Rain Weekly Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainMonthlyTotal": {
"title": "Rain Monthly Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainYearlyTotal": {
"title": "Rain Yearly Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"rainTotal": {
"title": "Rain Total",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"uvIndex": {
"title": "UV Index",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"minimum": 1,
"maximum": 15,
"required": false
},
"lightningEvents": {
"title": "Lightning Events",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"lightningDistance": {
"title": "Lightning Distance",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
},
"lightningTime": {
"title": "Lightning Time",
"type": "number",
"labelHtmlClass": "d-none",
"notitle": true,
"required": false
}
}
},
"hidden": {
"type": "object",
"properties": {
"airGap": {
"title": "Air Gap",
"type": "boolean",
"required": false
},
"currentDepth": {
"title": "Current Depth",
"type": "boolean",
"required": false
},
"totalDepth": {
"title": "Total Depth",
"type": "boolean",
"required": false
},
"windDirection": {
"title": "Wind Direction",
"type": "boolean",
"required": false
},
"windSpeed": {
"title": "Wind Speed",
"type": "boolean",
"required": false
},
"windGustSpeed": {
"title": "Wind Gust Speed",
"type": "boolean",
"required": false
},
"windMaxDailySpeed": {
"title": "Wind Max Daily Speed",
"type": "boolean",
"required": false
},
"rainRate": {
"title": "Rain Rate",
"type": "boolean",
"required": false
},
"rainEventTotal": {
"title": "Rain Event Total",
"type": "boolean",
"required": false
},
"rainHourlyTotal": {
"title": "Rain Hourly Total",
"type": "boolean",
"required": false
},
"rainLast24hTotal": {
"title": "Rain Last 24h Total",
"type": "boolean",
"required": false
},
"rainDailyTotal": {
"title": "Rain Daily Total",
"type": "boolean",
"required": false
},
"rainWeeklyTotal": {
"title": "Rain Weekly Total",
"type": "boolean",
"required": false
},
"rainMonthlyTotal": {
"title": "Rain Monthly Total",
"type": "boolean",
"required": false
},
"rainYearlyTotal": {
"title": "Rain Yearly Total",
"type": "boolean",
"required": false
},
"rainTotal": {
"title": "Rain Total",
"type": "boolean",
"required": false
},
"solarRadiation": {
"title": "Solar Radiation",
"type": "boolean",
"required": false
},
"uvIndex": {
"title": "UV Index",
"type": "boolean",
"required": false
},
"indoorTemperature": {
"title": "Indoor Temperature",
"type": "boolean",
"required": false
},
"temperature": {
"title": "Temperature",
"type": "boolean",
"required": false
},
"blackGlobeTemperature": {
"title": "Black Globe Temperature",
"type": "boolean",
"required": false
},
"wetBulbGlobeTemperature": {
"title": "Wet Bulb Globe Temperature",
"type": "boolean",
"required": false
},
"indoorHumidity": {
"title": "Indoor Humidity",
"type": "boolean",
"required": false
},
"humidity": {
"title": "Humidity",
"type": "boolean",
"required": false
},
"soilMoisture": {
"title": "Soil Moisture",
"type": "boolean",
"required": false
},
"soilTemperature": {
"title": "Soil Temperature",
"type": "boolean",
"required": false
},
"soilConductivity": {
"title": "Soil Conductivity",
"type": "boolean",
"required": false
},
"waterLeak": {
"title": "Water Leak",
"type": "boolean",
"required": false
},
"leafWetness": {
"title": "Leaf Wetness",
"type": "boolean",
"required": false
},
"airQualityPM25": {
"title": "PM2.5 Air Quality",
"type": "boolean",
"required": false
},
"airQualityPM25Avg": {
"title": "PM2.5 Air Quality Avg",
"type": "boolean",
"required": false
},
"airQualityPM10": {
"title": "PM10 Air Quality",
"type": "boolean",
"required": false
},
"airQualityPM10Avg": {
"title": "PM10 Air Quality Avg",
"type": "boolean",
"required": false
},
"carbonDioxide": {
"title": "CO₂ Level",
"type": "boolean",
"required": false
},
"carbonDioxideAvg": {
"title": "CO₂ Level Avg",
"type": "boolean",
"required": false
},
"lightningEvents": {
"title": "Lightning Events",
"type": "boolean",
"required": false
},
"lightningDistance": {
"title": "Lightning Distance",
"type": "boolean",
"required": false
},
"lightningTime": {
"title": "Lightning Time",
"type": "boolean",
"required": false
},
"battery": {
"title": "Battery",
"type": "boolean",
"required": false
},
"BASE": {
"title": "BASE",
"type": "boolean",
"required": false
},
"LDS01": {
"title": "LDS01",
"type": "boolean",
"required": false
},
"WN20": {
"title": "WN20",
"type": "boolean",
"required": false
},
"WH25": {
"title": "WH25",
"type": "boolean",
"required": false
},
"WH26": {
"title": "WH26",
"type": "boolean",
"required": false
},
"WN30": {
"title": "WN30",
"type": "boolean",
"required": false
},
"WN31": {
"title": "WN31",
"type": "boolean",
"required": false
},
"WN34": {
"title": "WN34",
"type": "boolean",
"required": false
},
"WN35": {
"title": "WN35",
"type": "boolean",
"required": false
},
"WN38": {
"title": "WN38",
"type": "boolean",
"required": false
},
"WH40": {
"title": "WH40",
"type": "boolean",
"required": false
},
"WH41": {
"title": "WH41",
"type": "boolean",
"required": false
},
"WH45": {
"title": "WH45",
"type": "boolean",
"required": false
},
"WH46": {
"title": "WH46",
"type": "boolean",
"required": false
},
"WH51": {
"title": "WH51",
"type": "boolean",
"required": false
},
"WH52": {
"title": "WH52",
"type": "boolean",
"required": false
},
"WH55": {
"title": "WH55",
"type": "boolean",
"required": false
},
"WH57": {
"title": "WH57",
"type": "boolean",
"required": false
},
"WH65": {
"title": "WH65",
"type": "boolean",
"required": false
},
"WN67": {
"title": "WN67",
"type": "boolean",
"required": false
},
"WS68": {
"title": "WS68",
"type": "boolean",
"required": false
},
"WS80": {
"title": "WS80",
"type": "boolean",
"required": false
},
"WS85": {
"title": "WS85",
"type": "boolean",
"required": false
},
"WS90": {
"title": "WS90",
"type": "boolean",
"required": false
}
}
},
"customHidden": {
"type": "array",
"title": "Service ID",
"labelHtmlClass": "d-none",
"items": {
"type": "string",
"title": "Service ID",
"placeholder": "eg. WS85:rainRate, WH51CH1:waterLeak, BASE:indoorTemperature"
}
},
"units": {
"type": "object",
"properties": {
"wind": {
"title": "Wind Speed",
"type": "string",
"default": "mph",
"required": true,
"oneOf": [
{
"title": "Miles / Hour",
"enum": [
"mph"
]
},
{
"title": "Knots",
"enum": [
"kts"
]
},
{
"title": "Kilometers / Hour",
"enum": [
"kph"
]
},
{
"title": "Meters / Second",
"enum": [
"mps"
]
}
]
},
"rain": {
"title": "Rain Fall",
"type": "string",
"default": "in",
"required": true,
"oneOf": [
{
"title": "Inches",
"enum": [
"in"
]
},
{
"title": "Millimeters",
"enum": [
"mm"
]
}
]
},
"lightningDistance": {
"title": "Lightning Distance",
"type": "string",
"default": "mi",
"required": true,
"oneOf": [
{
"title": "Miles",
"enum": [
"mi"
]
},
{
"title": "Kilometers ",
"enum": [
"km"
]
}
]
},
"laserDistance": {
"title": "Laser Distance",
"type": "string",
"default": "in",
"required": true,
"oneOf": [
{
"title": "Inches",
"enum": [
"in"
]
},
{
"title": "Feet",
"enum": [
"ft"
]
},
{
"title": "Millimeters",
"enum": [
"mm"
]
},
{
"title": "Meters",
"enum": [
"mt"
]
}
]
},
"temperature": {
"title": "Temperature",
"type": "string",
"default": "fh",
"required": true,
"oneOf": [
{
"title": "Fahrenheit",
"enum": [
"fh"
]
},
{
"title": "Celcius",
"enum": [
"ce"
]
}
]
},
"soilConductivity": {
"title": "Soil Conductivity",
"type": "string",
"default": "microspcm",
"required": true,
"oneOf": [
{
"title": "Millisiemens / Centimeter",
"enum": [
"millispcm"
]
},
{
"title": "Microsiemens / Centimeter",
"enum": [
"microspcm"
]
}
]
}
}
}
}
},
"form": [
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Data Report",
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Configure the data report service to receive data reports.</p>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "6 6",
"notitle": true,
"items": [
"baseStation.mac"
]
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "3 3",
"notitle": true,
"items": [
"baseStation.port",
"baseStation.path"
]
}
]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Units",
"displayFlex": true,
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Select the units for the data properties.</p>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "2 2",
"notitle": true,
"items": [
{
"type": "flex",
"notitle": true,
"items": [
"units.wind",
"units.temperature",
"units.laserDistance"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"units.rain",
"units.lightningDistance",
"units.soilConductivity"
]
}
]
}
]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Hide Values",
"displayFlex": true,
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Select the data properties that should not be displayed.<img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The data property will be hidden across all devices that show that specific data property.\"></p>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "2 2",
"notitle": true,
"items": [
{
"type": "flex",
"notitle": true,
"items": [
"hidden.windDirection",
"hidden.windSpeed",
"hidden.windGustSpeed",
"hidden.windMaxDailySpeed",
"hidden.rainRate",
"hidden.rainEventTotal",
"hidden.rainHourlyTotal",
"hidden.rainLast24hTotal",
"hidden.rainDailyTotal",
"hidden.rainWeeklyTotal",
"hidden.rainMonthlyTotal",
"hidden.rainYearlyTotal",
"hidden.rainTotal"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"hidden.solarRadiation",
"hidden.uvIndex",
"hidden.indoorTemperature",
"hidden.temperature",
"hidden.blackGlobeTemperature",
"hidden.wetBulbGlobeTemperature",
"hidden.indoorHumidity",
"hidden.humidity",
"hidden.soilMoisture",
"hidden.soilTemperature",
"hidden.soilConductivity",
"hidden.waterLeak",
"hidden.leafWetness"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"hidden.airQualityPM10",
"hidden.airQualityPM10Avg",
"hidden.airQualityPM25",
"hidden.airQualityPM25Avg",
"hidden.carbonDioxide",
"hidden.carbonDioxideAvg",
"hidden.lightningEvents",
"hidden.lightningDistance",
"hidden.lightningTime",
"hidden.airGap",
"hidden.currentDepth",
"hidden.totalDepth",
"hidden.battery"
]
}
]
},
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Select the devices that should not be displayed.<img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The device will not show as an accessory and all data properties from the device will not be available.\"></p>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "2 2",
"notitle": true,
"items": [
{
"type": "flex",
"notitle": true,
"items": [
"hidden.BASE",
"hidden.LDS01",
"hidden.WN20",
"hidden.WH25",
"hidden.WH26",
"hidden.WN30",
"hidden.WN31",
"hidden.WN34"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"hidden.WN35",
"hidden.WN38",
"hidden.WH40",
"hidden.WH41",
"hidden.WH45",
"hidden.WH46",
"hidden.WH51",
"hidden.WH52"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"hidden.WH55",
"hidden.WH57",
"hidden.WH65",
"hidden.WN67",
"hidden.WS68",
"hidden.WS80",
"hidden.WS85",
"hidden.WS90"
]
}
]
},
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Specify the data properties on a specific device that should not be displayed.<a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/wiki/Setting-Custom-Hidden-Properties\" target=\"_blank\"><img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"Detailed instructions for setting the Service ID can be found by clicking here.\"></a></p>"
},
{
"key": "customHidden",
"add": "Hide Another Item",
"notitle": true,
"type": "flex",
"startEmpty": true,
"items": [
"customHidden[]"
]
}
]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Trigger Thresholds",
"displayFlex": true,
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Configure the thresholds to trigger the sensor.<img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"Select units first before configuring this section. Leave threshold empty for no trigger on that data property.\"></p>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "3 3",
"notitle": true,
"items": [
{
"type": "flex",
"notitle": true,
"items": [
{
"type": "help",
"helpvalue": "<strong>Wind Speed (mph)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Speed (kts)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kts';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Speed (kph)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Speed (mps)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mps';"
}
},
"thresholds.windSpeed",
{
"type": "help",
"helpvalue": "<strong>Wind Gust Speed (mph)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Gust Speed (kts)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kts';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Gust Speed (kph)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Gust Speed (mps)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mps';"
}
},
"thresholds.windGustSpeed",
{
"type": "help",
"helpvalue": "<strong>Wind Max Daily Speed (mph)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Max Daily Speed (kts)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kts';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Max Daily Speed (kph)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'kph';"
}
},
{
"type": "help",
"helpvalue": "<strong>Wind Max Daily Speed (mps)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.wind === 'mps';"
}
},
"thresholds.windMaxDailySpeed",
{
"type": "help",
"helpvalue": "<strong>Rain Rate (in/h)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Rate (mm/h)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainRate",
{
"type": "help",
"helpvalue": "<strong>Rain Event Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Event Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainEventTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Hourly Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Hourly Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainHourlyTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Last 24h Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Last 24h Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainLast24hTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Daily Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Daily Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainDailyTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Weekly Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Weekly Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainWeeklyTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Monthly Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Monthly Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainMonthlyTotal"
]
},
{
"type": "flex",
"notitle": true,
"items": [
{
"type": "help",
"helpvalue": "<strong>Rain Yearly Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Yearly Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainYearlyTotal",
{
"type": "help",
"helpvalue": "<strong>Rain Total (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Rain Total (mm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.rain === 'mm';"
}
},
"thresholds.rainTotal",
{
"type": "help",
"helpvalue": "<strong>UV Index<strong>",
"htmlClass": "mb-0"
},
"thresholds.uvIndex",
{
"type": "help",
"helpvalue": "<strong>Lightning Events<strong>",
"htmlClass": "mb-0"
},
"thresholds.lightningEvents",
{
"type": "help",
"helpvalue": "<strong>Lightning Distance (mi)<strong> <img width=\"6%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The value of the weather data property for Lightning Distance and Lightning Time must be less than the threshold to trigger the accessory (motion detected). All other accessories are triggered when the data property is greater than the threshold.\">",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.lightningDistance === 'mi';"
}
},
{
"type": "help",
"helpvalue": "<strong>Lightning Distance (km)<strong><img width=\"6%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The value of the weather data property for Lightning Distance and Lightning Time must be less than the threshold to trigger the accessory (motion detected). All other accessories are triggered when the data property is greater than the threshold.\">",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.lightningDistance === 'km';"
}
},
"thresholds.lightningDistance",
{
"type": "help",
"htmlClass": "mb-0",
"helpvalue": "<strong>Lightning Time (secs)<strong><img width=\"6%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"The value of the weather data property for Lightning Distance and Lightning Time must be less than the threshold to trigger the accessory (motion detected). All other accessories are triggered when the data property is greater than the threshold.\">"
},
"thresholds.lightningTime",
{
"type": "help",
"helpvalue": "<strong>Air Gap (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Air Gap (ft)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'ft';"
}
},
{
"type": "help",
"helpvalue": "<strong>Air Gap (mm)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mm';"
}
},
{
"type": "help",
"helpvalue": "<strong>Air Gap (m)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mt';"
}
},
"thresholds.airGap",
{
"type": "help",
"helpvalue": "<strong>Current Depth (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Current Depth (ft)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'ft';"
}
},
{
"type": "help",
"helpvalue": "<strong>Current Depth (mm)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mm';"
}
},
{
"type": "help",
"helpvalue": "<strong>Current Depth (m)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mt';"
}
},
"thresholds.currentDepth",
{
"type": "help",
"helpvalue": "<strong>Total Depth (in)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'in';"
}
},
{
"type": "help",
"helpvalue": "<strong>Total Depth (ft)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'ft';"
}
},
{
"type": "help",
"helpvalue": "<strong>Total Depth (mm)<strong> ",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mm';"
}
},
{
"type": "help",
"helpvalue": "<strong>Total Depth (m)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.laserDistance === 'mt';"
}
},
"thresholds.totalDepth",
{
"type": "help",
"helpvalue": "<strong>Soil Conductivity (mS/cm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.soilConductivity === 'millispcm';"
}
},
{
"type": "help",
"helpvalue": "<strong>Soil Conductivity (μS/cm)<strong>",
"htmlClass": "mb-0",
"condition": {
"functionBody": "return model.units.soilConductivity === 'microspcm';"
}
},
"thresholds.soilConductivity"
]
}
]
}
]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Name Overrides",
"displayFlex": true,
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Configure custom names for the services on a sensor.<a href=\"https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/wiki/Setting-Name-Overrides\" target=\"_blank\"><img width=\"4%\" src=\"https://raw.githubusercontent.com/rhockenbury/homebridge-ecowitt-weather-sensors/master/docs/assets/tooltip.png\" title=\"Detailed instructions for setting the Service ID can be found by clicking here.\"></a></p>"
},
{
"key": "nameOverrides",
"add": "Add Another Override",
"notitle": true,
"type": "flex",
"startEmpty": true,
"items": [
{
"type": "flex",
"flex-flow": "row wrap",
"notitle": true,
"flex": "3 3",
"items": [
"nameOverrides[].key",
"nameOverrides[].value"
]
}
]
}
]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Advanced Options",
"displayFlex": true,
"items": [
{
"type": "help",
"helpvalue": "<p class=\"help-block\">Configure internal plugin behavior."
},
{
"type": "flex",
"flex-flow": "row wrap",
"flex": "3 3",
"notitle": true,
"items": [
{
"type": "flex",
"notitle": true,
"items": [
"additional.staticNames",
"additional.validateMac",
"additional.validateTimestamp",
"additional.logDataReports"
]
},
{
"type": "flex",
"notitle": true,
"items": [
"additional.luxFactor",
"additional.acceptAnyPath",
"additional.removeStaleDevices"
]
}
]
}
]
}
]
}