mirror of https://github.com/arendst/Tasmota.git
MQTT commands added.
parent
563171e3a9
commit
9931d4ee0e
|
@ -47,6 +47,13 @@ The APDS-9960 chip (or breakout board) must be connected to the ESP8266 and the
|
|||
|
||||
![I2C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg)
|
||||
|
||||
### MQTT commands
|
||||
| Command | Value | Description |
|
||||
|---|---|---|
|
||||
| Sensor27 || Show APDS9960 gesture/RGBC mode |
|
||||
| Sensor27 | 0 / off | Disable APDS9960 gesture mode/Enable RGBC mode |
|
||||
| Sensor27 | 1 / on | Enable APDS9960 gesture mode/Disable RGBC mode |
|
||||
|
||||
### Example rules
|
||||
#### Power on light when ambient light is below 100 lux.
|
||||
`rule on APDS9960#Ambient<100 do power on endon on APDS9960#Ambient>110 do power off endon`
|
||||
|
|
Loading…
Reference in New Issue