Goal:
To build a gateway using a RaspPi 4 which will receive the BLE data from the sensor and be able to see this on my mobile remotely anywhere.
Sensor:
Temperature & Humidity BLE (T201), you use an APP called "SensorsPro" to receive the data from the sensor when within range and you can sync the data to produce a up to date graph which logs the data. The sensor itself has a 20 day memory approx in which you can open the app and sync the data. When you open the app the data takes a few seconds to start flowing again with a live Temp & Humidity readings. The app can also connect and read multiple sensors, each had a unique MAC address starting with [A4:C1:38:::**].
Why: I use these to monitor my vivariums with creatures inside, each needs to be within a temp & humidity range and i'd like to be able to monitor remotely and receive alerts if the temp range spikes or the humidity drops so I can activate the appropriate cooling fans, misting system, turn off the lights in spikes of hot weather etc.
What i need help with:
I have been able to put an old galaxy s6 into dev mode and use the app from the manufacturer and receive data and logged it via the btsnoop_hci.log file and exported to Wireshark but i can't seem to translate this data after searching for hours i'm struggling to read the data for one to be able to convert it into a temperature and humidity reading plus device battery level.
The T201 sensor is always advertising but connecting via a mobile ble scanner or gatttool disconnects frequently without being able to do much more, i need to find a way to mimic the app via the RPi and send the data to my pi which i could then use / convert with once i know what data i'm receiving and use python (optimisically) and then forward to Mosquitto / Node Red / MQTT Dashboard to read the data and then work out a IFTTT or Telegram notification to alert me if the temperature / humidity is out of
Any help would be appreciated, i'm a beginner in linux and python so certainly have a challenge ahead.
I looked into OpenHab too but without the data from the sensor i feel thats a no go too at present.
Thank you in advance for any contributions towards my project.
18/05/21:
https://easyupload.io/kdc6gp - 30 second of BLE Data
https://streamable.com/bgqo5v - Video of the 30 seconds to see the temperature, humidity, battery level live against the 30 seconds to see how it changes.
[A4:C1:38:3A:07:3A] - Top reading, [A4:C1:38:C0:01:E1] - Bottom reading