new:
-removed NEAR/FAR because of the unreliability
-support for Rules, therefore change of the MQTT-Messages to a number format (clockwise: up,right,down,left then long and none)
Example:
rule1 on Tele-APDS9960#Gesture=1 do ... endon
-minor code changes to shorten things
changes:
-changed from interrupt mode to polling
-fixed the mqtt-messages
-fixed command "gesture" for the console. Now every argument except 0 and 1 will report the gesture mode
-changed gesture name from "overload" to "long"
First version with the "new" driver model.
The driver is disabled by default to prevent side effects und must be enabled for testing by hand.
Please uncomment:
// #define USE_APDS9960
Use GPIO_DSB as interrupt pin as provisional hack in the web interface of tasmota.
Please expect problems (reboot, ...). My personal usage scenario is:
Sonoff -> MQTT -> Node-Red -> MQTT -> Sonoff