How to communicate with multiple boards from esphome to espnow An example of how the espnow gateway receives various types of structs is at the link below! https://github.com/nockanda/esphome-espnow-gateway2
Below is an explanation video! Sorry, it's in Korean!
- Upload nockanda_espnow.h to ESPHOME!
- Register the board in ESPHOME, edit the contents of the espnow_gateway.yaml file to suit yourself, and upload it!
- Prepare one more board and upload espnow_node1.ino!
- At this time, you must change the mac address of the gateway in the file to your own!
- Upload the software the same way for both boards!
- Upload virtual temperature and humidity sensor measurements to Home Assistant!
- Press a button in Home Assistant to turn the board's built-in LED on or off!