Updated PAJ7620 (markdown)

Christian 2019-08-17 20:02:53 +02:00
parent aa587f9ca9
commit 4dd8ae414e
1 changed files with 12 additions and 7 deletions

@ -25,16 +25,18 @@ Compile Tasmota with `#define USE_PAJ7620` uncommented in `user_config_override.
### 0 - no readings / muted sensor ### 0 - No readings / muted sensor
### 1 - Gesture Mode: ### 1 - Gesture Mode:
gesture names: Up, Down, Left, Right, Near, Far, CW (clockwise rotation), CCW (counter-clockwise rotation) gesture names: Up, Down, Left, Right, Near, Far, CW (clockwise rotation), CCW (counter-clockwise rotation)
TELE-message: …{Up:1} TELE-message:
…{Up:1}
…{Left:3} -> 3 times „Left“ in a row, without any other gesture in between …{Left:3} -> 3 times „Left“ in a row, without any other gesture in between
### 2 - Proximity Mode: ### 2 - Proximity Mode:
Arbitrary value between 0 (far away) and 255 (very near) are given. Exit from the sensor field will always give at least one „zero message“. TELE is only triggered, when the value has changed Arbitrary value between 0 (far away) and 255 (very near) are given. Exit from the sensor field will always give at least one „zero message“. TELE is only triggered, when the value has changed
TELE-message: …{Proximity:255} - virtually touching the sensor in close proximity TELE-message:
…{Proximity:0} - object has left the sensing volume …{Proximity:255} - virtually touching the sensor in close proximity
…{Proximity:0} - object has left the sensing volume
### 3 - Corner Mode: ### 3 - Corner Mode:
Quarters of the sensing volume(area) are organised like this: Quarters of the sensing volume(area) are organised like this:
@ -45,15 +47,18 @@ Quarters of the sensing volume(area) are organised like this:
An object in one of the corners will trigger the corresponding number, a bit like a pie menu in a GUI. An object in one of the corners will trigger the corresponding number, a bit like a pie menu in a GUI.
TELE-message: …{Corner:2} - upper right corner TELE-message:
…{Corner:2} - upper right corner
### 4- PIN mode: ### 4- PIN mode:
Based on the corner mode a fluent movement of an object through a given sequence of corners (e.g. 1,2,3,4 -> begin upper left, move right, move diagonally down left, move right) will trigger a valid „PIN“. Based on the corner mode a fluent movement of an object through a given sequence of corners (e.g. 1,2,3,4 -> begin upper left, move right, move diagonally down left, move right) will trigger a valid „PIN“.
TELE-message: …{PIN:1} - valid PIN TELE-message:
…{PIN:1} - valid PIN
### 5- Cursor mode: ### 5- Cursor mode:
Shows x- and y-coordinates, mainly intended for debugging and „seeing“ the sensing area. This reads only the upper 5-bit-values, which automatically removes much of the jitter, giving values between 0 and 15. Shows x- and y-coordinates, mainly intended for debugging and „seeing“ the sensing area. This reads only the upper 5-bit-values, which automatically removes much of the jitter, giving values between 0 and 15.
TELE-message: …{x:1, y:15} - upper left corner TELE-message:
…{x:1, y:15} - upper left corner
*** ***