CO2-Gadget icon indicating copy to clipboard operation
CO2-Gadget copied to clipboard

Issues fetching data from ESP32 into MyAmbiance App in CO2 Gadget Advanced Firmware

Open melkati opened this issue 1 month ago • 6 comments

Looks like there is a bug somewhere that is affecting the data fetching from ESP32 into MyAmbiance App.

After nearly 2 weeks almost 100% focused on debugging issues with the combination between ESP32 and MyAmbiance because of this bug and another one (I'm not sure if it's related and is temporarily solved with a workaround already) I'm completely lost at where to look.

I'm still not sure if the issue is related to the CO2 Gadget advanced firmware, the Sensirion ESP32 libs or the MyAmbiance App, I'm completely lost and clueless.

Right now, as the "oficial" Sensirion's library release is not usable for as (because of the data gaps in MyAmbiance) I can't be sure if the issue can be with the combination of libraries CO2 Gadget advanced firmware is using:

https://github.com/Sensirion/arduino-upt-core.git#b2c0e76  ; Fix for arduino-ble-gadget incompatibly with arduino-upt-core library
https://github.com/melkati/arduino-ble-gadget.git#historyInterval

Right now the issues with Sensirion's library and MyAmbiance are only critical things delaying the release of the new CO2 Gadget advanced firmware version.

The issue:

When fetching data from ESP32 with Sensirion's MyAmbiance the download stops at some point.

  • Occasionally, data retrieval is successful, but at other times it fails.
  • The issue does not consistently occur at the same point.
  • This problem affects all members of the Alpha/Beta testing team.
  • Sometimes, retrying results in successful data fetching, while at other times it does not.

Screenshot_2024-05-11-07-46-05-046_com sensirion myam

Screenshot_2024-05-11-07-47-03-973_com sensirion myam

melkati avatar May 11 '24 06:05 melkati