Skip to content

Blynk-Technologies/Blynk-MQTT-Samples

Repository files navigation

Blynk MQTT Samples

Blynk Dashboards

The sample project simulates a heater device:

  • The room heats up when the set temperature exceeds the current temperature.
  • The room cools down when the set temperature is lower than the current temperature or the heater is off.
  • The device can also be controlled via the Terminal widget (type help for a list of commands).

Getting Started

  1. Sign up/Log in to your Blynk Account
  2. Install Blynk IoT App for Android or iOS
  3. Follow the instructions in the readme file of the example you like the most.
    The MQTT Air Cooler/Heater blueprint is compatible with various MQTT clients, developed in different programming languages.

Available samples

  • Node-RED - a visual programming tool that streamlines the integration of devices, APIs, and online services
  • Python 3 - suitable for use on Single Board Computers (SBCs) like Raspberry Pi and some Industrial IoT gateways
  • MicroPython - a fun and easy way of creating the device firmware
  • Arduino / PlatformIO - a pre-configured project that supports over 15 connectivity-enabled boards, including the Espressif ESP32, Raspberry Pi Pico W, Nano 33 IoT, Nano RP2040 Connect, UNO R4 WiFi, Seeed Wio Terminal, etc.
  • Plain C with the Mosquitto library - tailored for advanced use cases needing high performance, compact size, or system-level integration
  • ESP-IDF Cellular for Espressif ESP32 devices with a cellular modem
  • Lua - ready for deployment on OpenWrt-based routers and SBCs like Onion Omega2
  • HTML5 / JavaScript - thanks to the WebSocket technology, this example can be used directly from the browser