Skip to content

Commit

Permalink
expose options file added
Browse files Browse the repository at this point in the history
  • Loading branch information
u236 committed Dec 3, 2023
1 parent cb1dff2 commit c2be4ed
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 46 deletions.
135 changes: 135 additions & 0 deletions deploy/data/usr/share/homed-zigbee/expose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"alarm": {"type": "binary", "icon": "mdi:bell", "_comment_": "may be toggle"},
"batteryLow": {"type": "binary", "class": "battery"},
"contact": {"type": "binary", "class": "door"},
"fault": {"type": "binary", "icon": "mdi:alert"},
"gas": {"type": "binary", "class": "gas"},
"motion": {"type": "binary", "class": "motion"},
"occupancy": {"type": "binary", "class": "occupancy"},
"smoke": {"type": "binary", "class": "smoke"},
"tamper": {"type": "binary", "class": "tamper"},
"test": {"type": "binary", "icon": "mdi:eyedropper"},
"vibration": {"type": "binary", "class": "vibration"},
"waterLeak": {"type": "binary", "class": "moisture"},
"windowOpen": {"type": "binary", "icon": "mdi:mdi:window-open-variant"},

"action": {"type": "sensor", "icon": "mdi:gesture-double-tap"},
"battery": {"type": "sensor", "class": "battery", "unit": "%", "round": 1},
"co2": {"type": "sensor", "class": "carbon_dioxide", "unit": "ppm"},
"count": {"type": "sensor", "icon": "mdi:counter", "_comment_": "may be numeric"},
"current": {"type": "sensor", "class": "current", "unit": "A", "round": 3},
"dosePerHour": {"type": "sensor", "unit": "μR/h", "icon": "mdi:radioactive"},
"eco2": {"type": "sensor", "class": "carbon_dioxide", "unit": "ppm"},
"energy": {"type": "sensor", "class": "energy", "unit": "kWn", "round": 2},
"event": {"type": "sensor", "icon": "mdi:bell"},
"eventsPerMinute": {"type": "sensor", "icon": "mdi:radioactive"},
"fallStatus": {"type": "sensor", "icon": "mdi:alert"},
"formaldehyde": {"type": "sensor", "class": "volatile_organic_compounds", "unit": "µg/m³"},
"frequency": {"type": "sensor", "class": "frequency", "unit": "Hz", "round": 1},
"humidity": {"type": "sensor", "class": "humidity", "unit": "%", "round": 1},
"illuminance": {"type": "sensor", "class": "illuminance", "unit": "lx"},
"moisture": {"type": "sensor", "class": "moisture", "unit": "%", "round": 1},
"motionSpeed": {"type": "sensor", "icon": "mdi:motion"},
"motionStatus": {"type": "sensor", "icon": "mdi:motion"},
"pm1": {"type": "sensor", "class": "pm1", "unit": "µg/m³", "icon": "mdi:molecule"},
"pm10": {"type": "sensor", "class": "pm10", "unit": "µg/m³", "icon": "mdi:molecule"},
"pm25": {"type": "sensor", "class": "pm25", "unit": "µg/m³"},
"position": {"type": "sensor", "icon": "mdi:valve", "unit": "%"},
"power": {"type": "sensor", "class": "power", "unit": "W", "round": 2},
"presenceStatus": {"type": "sensor", "icon": "mdi:home"},
"pressure": {"type": "sensor", "class": "pressure", "unit": "kPa", "round": 1},
"scene": {"type": "sensor", "icon": "mdi:gesture-tap-button"},
"smokeConcentration": {"type": "sensor", "unit": "ppm", "icon": "mdi:smoke"},
"staticDwellAlarm": {"type": "sensor", "icon": "mdi:bell"},
"targetDistance": {"type": "sensor", "class": "distance", "unit": "m", "round": 1},
"temperature": {"type": "sensor", "class": "temperature", "unit": "°C", "round": 1},
"voc": {"type": "sensor", "class": "volatile_organic_compounds_parts", "unit": "ppb"},
"voltage": {"type": "sensor", "class": "voltage", "unit": "V", "round": 1},

