Search found 1 match

by Hink
Tuesday 24 September 2024 12:48
Forum: LUA
Topic: Average outside temperature with Lua
Replies: 23
Views: 8202

Re: Average outside temperature with Lua

If you get this error:

[WebServer] Depricated RType (graph) for API request. Please use correct API Command!

I solved is by replacing:

local sQuery = 'curl "http://127.0.0.1:8080/json.htm?type=graph&sensor=temp&idx='..tostring(uitlees_idx)..'&range=day"'

with

local sQuery = 'curl "http://127 ...