It's only used to fill out the "t" field in the json but I was peeking at the api document and it indicates that it's not needed
You can include current timestamp specified as the Epoch time in milliseconds at UTC (”t”), but this is optional. If it is not included, the server will assign the current time when it is received.
May as well leave it out and simplify things a bit. It looks like that code is esp32 specific anyway and non functional on the esp8266.
It's only used to fill out the "t" field in the json but I was peeking at the api document and it indicates that it's not needed
May as well leave it out and simplify things a bit. It looks like that code is esp32 specific anyway and non functional on the esp8266.