Problem:
Garage door often left open.
Idea:
Two ESP8266, ESP "A" in garage connected to a reed switch mounted on the door. ESP "B" inside the house connected to a, let's say, buzzer.
When the door opens, the reed switch activates A -> A sends a signal to B -> B activates the buzzer.
Questions:
Given that I can ping and control A from inside the house thru my wifi (easy led switch test via webserver (thru nodeMCU firmware on A), is my idea feasible?
In case it is, would two ESP8266-01 be good for the job?
I'm studying the LUA language and I'm at a very early stage in understanding the potientalities of the ESP8266 (so far I only installed, on one the two I have, the nodeMCU firmware and the mentioned test along with a couple others) so I'd also appreciate a lot to be addressed to the right learning material to turn this idea into an actually working thing.
Thank you in advance for any asnwer and suggestion.