Device to Device interface
UDP Broadcast
Some testo devices and apps send a UDP broadcast to the local network which can be received by listening to UDP packets on port 53955
. This broadcast contains information which can be used to connect to the HTTP interface.
You can test the broadcast by using netcat as shown below.
REM Receive the broadcast using netcat
nc -ulp 53955
{"DeviceId":"300","DeviceName":"testo 300","FirmwareVersion":"1.09.5212","HttpServerIPv4":"10.10.10.149","HttpServerIPv6":"","HttpServerPort":"55000","Serial":"61349163","SerialNumber":"61349163"}
# Receive the broadcast using netcat
nc -ul 53955
{"DeviceId":"300","DeviceName":"testo 300","FirmwareVersion":"1.09.5212","HttpServerIPv4":"10.10.10.149","HttpServerIPv6":"","HttpServerPort":"55000","Serial":"61349163","SerialNumber":"61349163"}
# Receive the broadcast using netcat
nc -ul 53955
{"DeviceId":"300","DeviceName":"testo 300","FirmwareVersion":"1.09.5212","HttpServerIPv4":"10.10.10.149","HttpServerIPv6":"","HttpServerPort":"55000","Serial":"61349163","SerialNumber":"61349163"}
Warning
Please be aware that the port in this message can usually be ignored and port 54000
should be used for HTTP connections!
HTTP interface
Method | Endpoint | Description |
---|---|---|
GET | / |
Returns a HTML live view as displayed on the app |
GET | /api/data/live |
Returns JSON live data as displayed on the app |
GET | /api/contact |
Get a list of customers currently available in the testo Smart |
GET | /api/contact/{uuid} |
Get one specific customer identified by {uuid} |
POST | /api/contact |
Create or update a customer |