My code work in Develop apps but not in scene.
Why ? Thx
local http = require(“socket.http”)
local GTsalon = luup.variable_get(“urn:upnp-org:serviceId:TemperatureSensor1”, “CurrentTemperature”, TSalon)
local GTcuisine = luup.variable_get(“urn:upnp-org:serviceId:TemperatureSensor1”, “CurrentTemperature”, TCuisine)
local GTcuisineSmoke = luup.variable_get(“urn:upnp-org:serviceId:TemperatureSensor1”, “CurrentTemperature”, TCuisineSmoke)
result, status = http.request(“http://api.thingspeak.com/update?key=xxxx&field1=“..GTsalon..”&field2=“..GTcuisine..”&field3=“..GTcuisineSmoke..””, “run=run”)