smeisner / smart-thermostat

Open-source ESP32-based thermostat that has some useful intelligence
GNU General Public License v3.0
38 stars 10 forks source link

[WIP] ESPHome firmware #57

Open DSpeichert opened 4 days ago

DSpeichert commented 4 days ago

The PCB can happily be operated via ESPHome firmware, which is native to Home Assistant (official ESPHome plugin is needed instead of MQTT server/bridge) thanks to its wide array of supported modules - in fact all of the ones used by this project.

This YAML currently includes support for:

What I tried that didn't work:

TODO before merging:

smeisner commented 4 days ago

@DSpeichert Please encapsulate any code changes in the firmware with "#ifdef ESPHOME" as is already done with MATTER and MQTT.

DSpeichert commented 4 days ago

@DSpeichert Please encapsulate any code changes in the firmware with "#ifdef ESPHOME" as is already done with MATTER and MQTT.

There will be no changes to the firmware in app/ in this project. The ESPHome firmware is effectively generated with just the YAML I provided here by the esphome tool/project. Therefore, those two are completely independent in this repository.

smeisner commented 3 days ago

Yeah, makes sense ... I should've gave it some thought first!! :P