what's wrong .....

Hi I have started a luup code that will send values to a php page that will display…it’s simple…but
my script doesn’t work

local Temperature_Jardin_send = luup.variable_get(“urn:upnp-org:TemperatureSensor1”, “CurrentTemperature”, 17)

Temperature_Jardin_send= tonumber(Temperature_Jardin_send)


if I remove the “…Temperature_Jardin_send” if I put that “http://domotique.corvette-online.net/Functions/TEST.php?Temperature_Jardin=10” it work is there a mistacke in my script ?

thanks…and sorry for stupid wuestion I’m starting :stuck_out_tongue:

Try “urn:upnp-org:serviceId:TemperatureSensor1” for the first parameter of luup.variable_get…

…one of the most easily made mistakes (and there are no ‘stupid questions’)

thanks…I was focussing on the get fonction and doesn’t have seen the initial problem LOL