This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.
i am little bit poor in web designing.
channel = 28294
host = "api.thingspeak.com"
path = "/channels/" .. channel .. "/feed/last/?key=" .. readkey
-- create new connection (check SSL option)
conn = net.createConnection(net.TCP, 0)
-- on connection send data
conn:on("connection", function(sck, fzm)
sck:send("GET " ..path .. " HTTP/1.1\r\nHost: " .. host .. "\r\nConnection: keep-alive\r\nAccept: */*\r\n\r\n")
end)
-- connect
conn:connect(80,host)
Thanks for the ideas.
As you did to make publicly gauge is visualized, I can not show them.