Kenneth Barbour 551d69be8e | ||
---|---|---|
bin | ||
frontend | ||
include | ||
lib | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
README.markdown | ||
platformio.ini |
README.markdown
uWeather Firmware
Firmware for a small Arduino/ESP8266 + BME280 Weather StationFeatures
Weather over HTTP
See live weather data over a small webapp running on the weather station. Connect over mDNS or directly to the station's IP address if mDNS is not configured or supported.
MQTT Data
The station can send JSON encoded weather data to a configured MQTT Host. Currently, only communication over the standard port without TLS or authentication is supported.
Build/Install
pio run -t upload
, then pio run -t uploadfs
to build and upload code and filesystem for the first time, while connected over USB/Serial.
If station is connected to wifi, uploading over the air is preferred:
pio run -t upload --upload-port 192.168.1.72
(substituting the station's IP address)
Initial Station Setup
After installing firmware and booting for the first time:
- Using a smartphone or laptop, connect to the station's WiFi Access Point
- Access the setup page from 192.168.1.4/setup
- Enter WiFi configuration and station settings
- Optionally commit config settings to EEPROM(WiFi is automatically committed) by POST-ing to /config/commit for the settings to persist after a restart.
TODO
Implement /wifi/scan- Shutdown web server
- Configurable MQTT update interval
- Deep sleep
- Remotely disable deep sleep