MQTT is a lightweight communication platform, ideal for messaging between servers and IoT devices. ThingsBoard is a powerful IoT platform which supports device provisioning and telemetry logging via MQTT. One very useful feature is the
While buying something else, I spotted a small wireless relay module for £5 that looked useful, so I thought I’d buy one to investigate. It consists of a ESP-01s wireless microcontroller and a 5v relay.
To use ThingsBoard data in other applications, you can pull the latest telemetry from the API. Details for the API and background about obtaining the JWT token can be found at ThingsBoard Rest API. The