mirror of https://github.com/grisu48/meteo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 months ago | |
---|---|---|
.. | ||
Node-ESP32.jpg | 3 years ago | |
README.md | 3 years ago | |
meteo-esp32.ino | 8 months ago |
README.md
ESP32 meteo Node
This folder contains source code for a ESP32
based node. The node is connected to the Wifi and periodically pusblishes it's data via MQTT.
The Arduino Sketchbook for the meteo-node
is meteo-esp32.ino.
Requirements
- PubSubClient
- BME280
- Webserver
The recommended way is to download the required libraries via the Arduino IDE
Configuration
You need to modify at least the WIFI password and the MQTT server. IF you are planning to setup multiple nodes, configure NODE_ID
and NODE_NAME
accordingly
[...]
// TODO: Set your Wifi SSID and password
#define WIFI_SSID ""
#define WIFI_PASSWORD ""
// TODO: Configure your node here
#define NODE_ID 0
#define NODE_NAME "outdoors"
// TODO: Set your MQTT server
#define MQTT_REMOTE "192.168.1.1"
#define MQTT_PORT 1883
#define MQTT_CLIENTID "meteo-" NODE_NAME
[...]