Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thebentern/wemos-mini-templogger
PlatformIO project for Wemo D1 Mini and SHT-30 shield
https://github.com/thebentern/wemos-mini-templogger
arduino esp8266 espressif home-assistant home-automation iot mqtt platformio wifi
Last synced: about 1 month ago
JSON representation
PlatformIO project for Wemo D1 Mini and SHT-30 shield
- Host: GitHub
- URL: https://github.com/thebentern/wemos-mini-templogger
- Owner: thebentern
- License: mit
- Created: 2017-06-22T19:22:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T00:22:29.000Z (over 7 years ago)
- Last Synced: 2024-11-09T13:46:17.429Z (3 months ago)
- Topics: arduino, esp8266, espressif, home-assistant, home-automation, iot, mqtt, platformio, wifi
- Language: Arduino
- Size: 103 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wemos-mini-templogger
[![Build Status](https://travis-ci.org/thebentern/wemos-mini-templogger.svg?branch=master)](https://travis-ci.org/thebentern/wemos-mini-templogger)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](image.jpg)
![Mqtt message](mqtt-message.png)
## Basic installation and usage
* Clone repository
* Install [Platform IO](http://platformio.org/)
* Modify the definitions in main.ino to match your target environment:
#### Wifi connection settings
```cpp
#define WIFI_SSID "MyWifiAp"
#define WIFI_PASSWORD "MyPassword"
```#### MQTT broker connection settings
```cpp
#define MQTT_ADDRESS IPAddress(192, 168, 2, 59)
#define MQTT_PORT 1883
```
#### MQTT topicsTopics are separate for temperature and relative humidity
```cpp
#define MQTT_TOPIC_TEMPERATURE "home/masterbedroom/temperature"
#define MQTT_TOPIC_HUMIDITY "home/masterbedroom/humidity"
```#### Reporting interval
The default publish interval is one minute
```cpp
#define ONE_MINUTE 60000
```* Run Platform IO build scripts:
```cmd
platformio run --target upload
platformio device monitor --baud 9600
```## Dependencies
[AsyncMqttClient](https://github.com/marvinroger/async-mqtt-client)
[WEMOS_SHT3x_Arduino_Library](https://github.com/wemos/WEMOS_SHT3x_Arduino_Library)