Custom Variables read/write

is it somhow possible to red and write
custom variables without creating a service for it ?

i just want to memorize some data used for some mathematics later on.

i try serval constilations … i can read them … but not write …
probably something Noob of me.

oh one more thing … how do i get rid of variables attached to a device ? (i mean removing the container)

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.

Did you try variable set via http? See: VariableSet

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