Turn LED on of sunset - GET request with son payload?
Posted: Sun Oct 18, 2020 1:44 am
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 https://api.met.no/weatherapi/sunrise/2.0/documentation
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 ?
I found this api https://api.met.no/weatherapi/sunrise/2.0/documentation
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 ?