Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When changing publication interval, PM sensor is not read the first time #83

Open
oscgonfer opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working low priority

Comments

@oscgonfer
Copy link
Collaborator

oscgonfer commented Jan 16, 2025

SCK > config -pubint 3000
ESP finished booting
-- New config --

Mode: network
Publish interval (s): 3000
Reading interval (s): 60
Wifi credentials: XXX - YYY
Token: AAAAAA
Sanity reset (every 24 hours) is: on
SCK > Connecting to Wifi...

SCK > 
SCK > Connected to wifi!!- RSSI: -62
Hello sent!
Hello OK!!
Info sent!
Info publish OK!!

-----------
2025-01-16T14:04:34Z
-----------

SCK > 
SCK > reset
Bye!!

After the reset (note the weird readings again):

Asked new time sync to ESP...
RTC updated: 2025-01-16T14:04:48Z
Info sent!
Info publish OK!!

-----------
2025-01-16T14:04:49Z
Temperature: 21.80 C
Humidity: 37.21 %
Ext SHT35 Temperature: 22.56 C
Ext SHT35 Humidity: 36.80 %
Battery: 100 %
SD card: 1 Present
ESP finished booting
RSSI interval must be the same as publish interval!!
correcting it to 3000
WiFi RSSI: -61 dBm
Light: 265 lux
Noise dBA: 43.09 dBA
MPL Barometric pressure: 102.60 kPa
AS7331 UVA: 1.60 uW/cm2
AS7331 UVB: 0.10 uW/cm2
AS7331 UVC: 0.14 uW/cm2
Connecting to Wifi...
Connected to wifi!!- RSSI: -64
Hello sent!
Hello OK!!
Info sent!
Info publish OK!!

-----------
2025-01-16T14:04:55Z
Light: 253 lux
Noise dBA: 47.91 dBA
MPL Barometric pressure: 102.61 kPa
AS7331 UVA: 1.52 uW/cm2
AS7331 UVB: 0.10 uW/cm2
AS7331 UVC: 0.14 uW/cm2
-----------

Further down the line:

-----------
2025-01-16T14:07:55Z
Temperature: 22.58 C
Humidity: 35.99 %
Ext SHT35 Temperature: 22.56 C
Ext SHT35 Humidity: 36.87 %
Battery: 99 %
SD card: 1 Present
Light: 214 lux
Noise dBA: 47.66 dBA
MPL Barometric pressure: 102.64 kPa
AS7331 UVA: 1.75 uW/cm2
AS7331 UVB: 0.10 uW/cm2
AS7331 UVC: 0.14 uW/cm2
-----------
(2025-01-16T14:07:55Z) Readings saved to flash memory.
(2025-01-16T14:07:55Z) 12 readings saved to sdcard.
Connecting to Wifi...
ESP finished booting
Connecting to Wifi...
Connected to wifi!!- RSSI: -61
(2025-01-16T14:07:55Z) Sent readings to platform.
Network publish OK!! (12 readings)

-----------
2025-01-16T14:08:55Z
Temperature: 22.73 C
Humidity: 35.68 %
Ext SHT35 Temperature: 22.59 C
Ext SHT35 Humidity: 36.70 %
Battery: 99 %
SD card: 1 Present
Light: 186 lux
Noise dBA: 46.22 dBA
MPL Barometric pressure: 102.62 kPa
SEN5X PM 1.0: 5.80 ug/m3
SEN5X PM 2.5: 6.10 ug/m3
SEN5X PM 4.0: 6.10 ug/m3
SEN5X PM 10.0: 6.10 ug/m3
SEN5X PN 0.5: 3890.00 #/0.1l
SEN5X PN 1.0: 4520.00 #/0.1l
SEN5X PN 2.5: 4540.00 #/0.1l
SEN5X PN 4.0: 4540.00 #/0.1l
SEN5X PN 10.0: 4540.00 #/0.1l
SEN5X Typical Particle Size: 46.00 um
AS7331 UVA: 1.60 uW/cm2
AS7331 UVB: 0.10 uW/cm2
AS7331 UVC: 0.10 uW/cm2
-----------
(2025-01-16T14:08:55Z) Readings saved to flash memory.
(2025-01-16T14:08:55Z) 22 readings saved to sdcard.
Connecting to Wifi...
ESP finished booting
Connecting to Wifi...
Connected to wifi!!- RSSI: -60
(2025-01-16T14:08:55Z) Sent readings to platform.
Network publish OK!! (22 readings)

After this, it all seems OK.

@oscgonfer oscgonfer added bug Something isn't working low priority labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority
Projects
None yet
Development

No branches or pull requests

1 participant