You could define a Luup variable in Startup Lua. You should be able to access that from scene Luup. It will not persist across restarts, though. I usually just add a variable to an existing device. You can use the device’s normal service ID.
I don’t believe anyone has been successful at deleting unwanted state-variables without deleting and recreating the device.
well you mean i have to define them in startup … or “just” ad them to the corresponding device ?
i added some already to a device … i can read them via http variable_get …
but how do i write them in the same fashion ??
i plan to populate a field of a switch via http calls (server outside the network) …
but the luup on the vera use it to decide things.
i added a own serviceID and a set of values inside that … work perfectly … the vera can read and operate on it …
but i just cant figure out how i do populate the data via http.
oh yes right … i totally forgot variableset … i tried with a action (which is stupid) … and failed …
the test variable i removed by simply deleting the device (its simple … just change the ID) … this will have the vera create a copy … and then remove the original one …
and rename the “new” on back to the old id …
thanks alot
Best Home Automation shopping experience. Shop at Ezlo!