The use of the ESP8266 in the world of IoT

User avatar
By kidi3
#89123 Hello, I got this esp01 lying around, and wanted try something simple as turning a a light chain on on sunset,

I found this api

which pretty accurately tells me when the sun rises and set pretty accurately, but cannot find a proper way to write the payload it needs to have?

is there some builtin library i can use, to format my payload as Json or ?