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

  1. Hello,
  2. I am using Highcharts to draw 6  differents values , 6 differents Y axis , on a XY chart.
  3. get 6 datas every 2 sec as :
  4. 1 counter,DS18B20 sensor, AM2302 Humidity and Temperature, Pressure  with I2C BMP085,and a MCP23017
  5. + Oled Dsiplay SD1306
  6. Web page resfhreshed every 1 minute
  7. I wanted to add Ntp server ... but Ntp works fine , i get good info Date & Time
  8. but in this case i don't refresh anymore  DS18B20 result .. keep always the same value .
  9. If i don't enable the NTP server .. DS18B20 value is refreshed ..OK
  10. it seems that ESP32 is overbooked !
  11.  
  12. somme task are not running ?
  13. too much work assign to ESP32 ?
  14. How to check that ?
  15.  
  16. Nota:   in the tools-> console of the webpage ,
  17. i see a message Violation ..settimeout
  18. but in the 2 cases  : with or without NTPserver
  19. at the 1rst line of code , i put a conditional compile with this   #define WithNTP
  20. choice :  commented or not ..
  21.  
my code:


Uart capture :
Problemo_with_use_of_Ntpserver_2022-0627.txt
Uart Capture
(9.27 KiB) Downloaded 157 times
Attachments
_ESP32_Charts_Cpt_DS18B20_BMP085_AM2302_MSP2307_OLED_2022-0627.zip
code
(163.63 KiB) Downloaded 173 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 2525 times

Who is online

Users browsing this forum: No registered users and 34 guests