Welcome,
First of all, I would like to inform that I am a person just starting my adventure with ESP8266-12 module.
So, I'm planning to create a smart lighting system for a corridor, if someone enters the room, the first sensor detects movement - the first lamp will light up, when they reach the second one, the next sensor detects movement - the first one must go out and the second one will light up.
The whole system is to consist of two ESP modules and a motion sensor and relay connected to each.
What is the easiest way to program the modules to transmit data between them? Should it be via UDP? TCP?
Please help
First of all, I would like to inform that I am a person just starting my adventure with ESP8266-12 module.
So, I'm planning to create a smart lighting system for a corridor, if someone enters the room, the first sensor detects movement - the first lamp will light up, when they reach the second one, the next sensor detects movement - the first one must go out and the second one will light up.
The whole system is to consist of two ESP modules and a motion sensor and relay connected to each.
What is the easiest way to program the modules to transmit data between them? Should it be via UDP? TCP?
Please help