Project works, but does not connect to freeboard.io

Turns out my ESP32 was broken and couldn't connect to wifi and to the dweet/freeboard server. I thought it was because I was in another room and could not connect properly.

Bought a NodeMCU v3, reworked the code and got rid of the "local server" idea to upload to freeboard via dweet.

However, I didn't realize it only had pins with 3.3V output max only; I need it to power two relays to control for fuel and fire extinguisher valves.

Should I connect a 1.5V battery to each of the two pins and use it to control two 5V valves?