With my Vera being a Vera2 on UI5, is it still possible to use the Home / Away / Vacation / Night modes in AltUI?
This is a simple question, but how are those set?
With my Vera being a Vera2 on UI5, is it still possible to use the Home / Away / Vacation / Night modes in AltUI?
This is a simple question, but how are those set?
The openLuup environment is an emulation of a UI7 machine, so yes, it has house modes which are set by the buttons on the home page. They can also be set/read programmatically through the top-level “Modes” attribute. Scenes can also be written to only operate in some modes.
The VeraBridge now also has a variable which reflects the mode of the bridged machine, but in the case of linking to a non-UI7 machine, this will, of course, not do anything.
im on the latest version but cant see this variable…?
Are you really on the latest version of the bridge?
[quote=“akbooer, post:2, topic:192422”]The openLuup environment is an emulation of a UI7 machine, so yes, it has house modes which are set by the buttons on the home page. They can also be set/read programmatically through the top-level “Modes” attribute. Scenes can also be written to only operate in some modes.
The VeraBridge now also has a variable which reflects the mode of the bridged machine, but in the case of linking to a non-UI7 machine, this will, of course, not do anything.[/quote]
That’s my question - how to I set the top-level mode? Do i need to do that with a piece of code? For example, if I am using the iPhone Locator and the phone goes away, how to I set the house mode to away? In UI5 I accomplished this with a scene and a virtual switch (in the absence of house modes). But I don’t see in the scene builder how to set that mode.
Same as on Vera with UI7…
…you can either use an HTTP request, or one line of Lua code:
Setting: (value is 1,2,3, or 4)
luup.attr_set ("Mode", value)
Getting:
local mode = luup.attr_get "Mode"
Does that help?
Edit: correction, I had written “luup.attribute_get/set” when I should have written “luup.attr_get/set”. Fixed in the above code now.
[quote=“akbooer, post:4, topic:192422”]Are you really on the latest version of the bridge?
https://github.com/akbooer/openLuup/tree/development/VeraBridge[/quote]
So you are right… I wasn’t on the latest… despite copying over the files from the development branch…
that said however, if I drop the latest in , the Altui will not load.
If I try a reload it form the command line I get a repeating line
device 12 'VeraPlus' requesting reload
whats more strange is this…
I uploaded the backup VeraBridge files to get a functioning system again…
and despite being on the old one… I now have the variable you spoke of, Home Mode
Best Home Automation shopping experience. Shop at Ezlo!
© 2026 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules