Community discussions

MikroTik App
 
fabio
just joined
Topic Author
Posts: 14
Joined: Tue Oct 10, 2023 10:16 pm

TG-BT5-IN doesn't send accelerometer events

Tue Nov 21, 2023 1:02 pm

Hi all,

i'm doing some test with TG-BT5-IN and KNOT and i've found an issue.
I've set a script that runs every 3 seconds for parsing payloads from TG-BT5-IN and if 21st octet is != 0 then send an HTTP request.

The problem is that TG-BT5-IN payloads have 21st octet != 0 only for magnetic switch events. I've tried many times to drop it, shake it, etc with no success.
I've tried also to set all levels to the max sensitivity with no success.
I've 3 unit of TG-BT5-IN and all of them have the same behaviour.

Image

Image

fw version of TG-BT5-IN is 2.3.1-0rr
 
denissMT
MikroTik Support
MikroTik Support
Posts: 55
Joined: Wed May 26, 2021 12:00 pm

Re: TG-BT5-IN doesn't send accelerometer events

Tue Nov 21, 2023 1:37 pm

I can confirm that different triggers should report different events.
From the guide:
https://help.mikrotik.com/docs/display/ ... ts-Example
More examples (for 21 octet's value):

"08" is the impact on just the x-axis;
"18" is the impact on the x and y-axis;
"28" is the impact on the x and z-axis;
"10" is the impact on just the y-axis;
"30" is the impact on y and z-axis;
"20" is the impact on just the z-axis.
___
If you do not get movement/acceleration/tilt events, please make sure that:
https://help.mikrotik.com/docs/display/ ... onsettings
free-fall detect, impact detect and tilt detect triggers are enabled in the beacon settings menu.

If this still brings no results, please create a support ticket for us:
https://mikrotik.com/support
Contact Support.

Who is online

Users browsing this forum: jaclaz, seriosha and 42 guests