I have setup a LilyGo T-Call module to send text messages in the even of a power failure,
Simple setup, uses a battery and a 12v power supply, when AC fails the relay drops and reverts to the power from the battery. This happens without the device loosing power and happens seamlessly.
Thus, when this happens it also uses a separate pole on the relay to switch the GPIO which sends the text.
The issue I seem to be getting in weird false alarms, when there has been no power cut. I do not believe that the relay is even changing state, as power is not dropping.
True true, here is the YAML. Logs report nothing strange. I never have the logs opens when it false alarms as it only does it once randomly in the day, maybe even every 2 days.