openLuup: Suggestions

I noted that house modes are not handled (possibly by design ?) by VeraBridge… a change in house mode on the bridged Vera is not reflected in openLuup.

Sseveral of the scenes I am migrating to openLuup depend on house mode (despite the many shortcomings of Vera’s implementation of house modes I find it more convenient than adding multiple virtual switches).

It would be nice to have such a feature in future versions of openLuup. For now as a quick fix I implemented a one line code addition to the polling function in the L_VeraBridge.lua file as follows:

if s and s.devices then UpdateVariables (s.devices) luup.attr_set("Mode", s.Mode, 0) -- added by logread to update openLuup house mode to actual on Vera DataVersion = s.DataVersion end