"autoBrightness": {"type": "toggle", "icon": "mdi:brightness-4"},
"boost": {"type": "toggle", "control": true, "icon": "mdi:fire"},
"buzzerFeedback": {"type": "toggle", "icon": "mdi:music"},
"calibration": {"type": "toggle", "icon": "mdi:swap-horizontal-bold"},
"childLock": {"type": "toggle", "control": true, "icon": "mdi:lock"},
"co2AutoCalibration": {"type": "toggle", "icon": "mdi:molecule-co2"},
"co2LongChart": {"type": "toggle", "icon": "mdi:chart-box"},
"co2Relay": {"type": "toggle", "icon": "mdi:molecule-co2"},
"co2RelayInvert": {"type": "toggle", "icon": "mdi:molecule-co2"},
"ecoMode": {"type": "toggle", "control": true, "icon": "mdi:leaf"},
"frostProtection": {"type": "toggle", "control": true, "icon": "mdi:snowflake"},
"humidityRelay": {"type": "toggle", "icon": "mdi:water-percent"},
"humidityRelayInvert": {"type": "toggle", "icon": "mdi:water-percent"},
"indicator": {"type": "toggle", "icon": "mdi:led-on"},
"interlock": {"type": "toggle", "icon": "mdi:lock"},
"ledFeedback": {"type": "toggle", "icon": "mdi:led-on"},
"nightBacklight": {"type": "toggle", "icon": "mdi:brightness-4"},
"pm25Relay": {"type": "toggle", "icon": "mdi:molecule"},
"pm25RelayInvert": {"type": "toggle", "icon": "mdi:molecule"},
"pressureLongChart": {"type": "toggle", "icon": "mdi:chart-box"},
"reverse": {"type": "toggle", "icon": "mdi:swap-horizontal-bold"},
"statusMemory": {"type": "toggle", "icon": "mdi:memory"},
"temperatureRelay": {"type": "toggle", "icon": "mdi:thermometer"},
"temperatureRelayInvert": {"type": "toggle", "icon": "mdi:thermometer"},
"tumbleSwitch": {"type": "toggle", "icon": "mdi:dip-switch"},
"vocRelay": {"type": "toggle", "icon": "mdi:molecule"},
"vocRelayInvert": {"type": "toggle", "icon": "mdi:molecule"},
"windowDetection": {"type": "toggle", "icon": "mdi:mdi:window-open-variant"},

"altitude": {"type": "number", "unit": "m", "icon": "mdi:altimeter"},
"awayDays": {"type": "number", "icon": "mdi:calendar-week"},
"awayTemperature": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"boostTimeout": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"co2High": {"type": "number", "unit": "ppm", "icon": "mdi:molecule-co2"},
"co2Low": {"type": "number", "unit": "ppm", "icon": "mdi:molecule-co2"},
"co2ManualCalibration": {"type": "number", "unit": "ppm", "icon": "mdi:molecule-co2"},
"comfortTemperature": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"detectionDelay": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"distanceMax": {"type": "number", "unit": "m", "icon": "mdi:arrow-left-right"},
"distanceMin": {"type": "number", "unit": "m", "icon": "mdi:arrow-left-right"},
"duration": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"ecoTemperature": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"fadingTime": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"fallSensitivity": {"type": "number", "icon": "mdi:dumbbell"},
"humidityHigh": {"type": "number", "unit": "%", "icon": "mdi:water-percent"},
"humidityLow": {"type": "number", "unit": "%", "icon": "mdi:water-percent"},
"humidityOffset": {"type": "number", "unit": "%", "icon": "mdi:water-percent"},
"hysteresis": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"indicatorLevel": {"type": "number", "icon": "mdi:led-on"},
"melody": {"type": "number", "icon": "mdi:music-note"},
"motionSensitivity": {"type": "number", "icon": "mdi:dumbbell"},
"pattern": {"type": "number", "control": true, "icon": "mdi:swap-horizontal-bold"},
"pm25High": {"type": "number", "unit": "µg/m³", "icon": "mdi:molecule"},
"pm25Low": {"type": "number", "unit": "µg/m³", "icon": "mdi:molecule"},
"pressureOffset": {"type": "number", "unit": "kPa", "icon": "mdi:gauge"},
"readInterval": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"reportingDelay": {"type": "number", "unit": "sec", "icon": "mdi:timer"},
"sensitivity": {"type": "number", "icon": "mdi:dumbbell"},
"sensorCount": {"type": "number", "icon": "mdi:dip-switch"},
"temperatureHigh": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"temperatureLow": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"temperatureOffset": {"type": "number", "unit": "°C", "icon": "mdi:thermometer"},
"threshold": {"type": "number", "_comment_": "need icon and unit, maybe delete?"},
"timer": {"type": "number", "control": true, "unit": "min", "icon": "mdi:timer"},
"tumbleAlarmTime": {"type": "number", "unit": "min", "icon": "mdi:timer"},
"vocHigh": {"type": "number", "unit": "ppb", "icon": "mdi:molecule"},
"vocLow": {"type": "number", "unit": "ppb", "icon": "mdi:molecule"},

"buttonMode": {"type": "select"},
"detectionMode": {"type": "select"},
"displayMode": {"type": "select"},
"distanceMode": {"type": "select", "icon": "mdi:arrow-left-right"},
"indicatorMode": {"type": "select", "icon": "mdi:lightbulb-on"},
"leftMode": {"type": "select"},
"lightType": {"type": "select", "icon": "mdi:lightbulb-on"},
"operationMode": {"type": "select"},
"powerOnStatus": {"type": "select"},
"radarScene": {"type": "select"},
"rightMode": {"type": "select"},
"sensitivityMode": {"type": "select", "icon": "mdi:dumbbell"},
"sensorType": {"type": "select"},
"switchMode": {"type": "select"},
"switchType": {"type": "select"},
"timeoutMode": {"type": "select", "icon": "mdi:timer"},
"volumeMode": {"type": "select", "icon": "mdi:volume-high"},
"weekMode": {"type": "select", "icon": "mdi:calendar-week"}
}
Loading

0 comments on commit c2be4ed

Please sign in to comment.