[quote=“amg0, post:4, topic:190720”]it is http://wiki.micasaverde.com/index.php/Luup_Requests#user_data
but you can try to go to MISC DEBUG Javascript code and type
MultiBox.getScenes()
Here’s the scene in question (I’m removing my API key for privacy in "local APIKEY="APIKEY"). I can’t get this scene to save. Also, the LUA section is the one I was having problems executing from the debug window. When I shortened it, things began to work.
I just copied/pasted the output from the javascript command you gave me, and it looks like special characters are escaped. Hope that’s OK.
This is not a big deal for me, as I’ve got things working by editing the scene in the regular UI5.
{
“timers”: [
{
“id”: 1,
“name”: “Thingspeak Regular Update”,
“type”: 1,
“enabled”: 1,
“interval”: “20m”,
“last_run”: 1453745873,
“next_run”: 1453747073
}
],
“triggers”: [],
“groups”: [
{
“delay”: 0,
“actions”: []
},
{
“delay”: 15,
“actions”: []
}
],
“name”: “Thingspeak Temperature”,
“lua”: "local APIKEY="APIKEY"\r\nlocal F1_GUEST_CURRENT = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 34)\r\nlocal F2_KIDS_CURRENT = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 30)\r\nlocal F3_FAU_CURRENT = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 39)\r\nlocal F4_MASTER_CURRENT = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 33)\r\nlocal F5_OUTSIDE_CURRENT = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 10)\r\nlocal F6_FAU_SET = luup.variable_get("urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", "CurrentSetpoint", 39)\r\nlocal http = require("socket.http")\r\nhttp.TIMEOUT = 30\r\nresult, status = http.request("http://emoncms.org/input/post.json?node=2&json={guestCurrent:\“..F1_GUEST_CURRENT..\”},{kidsCurrent:\“..F2_KIDS_CURRENT..\”},{fauCurrent:\“..F3_FAU_CURRENT..\”},{masterCurrent:\“..F4_MASTER_CURRENT..\”},{outsideCurrent:\“..F5_OUTSIDE_CURRENT..\”},{fauSet:\“..F6_FAU_SET..\”}&apikey=\“..APIKEY)”,
“paused”: 0,
“id”: 6,
“favorite”: false,
“onDashboard”: 0,
“room”: 8,
“Timestamp”: 1453441356,
“altuiid”: “0-6”
}