Hi everyone,
I am using this project since a week, but I cannot make it get the time from timezonedb.com since friday, when timezonedb had some problems with their CDN.
Today I connected the marquee to serial logger and I made it make an API request to get the current time.
This is the response from the server:
as you can see, the server is answering with the current time, but the firmware is not able to parse it because the "timestamp" key of the json list is inside a json array, do not know why.
It also seems to be missing a couple of characters: the closing "]" for the array of the endpoints and the closing "}"...
I do not understand why the endpoint is giving this answer..
I tested this thing on two marquee scrollers, one flashed before friday and one flashed after friday, but unfortunately nothing changes.
Did it happen to someone else?
Do you know how to fix it?
Thank you
Hi everyone, I am using this project since a week, but I cannot make it get the time from timezonedb.com since friday, when timezonedb had some problems with their CDN. Today I connected the marquee to serial logger and I made it make an API request to get the current time. This is the response from the server:
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=etcetcetc"}{"success_fraction":0,"report_to":"cf-nel","max_age":604800}{"status":"OK","message":"","countryCode":"IT","countryName":"Italy","zoneName":"Europe\/Rome","abbreviation":"CEST","gmtOffset":7200,"dst":"1","zoneStart":1616893200,"zoneEnd":1635642000,"nextAbbreviation":"CET","timestamp":1634036363,"formatted":"2021-10-12 10:59:23"}
as you can see, the server is answering with the current time, but the firmware is not able to parse it because the "timestamp" key of the json list is inside a json array, do not know why. It also seems to be missing a couple of characters: the closing "]" for the array of the endpoints and the closing "}"... I do not understand why the endpoint is giving this answer.. I tested this thing on two marquee scrollers, one flashed before friday and one flashed after friday, but unfortunately nothing changes. Did it happen to someone else? Do you know how to fix it? Thank you