Problem with Ntpserver and 6 Yaxis on Highcharts

paulfjoju
Posts: 5
Joined: Thu May 05, 2022 9:03 am

Problem with Ntpserver and 6 Yaxis on Highcharts

Postby paulfjoju » Mon Jun 27, 2022 3:04 pm

Code: Untitled.txt Select all


Hello,
I am using Highcharts to draw 6 differents values , 6 differents Y axis , on a XY chart.
get 6 datas every 2 sec as :
1 counter,DS18B20 sensor, AM2302 Humidity and Temperature, Pressure with I2C BMP085,and a MCP23017
+ Oled Dsiplay SD1306
Web page resfhreshed every 1 minute
I wanted to add Ntp server ... but Ntp works fine , i get good info Date & Time
but in this case i don't refresh anymore DS18B20 result .. keep always the same value .
If i don't enable the NTP server .. DS18B20 value is refreshed ..OK
it seems that ESP32 is overbooked !

somme task are not running ?
too much work assign to ESP32 ?
How to check that ?

Nota: in the tools-> console of the webpage ,
i see a message Violation ..settimeout
but in the 2 cases : with or without NTPserver
at the 1rst line of code , i put a conditional compile with this #define WithNTP
choice : commented or not ..
my code:


Uart capture :
Problemo_with_use_of_Ntpserver_2022-0627.txt
Uart Capture
(9.27 KiB) Downloaded 385 times
Attachments
_ESP32_Charts_Cpt_DS18B20_BMP085_AM2302_MSP2307_OLED_2022-0627.zip
code
(163.63 KiB) Downloaded 386 times
Capture_ESP32_6_Charts_Cpt_DS18B20_BMP085_AM2302_MSP2307_OLED_2_Gauges_2022-0627.jpg
Webpage capture
Capture_ESP32_6_Charts_Cpt_DS18B20_BMP085_AM2302_MSP2307_OLED_2_Gauges_2022-0627.jpg (92.22 KiB) Viewed 4114 times

Who is online

Users browsing this forum: No registered users and 1 guest