Lua Scripts - Device Parameter Value & Variable

Hi,

Working on a Lua Scripts to use from mesbot:
How to get/set data from an existing device?
How to get/set variables created in Advanced Scripting?

Something like this where LastHumidityValue is a global variable defined under Advanced Scripting - Variables :

– Saving current humidity value.
LastHumidityValue = storage.get_number(“params.humidity_sensor_humidity.value”)


This does not work.

Hello @rockbuck

We have sent you an email to check your controller and device capabilities. Could you please check your inbox?

We will share the results here later.

Hello @JonathanB , nothing in my inbox (even in spam folder). Please resend.