blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.83k stars 1.39k forks source link

RTC. The time value is not synchronized with the server time. #382

Closed Refenz closed 6 years ago

Refenz commented 6 years ago

Blynk library version: [0.5.0-beta] IDE: [Arduino] IDE version: [1.8.4] Board type: [ESP8266]

Scenario, steps to reproduce

1)Use default RTC sketch+Template_ESP8266 2)Open port monitor

Expected Result

Current time: 20:0:50 9 12 2017

Actual Result

[831] Hardware v1.0.0
[831] Firmware v1.0.1
[831] WAIT_CONFIG => CONNECTING_NET
[831] Connecting to WiFi: Dom2
[1132] CONNECTING_NET => CONNECTING_CLOUD
[1133] Disconnected
[1133] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.4.10 on NodeMCU

[5001] Connecting to blynk-cloud.com:8442
[5106] Ready (ping: 7ms).
[5219] CONNECTING_CLOUD => RUNNING
Current time: 0:0:10 1 1 1970
Current time: 0:0:20 1 1 1970
Current time: 0:0:30 1 1 1970
Current time: 0:0:40 1 1 1970
Current time: 0:0:50 1 1 1970
Current time: 0:1:0 1 1 1970
Current time: 0:1:10 1 1 1970
vshymanskyy commented 6 years ago

Cannot reproduce. I use provisioning.

[1163] Connecting to blynk-cloud.com:8442
[1273] Ready (ping: 33ms).
[1407] CONNECTING_CLOUD => RUNNING
[1440] Time sync: OK
Current time: 21:39:15 20 12 2017

Did you put RTC widget on the dashboard? Did you try to reproduce it? Please always include screenshot of your project and the main sketch code.