AirGradient Forum

PMS not found after MallocArray flash

Hello,
I just got my AG One kit (10.02.2025). After assembly all worked OK. Then I tried including it into HA and still OK. Then I moved to HA OS and flashed with MallocArray ESPHome definition and I really like it but after boot PMS was only showing NaN. Never wake up although I hear its fan working.
I tried several things:

  • repeat flashing with MallocArray definition
  • reflash with stock firmware (several times); with and without device cleaning
  • reflash with Android software (3.2.0)
  • checked PMS cable and connectors
  • tried different USB cable and charger
    None of the above helped. During boot on stock firmware I always get “Sensor init Error: PMS not found” and displayed value is “0” or “-”.

There is also something wrong with LEDs: rightmost green is always ON. Leftmost purple/yellow/white is ON sometimes, CO2 level is on LEDs 3-6 from left (starting abt 1500 ppm), LEDs 2 & 7-10 never lights up; LEDs 7-11 don’t react for LED test.

Current firmware is 3.1.21.

Can you please help with this or suggest what else can I try?

Since the PMS sensor isn’t working even after moving back to the stock firmware, I don’t think you are dealing with a software issue, but a hardware one.

Double check that the cable going from the PMS sensor to the board is plugged in fully and in the correct orientation. Possibly it worked itself loose at some point?
While you are at it, double check that you inserted the other sensors in the correct orientation. Users have regularly plugged them in upside down or the wrong sensor in the wrong port.

If the LEDs aren’t working during the LED Test, that seems to further indicate something wrong on the board, which is why I’m suggesting checking where all of the sensors are plugged in.

The leftmost LED with the stock firmware indicates if WiFi is working and if it is communicating with the Dashboard

@MallocArray thank you for reply.
I’ve checked all this many times and one more time right now; all sensors, cable & connectors are placed correctly, were working correctly before and were not replaced during/after flashing.
I’m affraid you might be right with the hardware issue. However coincidence with firmware flashing event is puzzling.
Any more suggestions would be highly appreciated. In parallel I’ll place a ticket to the support.
Thank you.