Setup: I have nodered running on an rpi (rpi's IP address is 192.168.0.113), with several ESP32 nodes on the network as well. They all communicate over MQTT, but they can use other methods (like UDP or TCP) as well. This is a local home network.
Problem: I want nodered on the rpi to "serve" a firmware file
- Let's assume that the ESP32 is currently using fw_ver8.bin firmware
- The ESP32 node first "checks" to see if fw_ver9.bin exists using some kind of http command, pointed at "192.168.0.113/firmware/fw_ver9.bin".
- If the fw_ver9.bin file DOES exist, then download it.
I'm not sure what nodered nodes I need (some kind of http "get" or "post" requests?) - is there a similar example of what I want to do above?