forked from bspranger/Xiaomi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes * Main event type messages (attrID 0055) of Vibration (1), Tilt (2), or Drop (2) are now handled correctly, and the automatic reset to "stationary" status now uses eventType = 0 and should also work correctly * `lastDropped` / `lastDroppedCoRE` attributes renamed to `lastDrop` / `lastDropCoRE` * Events using custom attributes to store last vibration/tilt/drop/stationary event time/date stamps should now work correctly * Changed to @CopyCat73's (on SmartThing community forums) suggested XYZ Accelerometer output conversion code for now (thanks), but plan to incorporate @oltman's (on GitHub) Accelerometer _g_ value to relative position angle code if he agrees
- Loading branch information
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters