kike-canaries / canairio_firmware

CanAirIO is a citizen science initiative. We are developing a mobile application that is able to set a PM2.5 or CO2 sensors, and other related sensors, as a fixed station using WiFi or mobile station with an smartphone by using a Bluetooth connection.
https://canair.io
GNU General Public License v3.0
104 stars 23 forks source link

Tdisplay ver 921 devel show T as principal Temperature. #242

Closed roberbike closed 1 year ago

roberbike commented 1 year ago

Tdisplay with scd30 show wrong temperature on principal screen. It is showing T (from an external inexistent sensor). -->[SLIB] Sensors units count : 5 (CO2,CO2T,CO2H,T,H,) is not correct. have to be only CO2,CO2T and CO2H.

-->[BATT] ADC eFuse Vref:1149 mV -->[POWR] CPU Speed: 80 MHz -->[TGUI] display config ready. -->[TGUI] displayed welcome screen -->[INFO] ESP32MAC : 44:17:93:87:E0:FE -->[INFO] Hostname : CanAirIO0FE -->[INFO] Revision : r921 -->[INFO] Firmware : 0.5.6 -->[INFO] Flavor : TTGO_TDISPLAY -->[INFO] Target : dev -->[INFO] == Detecting Sensors == -->[INFO] Sensorslib version : 0.6.1 -->[INFO] enable sensor GPIO : 27 -->[INFO] config UART sensor : GENERIC -->[SLIB] new sample time : 5 -->[SLIB] temperature offset : 0.00 -->[SLIB] altitude offset : 0.00 -->[SLIB] sea level pressure : 1013.25 hPa -->[SLIB] only i2c sensors : false -->[SLIB] sensor registered : SCD30 :D -->[SLIB] Sensors devices count : 1 (SCD30,) -->[INFO] Sensors detected : 1 -->[INFO] registered units : -->[INFO] restored saved unit : CO2 -->[SLIB] Sensors units count : 5 (CO2,CO2T,CO2H,T,H,) -->[WDOG] watchdog check each : 120 seconds. -->[WIFI] connecting to network : MiDeco...... done. -->[WIFI] device network IP : 192.168.68.113 -->[WIFI] cloud publish interval : 10 sec. -->[FOTA] remote OTA update : not need update -->[MQTT] mqtt.anaire.org : connected! -->[INFO] InfluxDb cloud : disabled -->[INFO] WiFi current config : enabled -->[BTLE] Bluetooth GATT server : ready for config client! -->[BTLE] device client is connected. -->[TGUI] starting task loop -->[TGUI] displayed main screen -->[INFO] sensors units detected : 5 -->[INFO] unit selected to show : CO2 -->[HEAP] sizeof sensors : 1008b -->[HEAP] sizeof config : 0240b -->[HEAP] sizeof GUI : 1720b: revxxx sensors: (sensors references and type connection) OLED: yes/no Power: Battery/USB

roberbike commented 1 year ago

solved with 922 ver.