Skip to content

Devices

Connect a device

Choose how to connect your hardware to Thinger.io - device libraries over IOTMP, MQTT, HTTP or a LoRaWAN or Sigfox network.

Concept1 min read

Thinger.io connects any device that can reach the Internet, directly or through a network server. How you connect it decides what the platform can do with it: a device that keeps an IOTMP connection open can receive commands at any time, while a device that only sends messages is read, not called.

Ways to connect ​

Device librariesArduino, ESP-IDF, Zephyr, LinuxMQTT clientsdevices and gatewaysHTTP clientsdevices, scripts, other cloudsLPWAN sensorsLoRaWAN and SigfoxNetwork serveror Sigfox backendThinger.iodevices, Data Buckets,dashboards, productsIOTMPone connection open both ways: the platform calls device resourcesMQTTpublish and subscribe to topics on the built-in brokerHTTPthe device sends requests; it receives data only in the responseradioHTTPwebhook to a plugin, or callbackResponse: an HTTP device gets data back only in the answer to its own request
How each kind of device reaches Thinger.io
WayDevice typeBest forDirectionPage
Arduino libraryIOTMPESP32, ESP8266, Arduino boards and modulesBoth: device resources the platform can call, data the device sendsArduino
ESP-IDF componentIOTMPESP32 firmware without ArduinoBothESP-IDF
Zephyr moduleIOTMPBoards running Zephyr RTOSBothZephyr
Linux clientIOTMPLinux computers and gatewaysBoth, plus remote shell and filesLinux
MQTTMQTTDevices and gateways that already speak MQTTBoth, through topicsMQTT
HTTPHTTPDevices that post data from time to time, scripts, other cloudsDevice to platformHTTP
LoRaWANHTTPLow-power sensors on a LoRaWAN network serverMostly device to platformLoRaWAN
SigfoxHTTPSigfox sensorsMostly device to platformSigfox

IOTMP is the protocol of the Thinger.io device libraries: a single encrypted connection, open in both directions, with low overhead. Use it when you write the firmware. Use MQTT or HTTP when the device or its firmware already exists. See IOTMP for the protocol.

Without hardware ​

  • A virtual device is implemented on the platform, for tests or to combine data.
  • A subdevice reaches the platform through another device, such as a gateway.

Once the device is connected ​

Start here ​