mirror of https://github.com/arendst/Tasmota.git
added Sonoff SC & PMS5003 and HTU21
parent
509ae42c98
commit
d021aced6f
|
@ -1,3 +1,4 @@
|
|||
|
||||
# Table of Contents
|
||||
|
||||
- [Basic Response](#basic-response)
|
||||
|
@ -10,6 +11,8 @@
|
|||
- [DHT11](#dht11)
|
||||
- [DS18B20](#ds18b20)
|
||||
- [SHT3X (and DHT11, multiple Sensor example)](#sht3x-and-dht11-multiple-sensor-example)
|
||||
- [Sonoff SC](#sonoff-sc)
|
||||
- [PMS5003 and HTU21](#pms5003-and-htu21)
|
||||
- [Bugged JSON in <= 5.10.0 (invalid JSON)](#bugged-json-in--5100-invalid-json)
|
||||
- [PHP Fix for invalid JSON <= 5.10.0](#php-fix-for-invalid-json--5100)
|
||||
|
||||
|
@ -231,7 +234,44 @@ After StatusTIM
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
### Sonoff SC
|
||||
|
||||
"StatusSNS": {
|
||||
"Time": "2018-02-16T16:18:49",
|
||||
"Temperature": 25,
|
||||
"Humidity": 83,
|
||||
"Light": 10,
|
||||
"Noise": 20,
|
||||
"AirQuality": 100,
|
||||
"TempUnit": "C"
|
||||
},
|
||||
|
||||
### PMS5003 and HTU21
|
||||
|
||||
"StatusSNS": {
|
||||
"Time": "2018-02-16T16:22:12",
|
||||
"HTU21": {
|
||||
"Temperature": 24.7,
|
||||
"Humidity": 32.1
|
||||
},
|
||||
"PMS5003": {
|
||||
"CF1": 1,
|
||||
"CF2.5": 2,
|
||||
"CF10": 2,
|
||||
"PM1": 1,
|
||||
"PM2.5": 2,
|
||||
"PM10": 2,
|
||||
"PB0.3": 423,
|
||||
"PB0.5": 116,
|
||||
"PB1": 17,
|
||||
"PB2.5": 1,
|
||||
"PB5": 0,
|
||||
"PB10": 0
|
||||
},
|
||||
"TempUnit": "C"
|
||||
},
|
||||
|
||||
[Back to Top](#table-of-contents)
|
||||
|
||||
## Bugged JSON in <= 5.10.0 (invalid JSON)
|
||||
|
@ -420,4 +460,4 @@ Also, before 5.10.0j JSON was translated! (< 5.10.0j)
|
|||
return $string;
|
||||
}
|
||||
|
||||
[Back to Top](#table-of-contents)
|
||||
[Back to Top](#table-of-contents)
|
||||
|
|
Loading…
Reference in New Issue