Skip to content
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

radar_sensor TZE200 2aaelwxk #774

Open
wants to merge 23 commits into
base: SDK3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .homeycompose/capabilities/alarm_breathe_presence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"title": {
"en": "Breath presence",
"nl": "Adem aanwezigheid",
"de": "Atempräsenz",
"fr": "Présence respiratoire",
"it": "Presenza del respiro",
"sv": "Andningsnärvaro",
"no": "Åndedrettsnærvær",
"es": "Presencia de la respiración",
"da": "Åndedræt nærvær",
"ru": "Присутствие дыхания",
"pl": "Obecność oddechu"
},
"type": "boolean",
"getable": true,
"setable": false,
"uiComponent": "sensor",
"icon": "/drivers/radar_sensor_2/assets/images/breathe_motion.svg",
"insights": true,
"options": {
"zoneActivity": true
},
"insightsTitleTrue": {
"en": "Breath alarm turned on",
"nl": "Ademalarm ging af",
"de": "Atem-Alarm ist angegangen",
"fr": "Alarme respiratoire s'est déclenchée",
"it": "Allarme di respiro attivato",
"sv": "Andningslarm aktiverat",
"no": "Åndedrettsalarm aktivert",
"es": "Alarma de respiración activada",
"da": "Åndedrætsalarm blev aktiveret",
"ru": "Сигнал дыхания включен",
"pl": "Czujnik oddechu włączony"
},
"insightsTitleFalse": {
"en": "Breath alarm turned off",
"nl": "Ademalarm ging uit",
"de": "Atem-Alarm ist ausgegangen",
"fr": "Alarme respiratoire s'est désactivée",
"it": "Allarme di respiro disattivato",
"sv": "Andningslarm inaktiverat",
"no": "Åndedrettsalarm deaktivert",
"es": "Alarma de respiración desactivada",
"da": "Åndedrætsalarm blev deaktiveret",
"ru": "Сигнал дыхания выключен",
"pl": "Czujnik oddechu wyłączony"
}
}
50 changes: 50 additions & 0 deletions .homeycompose/capabilities/alarm_large_presence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"title": {
"en": "Large Presence",
"nl": "Grote Aanwezigheid",
"de": "Große Präsenz",
"fr": "Grande Présence",
"it": "Presenza Ampia",
"sv": "Stor Närvaro",
"no": "Stor Nærvær",
"es": "Presencia Grande",
"da": "Stor Nærvær",
"ru": "Большое Присутствие",
"pl": "Duża Obecność"
},
"type": "boolean",
"getable": true,
"setable": false,
"uiComponent": "sensor",
"icon": "/drivers/radar_sensor_2/assets/images/large_motion.svg",
"insights": true,
"options": {
"zoneActivity": true
},
"insightsTitleTrue": {
"en": "Large Presence alarm turned on",
"nl": "Grote Aanwezigheid alarm ging af",
"de": "Große Präsenz Alarm ist angegangen",
"fr": "Alarme Grande Présence s'est déclenchée",
"it": "Allarme Presenza Ampia attivato",
"sv": "Stor Närvaro larm aktiverat",
"no": "Stor Nærvær alarm aktivert",
"es": "Alarma de Presencia Grande activada",
"da": "Stor Nærvær alarm blev aktiveret",
"ru": "Большой сигнал Присутствие включен",
"pl": "Duży czujnik Obecność włączony"
},
"insightsTitleFalse": {
"en": "Large Presence alarm turned off",
"nl": "Grote Aanwezigheid alarm ging uit",
"de": "Große Präsenz Alarm ist ausgegangen",
"fr": "Alarme Grande Présence s'est désactivée",
"it": "Allarme Presenza Ampia disattivato",
"sv": "Stor Närvaro larm inaktiverat",
"no": "Stor Nærvær alarm deaktivert",
"es": "Alarma de Presencia Grande desactivada",
"da": "Stor Nærvær alarm blev deaktiveret",
"ru": "Большой сигнал Присутствие выключен",
"pl": "Duży czujnik Obecność wyłączony"
}
}
50 changes: 50 additions & 0 deletions .homeycompose/capabilities/alarm_small_presence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"title": {
"en": "Small Presence",
"nl": "Kleine Aanwezigheid",
"de": "Kleine Präsenz",
"fr": "Petite Présence",
"it": "Presenza Piccola",
"sv": "Liten Närvaro",
"no": "Liten Nærvær",
"es": "Pequeña Presencia",
"da": "Lille Nærvær",
"ru": "Маленькое Присутствие",
"pl": "Mała Obecność"
},
"type": "boolean",
"getable": true,
"setable": false,
"uiComponent": "sensor",
"icon": "/drivers/radar_sensor_2/assets/images/small_motion.svg",
"insights": true,
"options": {
"zoneActivity": true
},
"insightsTitleTrue": {
"en": "Small Presence alarm turned on",
"nl": "Kleine Aanwezigheid alarm ging af",
"de": "Kleine Präsenz Alarm ist angegangen",
"fr": "Alarme Petite Présence s'est déclenchée",
"it": "Allarme Presenza Piccola attivato",
"sv": "Liten Närvaro larm aktiverat",
"no": "Liten Nærvær alarm aktivert",
"es": "La alarma de Pequeña Presencia activada",
"da": "Lille Nærvær alarm blev aktiveret",
"ru": "Маленький сигнал Присутствие включен",
"pl": "Mały czujnik Obecność włączony"
},
"insightsTitleFalse": {
"en": "Small Presence alarm turned off",
"nl": "Kleine Aanwezigheid alarm ging uit",
"de": "Kleine Präsenz Alarm ist ausgegangen",
"fr": "Alarme Petite Présence s'est désactivée",
"it": "Allarme Presenza Piccola disattivato",
"sv": "Liten Närvaro larm inaktiverat",
"no": "Liten Nærvær alarm deaktivert",
"es": "La alarma de Pequeña Presencia se ha desactivado",
"da": "Lille Nærvær alarm blev deaktiveret",
"ru": "Маленький сигнал Присутствие выключен",
"pl": "Mały czujnik Obecność wyłączony"
}
}
14 changes: 14 additions & 0 deletions .homeycompose/capabilities/last_watering_time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "number",
"title": { "en": "Last Watering Time", "nl": "Laatste tijd bewatering" },
"uiComponent": "sensor",
"getable": true,
"setable": false,
"insights": true,
"options": {
"zoneActivity": true
},
"min": 0,
"icon": "/drivers/smart_water_timer/assets/images/pressure-gauge.svg",
"units": { "en": "sec", "nl": "sec" }
}
112 changes: 112 additions & 0 deletions .homeycompose/capabilities/measure_water_flow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"type": "number",
"title": {
"en": "Valve Water Flow",
"nl": "Kraan Water Flow"
},
"desc": {
"en": "Set the position of Water Valve. 0% is closed, 100% is open"
},
"icon": "/drivers/smart_water_timer/assets/images/sprinklers.svg",
"units": "%",
"getable": true,
"setable": true,
"chartType": "stepLine",
"uiComponent": "slider",
"min": 0,
"max": 1,
"step": 0.05,
"value": 0.5,
"decimals": 2,
"$flow": {
"triggers": [
{
"id": "water_flow_changed",
"title": {
"en": "water_flow-level changed",
"nl": "water_flow-niveau veranderd",
"de": "water_flowm-Niveau geändert",
"fr": "Intensité lumineuse a été modifiée",
"it": "Intensità luminosa modificata",
"sv": "water_flowningsnivå ändrades",
"no": "Dempingsnivå ble endret",
"es": "La intensidad de la luz ha cambiado",
"da": "Lysniveau ændret",
"ru": "Уровень яркости изменен",
"pl": "Zmiana poziomu przygaszenia"
},
"tokens": [
{
"name": "water_flow",
"type": "number",
"title": {
"en": "Level",
"nl": "Niveau",
"de": "Niveau",
"fr": "Niveau",
"it": "Livello",
"sv": "Nivå",
"no": "Nivå",
"es": "Nivel",
"da": "Niveau",
"ru": "Уровень",
"pl": "Poziom"
},
"example": 0.5
}
]
}
],
"actions": [
{
"id": "water_flow",
"highlight": true,
"title": {
"en": "waterflow to",
"nl": "waterflow naar",
"de": "waterflow auf"
},
"args": [
{
"name": "water_flow",
"type": "range",
"min": 0,
"max": 1,
"step": 0.01,
"value": 0.5,
"label": "%",
"labelMultiplier": 100,
"labelDecimals": 0
}
]
},
{
"id": "water_flow_relative",
"title": {
"en": "Set relative water flow-level",
"nl": "Zet relatief water flow-niveau",
"de": "Relatives waterflow Niveau setzen"
},
"hint": {
"en": "decrease or increase with respect to the device's current waterflow level.",
"nl": "Verhoog of verlaag de waterflow ten opzichte van het huidige waterflow niveau van het apparaat.",
"ru": "Уменьшите или увеличьте яркость относительно текущего уровня яркости устройства.",
"pl": "Przygaś lub rozjaśnij względem obecnego poziomu przygaszenia urządzenia."
},
"args": [
{
"name": "water_flow",
"type": "range",
"min": 0,
"max": 1,
"step": 0.01,
"value": 0.5,
"label": "%",
"labelMultiplier": 100,
"labelDecimals": 0
}
]
}
]
}
}
30 changes: 30 additions & 0 deletions .homeycompose/capabilities/meter_valve_state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"type": "number",
"title": {
"en": "Valve State",
"nl": "Kraanstatus"
},
"units": {
"en": "%",
"nl": "%"
},
"icon": "/drivers/smart_water_timer/assets/images/sprinklers.svg",
"getable": true,
"setable": false,
"chartType": "area",
"uiComponent": "sensor",
"min": 0,
"max": 100,
"steps": 5,
"decimals": 0,
"capabilitiesOptions": {
"titleTrue": {
"en": "Open",
"nl": "Open"
},
"titleFalse": {
"en": "Closed",
"nl": "Gesloten"
}
}
}
18 changes: 18 additions & 0 deletions .homeycompose/capabilities/remaining_watering_time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "number",
"title": {
"en": "Remaining Watering Time",
"nl": "Resterende tijd bewatering"
},
"uiComponent": "sensor",
"getable": true,
"setable": false,
"insights": true,
"options": {
"zoneActivity": true
},
"icon": "/drivers/smart_water_timer/assets/images/pressure-gauge.svg",
"units": { "en": "sec", "nl": "sec" },
"min": 0,
"decimals": 0
}
16 changes: 16 additions & 0 deletions .homeycompose/capabilities/shutdown_timer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "number",
"title": { "en": "Auto Shutdown % Valve", "nl": "Auto Stop % Waarde" },
"uiComponent": "sensor",
"getable": true,
"setable": false,
"insights": true,
"options": {
"zoneActivity": true
},
"icon": "/drivers/smart_water_timer/assets/images/nighttime.svg",
"units": { "en": "sec", "nl": "sec" },
"min": 0,
"max": 1440,
"decimals": 0
}
18 changes: 11 additions & 7 deletions .homeycompose/capabilities/target_distance.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"type": "number",
"title": { "en": "Target distance" },
"uiComponent": "sensor",
"getable": true,
"setable": false,
"units": { "en": "m" },
"icon": "/drivers/radar_sensor/assets/distance.svg"
"type": "number",
"title": { "en": "Target distance", "nl": "Afstand doel" },
"icon": "/drivers/radar_sensor/assets/images/measure.svg",
"units": { "en": "m", "nl": "m" },
"uiComponent": "sensor",
"getable": true,
"setable": false,
"insights": true,
"options": {
"zoneActivity": true
}
}
20 changes: 20 additions & 0 deletions .homeycompose/capabilities/valve_state_auto_shutdown.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "number",
"title": {
"en": "Valve State @ autoshutdown",
"nl": "Kraanstatus @ auto stop"
},
"units": {
"en": "%",
"nl": "%"
},
"icon": "/drivers/smart_water_timer/assets/images/nighttime.svg",
"getable": true,
"setable": false,
"chartType": "area",
"uiComponent": "sensor",
"min": 0,
"max": 100,
"steps": 5,
"decimals": 0
}
Loading