@sean said in MMM-NOAA V2 doesn't start (Unexpected token < in JSON at position 0):
request({
url: “http://ip-api.com/json”,
method: ‘GET’
}, (error, response, body) => {
console.log(body) // Try logging suspicious point.
info = JSON.parse(body);
lat = info.lat;
lon = info.lon;
});
OMG thank you so much…
I am a dumbass XD
My PiHole blocked the ip-api.com domain, so i put this to the whitelist and its running.
Sorry guys