Thanks all. I stumbled across the fix in these threads. Since I’m logging locally, for whatever reason, resolving a hostname does NOT work on my local network so I had to use the IP address instead and then everything worked!

Here’s the code for those that have this issue in the future. Especially since I hate it when I have the same problem and I see old posts with people saying “solved!” without sharing the actual fix.

IPAddress localserver(192,168,29,154); // Your local IP address goes here
request.ip = localserver;
request.path = "/emoncms/input/post?node="+String(nodeID)+"&fulljson={'power':"+String(t)+"}&apikey=**KEY_HERE**";
request.port = 80;
http.get(request, response, headers);
1 Like