I wasn't sure what form to post this in. Since it uses MQTT I figured Michael McSharry mcsMQTT was the best spot.
A friend on mine who uses Home Assistant turned me on to ESPHome https://esphome.io. ESPHome makes it incredibly simple to build, compile and upload firmware images to ESP8266 and ESP32 boards. It has a slick web based interface to build YAML based config files that can be uploaded to the ESP via USB. After the initial upload you can do future uploads via OTA.
It took me about 30 minutes to load up ESPHome on my Linux HomeSeer box, wire up an Adafruit HUZZAH ESP8266 board with a DHT22 tempature/humidity sensor and upload the firmware to the board. The ESP8266 communicates with HomeSeer via MQTT
Here is the YAML config I used.
Here is the wiring from Adafruit
https://learn.adafruit.com/adafruit-...arduino-wiring
A friend on mine who uses Home Assistant turned me on to ESPHome https://esphome.io. ESPHome makes it incredibly simple to build, compile and upload firmware images to ESP8266 and ESP32 boards. It has a slick web based interface to build YAML based config files that can be uploaded to the ESP via USB. After the initial upload you can do future uploads via OTA.
It took me about 30 minutes to load up ESPHome on my Linux HomeSeer box, wire up an Adafruit HUZZAH ESP8266 board with a DHT22 tempature/humidity sensor and upload the firmware to the board. The ESP8266 communicates with HomeSeer via MQTT
Here is the YAML config I used.
Code:
esphome: name: test2 platform: ESP8266 board: huzzah wifi: ssid: 'your_SSID' password: 'your_password$' # Enable logging logger: mqtt: broker: 192.168.x.x birth_message: topic: myavailability/topic payload: online will_message: topic: myavailability/topic payload: offline ota: password: 'test2' sensor: - platform: dht model: DHT22 pin: 2 temperature: name: "Living Room Temperature" filters: - lambda: return x * (9.0/5.0) + 32.0; unit_of_measurement: "°F" humidity: name: "Living Room Humidity" update_interval: 60s
https://learn.adafruit.com/adafruit-...arduino-wiring
Comment