Update FW version string for Mijia Light Sensor GZCGQ01LM
"manufacturername": "$MF_XIAOMI",
"modelid": "lumi.sen_ill.mgl01",
"vendor": "Xiaomi",
- "product": "Mija Light Sensor GZCGQ01LM",
+ "product": "Mijia Light Sensor GZCGQ01LM",
"status": "Gold",
"md:known_issues": [ ],
"sleeper": true,
{
"type": "$TYPE_LIGHT_LEVEL_SENSOR",
"restapi": "/sensors",
- "uuid": [ "$address.ext", "0x01", "0x0400"],
- "fingerprint": { "profile": "0x0104", "device": "0x0106", "endpoint": "0x01", "in": ["0x0001", "0x0400"] },
+ "uuid": [
+ "$address.ext",
+ "0x01",
+ "0x0400"
+ ],
+ "fingerprint": {
+ "profile": "0x0104",
+ "device": "0x0106",
+ "endpoint": "0x01",
+ "in": [
+ "0x0001",
+ "0x0400"
+ ]
+ },
"items": [
{
"name": "attr/lastseen"
"name": "attr/name"
},
{
- "name": "attr/swversion"
+ "name": "attr/swversion",
+ "awake": true,
+ "parse": {
+ "at": "0x00f7",
+ "ep": 1,
+ "fn": "xiaomi:special",
+ "idx": "0x08",
+ "script": "xiaomi_swversion.js"
+ },
+ "read": {
+ "fn": "none"
+ }
},
{
"name": "attr/type"
},
{
"name": "config/battery",
- "parse": {"fn": "xiaomi:special", "ep": 1, "at": "0x00f7", "idx": "0x01", "script": "xiaomi_battery.js"},
"awake": true
+ "parse": {
+ "at": "0x00f7",
+ "ep": 1,
+ "fn": "xiaomi:special",
+ "idx": "0x01",
+ "script": "xiaomi_battery.js"
+ },
},
{
"name": "config/reachable"
},
{
"name": "state/lightlevel",
- "parse": {"ep": 1, "cl": "0x0400", "at": "0x0000", "script": "../generic/illuminance_cluster/sml_light_level.js"}
+ "parse": {
+ "at": "0x0000",
+ "cl": "0x0400",
+ "ep": 1,
+ "script": "../generic/illuminance_cluster/sml_light_level.js"
+ }
},
{
"name": "state/dark"
"lightlevel": 13425,
"lux": 22
},
- "swversion": "2019",
+ "swversion": "0.0.0_0008",
"type": "ZHALightLevel",
"uniqueid": "04:cf:8c:df:3c:7f:1f:80-01-0400"
}
