testo / tjf

Schema definitions of the Testo JSON format (tjf). Used in t300 / t330 / t330i / t400 / t420 / SmartProbes / t550 / t557 / t550s / t557s / testo Smart
https://www.testo.com
Apache License 2.0
6 stars 3 forks source link

Help Needed using TestoApi with T300 via bluetooth #17

Open pbzek opened 2 years ago

pbzek commented 2 years ago

Hi!

I successfully can get the reading data from a testo 300 device connecting via WIFI. I connect the device to the mobile personal hotspot and i receive the UDP with the testo device IP. Then i successfully call the API by using the local IP provided and the port 55000 with GET to the "http://localip:55000/data". So this part is covered.

How can i make the same steps but using bluetooth instead mobile WIFI? i paired the mobile to the t300 device but i couldn't get any IP to make the request.

Thanks in advance for all your help

gwaldvogel commented 2 years ago

Hi @pbzek first of all sorry for the late reply. The bluetooth API works fundamentally different from the WIFI API in a sense that it does not communicate via TCP/IP. It uses Bluetooth GATT and provides multiple GATT characteristics that can be used to read a JSON export from the testo 300. There is currently no detailed description available in this repository. We are working on providing a proper documentation, that should hopefully be ready by the end of July. In the meantime I can only show you a demo Android/Java implementation: https://gist.github.com/gwaldvogel/ddfffcc264f42900ab347b3e9f536416

tomislavpalijan commented 11 months ago

Hi @gwaldvogel Is there a detailed description of the characteristics now available? We have received a request to implement the thermometer testo 915i into our software Brecht V-MUX (OS Windows) . Brecht V-MUX is a virtual multiplexer that makes it possible to take measured values from different measuring devices and transmit them uniformly to SPC/QA/ERP solutions. It would be great if you could provide us with a detailed description of the BLE services and characteristics.

Many thanks in advance for your help.

gwaldvogel commented 11 months ago

Hi @gwaldvogel Is there a detailed description of the characteristics now available? We have received a request to implement the thermometer testo 915i into our software Brecht V-MUX (OS Windows) . Brecht V-MUX is a virtual multiplexer that makes it possible to take measured values from different measuring devices and transmit them uniformly to SPC/QA/ERP solutions. It would be great if you could provide us with a detailed description of the BLE services and characteristics.

Many thanks in advance for your help.

Are you trying to implement the testo 915i directly or the testo 300 together with the testo 915i? There is currently no public API available to talk directly to the testo 915i. If the testo 915i is connected to a testo 300, it's values should be available through the regular APIs available for the testo 300.

tomislavpalijan commented 11 months ago

@gwaldvogel

yes, we would like to connect directly the testo 915i.

We assumed that the description on the homepage describes the BLE direct connection option. https://www.testo.com/de-DE/testo-915i-temperatur-set/p/0563-5915 ... App sowie automatische Bluetooth®-Anbindung an Smartphones, Tablets oder Testo-Messgeräte (z.B. testo 400, testo 550s) mit einer Reichweite von bis zu 100 m ... It doesn't matter if the receiver is a smartphone or a WIndows OS pc. If testo 915i can BLE than we only need the description of the characteristics if the transmitted data i.e. temperature measurement is not readable in ASCII format and finally we also need a description for triggering a measurement.

Finally, it doesn't make sense for us to connect the 915i to testo 300 and than to BRECHT V-MUX. Our goal is only to convert the measured values of 915i into a format like MUX10, MUX50, DMX16 or EUROMUX.

Many thanks in advance for your help.

gwaldvogel commented 10 months ago

@gwaldvogel

yes, we would like to connect directly the testo 915i.

We assumed that the description on the homepage describes the BLE direct connection option. https://www.testo.com/de-DE/testo-915i-temperatur-set/p/0563-5915 ... App sowie automatische Bluetooth®-Anbindung an Smartphones, Tablets oder Testo-Messgeräte (z.B. testo 400, testo 550s) mit einer Reichweite von bis zu 100 m ... It doesn't matter if the receiver is a smartphone or a WIndows OS pc. If testo 915i can BLE than we only need the description of the characteristics if the transmitted data i.e. temperature measurement is not readable in ASCII format and finally we also need a description for triggering a measurement.

Finally, it doesn't make sense for us to connect the 915i to testo 300 and than to BRECHT V-MUX. Our goal is only to convert the measured values of 915i into a format like MUX10, MUX50, DMX16 or EUROMUX.

Many thanks in advance for your help.

Hi @tomislavpalijan Sorry for the late reply. We do not offer a public API to directly communicate with the testo 915i or any other testo Smart Probe as of now. We can only give you technical support for the existing APIs here. Please contact handwerk@testo.de for this inquiry.