ESP8266 MQTT temperature and humidity meter
BME280から取得した温度・湿度・気圧をMQTTにpublishします。
- modules: bme280 file gpio http i2c mdns net node sjson sntp tmr tsl2561 uart wifi
- floatを使うのでfloat版を入れてください
config を編集して自分の環境に合わせて下さい。
nodemcu-tool
をインストールして以下のコマンド
nodemcu-tool --port /dev/tty.portname upload config
nodemcu-tool --port /dev/tty.portname upload *.lua