I am attempting to create a thermostat that will work even in a power outage & no connection to wifi/HA. However, keeping the wifi up and running requires a lot of juice compared to the esp device. So naturally I’d like to have the ESP32 be self contained, but I’m having trouble finding documentation about local execution of automations that rely on sensor values from the same chip, but can’t talk to a HA instance.
This single chip will have a thermostat, end stops for the baffle, and will drive a DC motor using the Feedback Cover component in ESPhome. If the power goes out the chip will not be able to communicate with ESPhome. In this case, will the chip still be able to reference sensors that are set up on the same board? how might I code that?
Any help is greatly appreciated!