Skip to content

Wifsimster/i2c-display-mqtt

Repository files navigation

Display 3 sensor values from a MQTT topic

This LUA script is for ESP8266 hardware.

Description

MQTT client displaying 3 values on a i2c 128x64 OLED display using U8G library

##Files

  • config.lua: Configuration variables
  • init.lua: Connect to a wifi AP and then execute main.lua file
  • mqtt_function.lua: Generic functions for MQTT broker
  • main.lua: Main file

Principle

  1. Start a MQTT client and then try to connect to a MQTT broker
  2. Subscribe to a topic and update values on the display

Scheme

scheme

scheme

About

Display 3 sensor values from a MQTT topic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages