Simply use the button format.
Simply use the button format.
Explore... Chat... Share...
Moderator: Mmiscool
cls
button "Click to send " [checkit]
button "Exit " [Exit]
timer 30000 [checkit]
wait
'
[checkit]
WBString = "api.openweathermap.org/data/2.5/weather?id=4174855&units=imperial&appid=yourapikeyhere"
a$ = wget(WBString)
'serialprintln a$
serialprintln json(a$,"description")
serialprintln json(a$,"temp")
serialprintln json(a$,"pressure")
serialprintln json(a$,"humidity")
serialprintln json(a$,"name")
serialprintln json(a$,"speed")
serialprintln json(a$,"deg")
let tim = json(a$,"dt")
let timj = unixtime(tim)
serialprintln ""
serialprint "unix time = "
serialprintln tim
serialprintln ""
serialprint "time = "
serialprintln timj
serialprintln ""
wait
[Exit]
timer 0
wprint "<a href='/'>Menu</a>"
end
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]