Created
October 22, 2023 04:23
-
-
Save kakopappa/48649129dbed3021cda75a4d8ce94515 to your computer and use it in GitHub Desktop.
Detecting floods using water sensor : https://help.sinric.pro/pages/tutorials/custom-device-types/water-sensor/flood-leak-rain-sensor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Flood Sensor", | |
"description": "Flood Sensor", | |
"deviceTypeId": "65335c897dc29736db4272d2", | |
"capabilities": [ | |
{ | |
"id": "5ff0b41b994fd31b7d5e8961", | |
"mode": { | |
"instanceId": "modeInstance1", | |
"locale": "en-US", | |
"modeName": "Flooding", | |
"nonControllable": true, | |
"modeValues": [ | |
"Yes", | |
"No" | |
] | |
} | |
}, | |
{ | |
"id": "5ff0b45f994fd31b7d5e89c2", | |
"range": { | |
"instanceId": "rangeInstance1", | |
"locale": "en-US", | |
"rangeName": "Water Level", | |
"minimumValue": 0, | |
"maximumValue": 10, | |
"precision": 1, | |
"unitOfMeasure": "600e7937a7a09c3f3230f8ed", | |
"presets": [], | |
"nonControllable": true | |
} | |
}, | |
{ | |
"id": "62a707bd9e2f39090569e2d3" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment