Code : Tout sélectionner
{
"_comment": "Sunricher HK-SENSOR-4IN1-A",
"_source": "https://easydomoticz.com/forum/viewtopic.php?t=14085",
"_description": "For in One Sensor",
"_blakadder": "",
"_version": "1.0",
"Ep": {
"01": { "0000": "", "0019": "", "0001": "", "0003": "", "0009": "", "0406": "", "Type": "Motion" },
"02": { "0000": "", "0003": "", "0500": "", "Type": "" },
"03": { "0000": "", "0003": "", "0402": "", "Type": "Temp" },
"04": { "0000": "", "0003": "", "0405": "", "Type": "Humi" },
"05": { "0000": "", "0003": "", "0400": "", "Type": "Lux" }
},
"Type": "",
"ClusterToBind": [ "0001", "0400", "0402", "0405", "0406", "0500" ],
"ConfigureReporting": {
"0001": { "Attributes": { "0021": { "DataType": "21", "MinInterval": "0001", "MaxInterval": "7080", "TimeOut": "0000", "Change": "0005" }}},
"0400": { "Attributes": { "0000": { "DataType": "21", "MinInterval": "0005", "MaxInterval": "0708", "TimeOut": "0000", "Change": "0005" }}},
"0402": { "Attributes": { "0000": { "DataType": "29", "MinInterval": "000A", "MaxInterval": "0708", "TimeOut": "0000", "Change": "0001" }}},
"0405": { "Attributes": { "0000": { "DataType": "21", "MinInterval": "003C", "MaxInterval": "0708", "TimeOut": "0000", "Change": "0001" }}},
"0406": { "Attributes": { "0000": { "DataType": "18", "MinInterval": "0001", "MaxInterval": "012C", "TimeOut": "0000", "Change": "01" }}}
},
"ReadAttributes": {
"0000": [ "0000", "0001", "0002", "0003", "0004", "0005", "0007", "000a", "4000"],
"0001": ["0020","0021", "0035", "003e"],
"0019": [],
"0400": ["0000", "0001", "0002"],
"0402": ["0000", "0001", "0002"],
"0405": ["0000", "0001", "0002"],
"0406": [ "0000", "0001", "0002", "0010", "1000", "1001", "1002", "1003"],
"0500": ["0000", "0001", "0002", "0010", "0011"]
},
"Param": {
"PIROccupiedToUnoccupiedDelay": 30,
"Sunricher_PIR_SENSITIVITY": 15,
"Sunricher_MOTION_BLIND_TIME": 15,
"Sunricher_MOTION_PULSE_COUNTER": 2,
"Sunricher_PIR_TRIGGER_TIME_INTERVAL": 2
},
"BatteryDevice": 1,
"BatteryPercentageConverter": 2
}
Après je te laisse voir la documentation pour les différents paramètres.
ATTENTION, il faut que le device soit en mode ecoute quand tu fais ces changements,