mirror of https://github.com/arendst/Tasmota.git
halloween webui
parent
b1a3afe16b
commit
4232bc0869
21
APDS-9960.md
21
APDS-9960.md
|
@ -36,6 +36,9 @@ On first boot sensor will start in gesture mode. It will not appear in the webUI
|
|||
When you enable RGBC mode with `Sensor27 0` sensor will show up in web UI:
|
||||
![](https://i.postimg.cc/W1Cn8Gy1/APDS-9960.png)
|
||||
|
||||
and in MQTT topic (according to TelePeriod):
|
||||
`MQT: tele/tasmota/SENSOR = {"Time":"2019-10-31T21:48:51","APDS9960":{"Red":282,"Green":252,"Blue":196,"Ambient":169,"CCT":4217,"Proximity":9}}`
|
||||
|
||||
## Commands
|
||||
| Command | Value | Description |
|
||||
|---|---|---|
|
||||
|
@ -46,11 +49,21 @@ When you enable RGBC mode with `Sensor27 0` sensor will show up in web UI:
|
|||
| Sensor27 | 3 ...255 | Set ATIME register for different integration times|
|
||||
|
||||
### Example rules
|
||||
#### Power on light when ambient light is below 100 lux.
|
||||
`rule on Tele-APDS9960#Ambient<100 do power on endon on Tele-APDS9960#Ambient>110 do power off endon`
|
||||
Device will be in RGBC mode until something is close to it, then it switches into gesture mode for 60 seconds.
|
||||
```
|
||||
Rule on APDS9960#Proximity=250 do backlog Sensor27 1; RuleTimer1 60 endon on Rules#Timer=1 do Sensor27 0 endon
|
||||
```
|
||||
|
||||
Relay ON when ambient light is below 100 lux.
|
||||
```
|
||||
Rule on APDS9960#Ambient<100 do POWER ON endon
|
||||
```
|
||||
|
||||
Control ON/OFF, brightness and color temperature with gestures
|
||||
```
|
||||
Rule on APDS9960#Long do power toggle endon on APDS9960#Up do dimmer + endon on APDS9960#Down do dimmer - endon on APDS9960#Left do ct + endon on APDS9960#Right do ct - endon
|
||||
```
|
||||
|
||||
##### Control ON/OFF, brightness and color temperature with gestures
|
||||
`rule on Tele-APDS9960#Long do power toggle endon on Tele-APDS9960#Up do dimmer + endon on Tele-APDS9960#Down do dimmer - endon on Tele-APDS9960#Left do ct + endon on Tele-APDS9960#Right do ct - endon`
|
||||
## Known issues:
|
||||
|
||||
1. The different PCB’s on the market seem to differ quite substantially regarding to their electrical characteristics. We have at least one case report, where this led to a malfunction on an ESP8266-board within Tasmota but in another library too. The exact technical reason can only be suspected, but it is probably related to electrical noise and/or power consumption.
|
||||
|
|
5
WebUI.md
5
WebUI.md
|
@ -23,4 +23,9 @@ WebColor {"WebColor":["#eeeeee","#181818","#4f4f4f","#000000","#dddddd","#008000
|
|||
White theme (default until 6.7.1.)
|
||||
```
|
||||
WebColor {"WebColor":["#000000","#ffffff","#f2f2f2","#000000","#ffffff","#000000","#ffffff","#ff0000","#008000","#ffffff","#1fa3ec","#0e70a4","#d43535","#931f1f","#47c266","#5aaf6f","#ffffff","#999999"]}
|
||||
```
|
||||
|
||||
Halloween
|
||||
```
|
||||
{"WebColor":["#cccccc","#3d3f41","#3d3f41","#93c763","#293134","#93c763","#293134","#ff0000","#008000","#ffffff","#ec7600","#0e70a4","#d43535","#931f1f","#47c266","#5aaf6f","#ffffff","#999999"]}
|
||||
```
|
Loading…
Reference in New Issue