Hello,
I am running Openhab 3.3 Using the last OpenHabian Image on a raspberry pi 3.
Lately, i have been working on connecting a Meat Thermometer (Thermopro TP25) To OpenHab, to monitor the channel temperatures.
I managed to connect it through a Bluetooth to MQTT project, specifically, esp32-ble-mqtt.
The project works, however, the payload i receive from the gateway is a little bit funky. I currently receive a string that shows the decimal values of each of the bytes that compose the payload. An example of the payload received from the Bluetooth gateway is the following:
8,15,90,12,0,255,255,255,255,2,87,255,255,255,255,255,255,244,1,64
Each of those numbers is a byte from the payload, and they represent different things. For example,
the 8th and 9th numbers (255,255) are temperature probe channel 1, 10th and 11th (2,87) are temperature probe 2, etc etc.
So my question is, from this point, how can i separate this string into different temperature channels, battery indication, etc? If this was a json string, i would use the json transformation, but it is not.
The configuration of the mqtt thing also only gives an example for using the json transformation, which makes me think that is the only transformation that can be used?
Any help would or ideas would be appreciated.
Thanks!