OK, i my push it totally off-topic.... but I'm using ESP32 and other arduino devices around my home using MQTT to communicate with Node-Red.
MQTT library is available for lots of devices ... even if you want to go with Tasmota devices!
I can highy recommend going with MQTT