ESP RMAKER TIME SYNC - Incorrect
Posted: Thu Nov 09, 2023 12:18 pm
Hi Guys,
So I have the time sync enabled for the rmaker_client, but when it goes online, its retrieving all zeros as unix time, giving me 1st Jan 1970 00:00:00, which is obviously wrong:
I (54120) esp_rmaker_param: Received params: {"Time":{"TZ":"Europe/London"}}
I (54120) esp_rmaker_time_service: Received value = Europe/London for Time - TZ
I (54127) esp_rmaker_time: Time not synchronised yet.
I (54130) esp_rmaker_time: The current time is: Thu Jan 1 00:01:11 1970 +0000[GMT], DST: No.
I (54141) esp_rmaker_param: Reporting params: {"Time":{"TZ-POSIX":"GMT0BST,M3.5.0/1,M10.5.0"}}
I (54152) esp_rmaker_param: Reporting params: {"Time":{"TZ":"Europe/London"}}
So I have the time sync enabled for the rmaker_client, but when it goes online, its retrieving all zeros as unix time, giving me 1st Jan 1970 00:00:00, which is obviously wrong:
I (54120) esp_rmaker_param: Received params: {"Time":{"TZ":"Europe/London"}}
I (54120) esp_rmaker_time_service: Received value = Europe/London for Time - TZ
I (54127) esp_rmaker_time: Time not synchronised yet.
I (54130) esp_rmaker_time: The current time is: Thu Jan 1 00:01:11 1970 +0000[GMT], DST: No.
I (54141) esp_rmaker_param: Reporting params: {"Time":{"TZ-POSIX":"GMT0BST,M3.5.0/1,M10.5.0"}}
I (54152) esp_rmaker_param: Reporting params: {"Time":{"TZ":"Europe/London"}}