This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Ruuvitag BLE integration
#9
Thanks!
Now I got this:
Test_ble_adv 22.05.2020 15:42:18
* string: F7:14:56Big Grin0:33Big Grin5


Test_ble_adv 22.05.2020 15:42:18
* number: -35


Test_ble_adv 22.05.2020 15:42:18

* hexstring [21]: 02 01 06 11 FF 99 04 03 38 15 17 C8 38 00 0B 00 02 04 10 0B A1

Next step is parse right data from there.  I think that real data what Im looking for starts after FF 99 04. From spec manual : "The data is decoded from "Manufacturer Specific Data" -field, for more details please check this article out. Manufacturer ID is 0x0499."
If I look that spec for payload then:
03 = Data format definition
38 = Humidity ( 38 hex = 56 dec -> 56/2 = 28% )
15 = temperature. 15 hex = 21 celsius
17 = decimals of temperature -> 17 hex = 23

Those all are right values and same as in app (these ruuvitags have own android app for reading values).

Do you have little example script for parsing those parts from data?
Reply


Messages In This Thread
Ruuvitag BLE integration - by Papru - 22.05.2020, 05:26
RE: Ruuvitag BLE integration - by admin - 22.05.2020, 09:56
RE: Ruuvitag BLE integration - by Papru - 22.05.2020, 11:35
RE: Ruuvitag BLE integration - by admin - 22.05.2020, 11:36
RE: Ruuvitag BLE integration - by Papru - 22.05.2020, 11:43
RE: Ruuvitag BLE integration - by admin - 22.05.2020, 11:45
RE: Ruuvitag BLE integration - by Papru - 22.05.2020, 11:48
RE: Ruuvitag BLE integration - by admin - 22.05.2020, 12:38
RE: Ruuvitag BLE integration - by Papru - 22.05.2020, 13:01
RE: Ruuvitag BLE integration - by admin - 22.05.2020, 13:25
RE: Ruuvitag BLE integration - by Papru - 22.05.2020, 13:38
RE: Ruuvitag BLE integration - by admin - 24.05.2020, 11:33

Forum Jump: