Scene State

Hello @akbooer , Thanks for the changes on http client sockets (Currently being tested on request_image and working great) sharing it once stable to get your opinion.

On another note. We are wondering what can be reliably use to create scene_watcher request? The previous advice was to use

luup.scenes[n] :user_table()

But apparently it was removed on the development branch’s latest changes.

openLuup/scenes.lua at development · akbooer/openLuup · GitHub (Line 66)

We are just wondering what would be the proper approach to prevent from breaking in the future. would it be safe enough to use

scene[SCENE_NO].definition

any thoughts/idea ?