Develop apps work not scene

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”)

http.request() doesn’t take a second string parameter.

..GTcuisineSmoke.."", "run=run")

You don’t need the final …“” there either (but this should not cause an error.)

I’m surprised it ever worked?

Never work in scene but now it’s OK :slight_smile: THx ;D