I did some more digging and ended up having to upload a custom firmware that didn’t turn the led on.
Steps for anyone else that wants to do it:
- Follow the steps starting at the Flashing With The Arduino Software section here
- Patch the PMS Library as per the link in the previous step
- Edit the DIY_OUTDOOR_C3.ino file and comment out the switchLED(true); and switchLED(false); lines in the sendPayload function as per the below code.
- Hold down the button on the device and plug it in to your laptop/PC. Release the button after it is connected.
- Select the COM port that shows up in Tools > Port
- Click the Upload button
void sendPayload(String payload) {
if(WiFi.status()== WL_CONNECTED){
//switchLED(true);
String url = APIROOT + "sensors/airgradient:" + getNormalizedMac() + "/measures";
debugln(url);
debugln(payload);
client.setConnectTimeout(5 * 1000);
client.begin(url);
client.addHeader("content-type", "application/json");
int httpCode = client.POST(payload);
debugln(httpCode);
client.end();
resetWatchdog();
//switchLED(false);
}
else {
debug("post skipped, not network connection");
}
loopCount++;
}