http://usggwz6vwth276fdyccskoba5u2jis5ugv2ew2fy2blowgf2dv73axad.onion/post/esp8266-flammable-gas-alarm-part-3.html
NTPClient time_client ( udp , NTP_SERVER , 0 ); String iso_8601_timestamp = "" ; String epoch_to_iso_8601 ( unsigned long epoch ) { // Create a time structure. struct tm timeinfo ; // Cast. time_t epoch_time = ( time_t ) epoch ; // Convert epoch to UTC time. gmtime_r ( & epoch_time , & timeinfo ); // Format the time as ISO 8601. char buffer [ 30 ]; strftime ( buffer , sizeof ( buffer ), "%Y-%m-%d %H:%M:%S %z" , & timeinfo ); return String ( buffer ); } String get_json () { JsonDocument doc ; String output...