AirGradient no longer available in Home Assistant after few mn only

It does work fine for a while

but after few mn, it is no longer reacheable in Home assistant or on its IP address.
When I go on the SEP Home and check for the logs, this is what I get
Any clue what’s going on?

INFO ESPHome 2024.4.2
INFO Reading configuration /config/esphome/esphome-web-[redacted].yaml...
INFO Starting log output from [redacted] using esphome API
WARNING Can't connect to ESPHome API for esphome-web-[redacted] @ [redacted]: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='[redacted]', port=6053))]: [Errno 111] Connect call failed ('[redacted]', 6053) (SocketAPIError)
INFO Trying to connect to esphome-web-[redacted] @ [redacted] in the background
INFO Successfully connected to esphome-web-[redacted] @ [redacted] in 1.106s
INFO Successful handshake with esphome-web-[redacted] @ [redacted] in 0.111s
[16:12:46][I][app:100]: ESPHome version 2024.4.2 compiled on May  1 2024, 15:09:50
[16:12:46][I][app:102]: Project esphome.web version 1.0
[16:12:46][C][wifi:580]: WiFi:
[16:12:46][C][wifi:408]:   Local MAC: [redacted]
[16:12:46][C][wifi:413]:   SSID: 'WiFi'[redacted]
[16:12:46][C][wifi:416]:   IP Address: [redacted]
[16:12:46][C][wifi:420]:   BSSID: [redacted]
[16:12:46][C][wifi:421]:   Hostname: 'esphome-web-[redacted]'
[16:12:46][C][wifi:423]:   Signal strength: -22 dB ▂▄▆█
[16:12:46][C][wifi:427]:   Channel: 1
[16:12:46][C][wifi:428]:   Subnet: 255.255.255.0
[16:12:46][C][wifi:429]:   Gateway: [redacted]
[16:12:46][C][wifi:430]:   DNS1: [redacted]
[16:12:46][C][wifi:431]:   DNS2: 0.0.0.0
[16:12:46][C][logger:166]: Logger:
[16:12:46][C][logger:167]:   Level: DEBUG
[16:12:46][C][template.sensor:022]:   Icon: 'mdi:air-filter'
[16:12:46][C][template.sensor:023]:   Update Interval: 300.0s
[16:12:46][C][uptime.sensor:031]: Uptime Sensor 'Uptime'
[16:12:46][C][uptime.sensor:031]:   Device Class: 'duration'
[16:12:46][C][uptime.sensor:031]:   State Class: 'total_increasing'
[16:12:46][C][uptime.sensor:031]:   Unit of Measurement: 's'
[16:12:46][C][uptime.sensor:031]:   Accuracy Decimals: 0
[16:12:46][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[16:12:46][C][template.number:050]: Template Number 'Display Contrast %'
[16:12:46][C][template.number:050]:   Icon: 'mdi:lightbulb'
[16:12:46][C][template.number:051]:   Optimistic: YES
[16:12:46][C][template.number:052]:   Update Interval: 60.0s
[16:12:46][C][template.number:050]: Template Number 'LED Brightness %'
[16:12:46][C][template.number:050]:   Icon: 'mdi:lightbulb'
[16:12:47][C][template.number:051]:   Optimistic: YES
[16:12:47][C][template.switch:068]: Template Switch 'Display Air Quality Page'
[16:12:47][C][template.switch:070]:   Icon: 'mdi:monitor'
[16:12:47][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[16:12:47][C][template.switch:057]:   Optimistic: YES
[16:12:47][C][template.switch:068]: Template Switch 'Display Temp/Hum Page'
[16:12:47][C][template.switch:070]:   Icon: 'mdi:monitor'
[16:12:47][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[16:12:47][C][template.switch:057]:   Optimistic: YES
[16:12:47][C][template.switch:068]: Template Switch 'Display VOC Page'
[16:12:47][C][template.switch:070]:   Icon: 'mdi:monitor'
[16:12:47][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[16:12:47][C][template.switch:057]:   Optimistic: YES
[16:12:47][C][template.switch:068]: Template Switch 'Display Combo Page'
[16:12:47][C][template.switch:070]:   Icon: 'mdi:monitor'
[16:12:47][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[16:12:47][C][template.switch:057]:   Optimistic: YES
[16:12:47][C][template.switch:068]: Template Switch 'Display Boot Page'
[16:12:47][C][sht4x:050]:   Address: 0x44
[16:12:47][C][sgp4x:305]: SGP4x:
[16:12:47][C][sgp4x:306]:   Address: 0x59
[16:12:47][C][sgp4x:307]:   store_baseline: 1
[16:12:47][C][sgp4x:326]:   Type: SGP41
[16:12:47][C][sgp4x:327]:   Serial number: 94422961
[16:12:47][C][sgp4x:328]:   Minimum Samples: 45.000000
[16:12:47][C][sgp4x:330]:   Update Interval: 60.0s
[16:12:47][C][ssd1306_i2c:023]: I2C SSD1306
[16:12:47][C][ssd1306_i2c:023]:   Rotations: 0 °
[16:12:47][C][ssd1306_i2c:023]:   Dimensions: 128px x 64px
[16:12:47][C][ssd1306_i2c:024]:   Address: 0x3C
[16:12:47][C][ssd1306_i2c:025]:   Model: SH1106 128x64
[16:12:47][C][ssd1306_i2c:027]:   External VCC: NO
[16:12:47][C][ssd1306_i2c:028]:   Flip X: YES
[16:12:47][D][api:102]: Accepted [redacted]42
[16:12:47][D][api.connection:1210]: Home Assistant 2023.10.3 ([redacted]42): Connected successfully
[16:12:47][D][sgp4x:277]: Sensor has not collected enough samples yet. (6/90) VOC index is: 0
[16:12:48][W][font:112]: Encountered character without representation in font: '$'
[16:12:48][W][font:112]: Encountered character without representation in font: '$'
[16:12:48][D][pmsx003:236]: Got PM1.0 Concentration: 6 µg/m^3, PM2.5 Concentration 10 µg/m^3, PM10.0 Concentration: 12 µg/m^3
[16:12:48][D][sgp4x:277]: Sensor has not collected enough samples yet. (7/90) VOC index is: 0
[16:12:49][W][font:112]: Encountered character without representation in font: '$'
[16:12:49][W][font:112]: Encountered character without representation in font: '$'
[16:12:49][D][pmsx003:236]: Got PM1.0 Concentration: 6 µg/m^3, PM2.5 Concentration 10 µg/m^3, PM10.0 Concentration: 12 µg/m^3
[16:12:49][D][sgp4x:277]: Sensor has not collected enough samples yet. (8/90) VOC index is: 0
[16:12:50][W][font:112]: Encountered character without representation in font: '$'
[16:12:50][W][font:112]: Encountered character without representation in font: '$'
[16:12:50][D][pmsx003:236]: Got PM1.0 Concentration: 5 µg/m^3, PM2.5 Concentration 9 µg/m^3, PM10.0 Concentration: 11 µg/m^3

What code are you using for ESPHome, the one from the AirGradient repo, or from MallocArray?

As far as the Warning about the font not having a character $, I can’t image what that would be, but wouldn’t expect it cause it to lose connection to HomeAssistant.

If it isn’t reachable via its IP either, then sounds like it is crashing/rebooting
You might try pulling power for a few seconds and then reconnecting. I had some odd issues when first upgrading to 2024.4.2 that a power reseat resolved.

I picked it at airgradient_esphome/airgradient-one.yaml at main · MallocArray/airgradient_esphome · GitHub following some tutorials

It is stable now after few reboot (for the last couple of hrs at least)
It wasn’t reacheable by it’s IP but ESP Home told me it was online…

I’ll post again it problems come back
thx!