Skip to content

thebentern/wemos-mini-templogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wemos-mini-templogger

Build Status

PlatformIO project for Wemo D1 Mini and SHT-30 shield MQTT Temperature and Humidity logging for use with Home Assistant

Wemos D1 Mini with SHT-30 Shield

Mqtt message

Basic installation and usage

  • Clone repository

  • Install Platform IO

  • Modify the definitions in main.ino to match your target environment:

Wifi connection settings

#define WIFI_SSID "MyWifiAp"
#define WIFI_PASSWORD "MyPassword"

MQTT broker connection settings

#define MQTT_ADDRESS IPAddress(192, 168, 2, 59)
#define MQTT_PORT 1883

MQTT topics

Topics are separate for temperature and relative humidity

#define MQTT_TOPIC_TEMPERATURE "home/masterbedroom/temperature"
#define MQTT_TOPIC_HUMIDITY "home/masterbedroom/humidity"

Reporting interval

The default publish interval is one minute

#define ONE_MINUTE 60000
  • Run Platform IO build scripts:
platformio run --target upload
platformio device monitor --baud 9600

Dependencies

AsyncMqttClient

WEMOS_SHT3x_Arduino_Library

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%