Altui blank tab on opening via button on vera

Vera gives me a new empty white tab when pressing the altui button. Latest version according to Vera is 2.24 and I have 2.26 running. ::slight_smile:
Not sure when this started, but I think this was not directly after the firmware update of vera.

This problem, I think:

http://forum.micasaverde.com/index.php/topic,85487.0.html

Just follow the brief instructions there.

Ok, clear. But how do i “Reset home url variable then reload luup”?

Go to Devices, click on the Variables for the AltUI device, then look for LocalHome. After clearing it, reload.

Cant celar that value: Value cannot be empty.

Cant celar that value: Value cannot be empty.[/quote]
Clear it from altui itself
Or with a luup variable set lua code from test lua

Hi Amg, would appreciate a little more help and guidance :-). Altui wont open so I cant use that anymore.
It truns a blank screen. I would not know how to reset a vlue for Aluit with luup?

[quote=“Sender, post:7, topic:199251”]Hi Amg, would appreciate a little more help and guidance :-). Altui wont open so I cant use that anymore.
It truns a blank screen. I would not know how to reset a vlue for Aluit with luup?[/quote]

run a code like this in UI7 test lua window

luup.variable_set("urn:upnp-org:serviceId:altui1", "LocalHome", "" , <ALTUI_DEVICE_NUMBER>)

you should also be able to open ALTUI using the good url

http://<ipaddr>/port_3480/data_request?id=lr_ALTUI_Handler&command=home#

and reset the variable from ALTUI

I have fixed this LocalHome issue in the next release ( I hope )

@amg0, I am not sure that you have. Using v2414, after clearing LocalHome, and reloading, I get a 404 error, with the following URL:

http:///data_request?id=lr_ALTUI_Handler&command=home

No port number, no trailing #. I have been unable to find any incantation to put in LocalHome that works.

Yes, here too now. Fixed it before, but now (after update of altui) get:

veraip/data_request?id=lr_ALTUI_Handler&command=home

and then:
404 - Not Found

[quote=“Sender, post:11, topic:199251”]Yes, here too now. Fixed it before, but now (after update of altui) get:

veraip/data_request?id=lr_ALTUI_Handler&command=home

and then:
404 - Not Found[/quote]

try again, reset variable, then go into settings and play a bit with the url selection menus ( this should set it properly ).
I ll try again when I am back home but this is what I did with the new release to confirm it worked. it does not work if you carry over a non empty variable value from an older release, basically the app set it up properly but only if it is empty

Cleared it empty via altui but does not set it back correctly despite…

Can you please explain step by step ( 1. 2. 3 4 etc ) what you do from the variable clear step 0 and until you confirm the new value of the variable is still not correct so I get a proper repro scenario
Thx

Ok, here you go:
step1: trying to open altui via vera: 404 error.
step2: using url http:///port_3480/data_request?id=lr_ALTUI_Handler&command=home# opens altui.
step3: goto altui device via altui and open variables. I clear the “LocalHome” value by pressing the bin. it asks “Do you also want to delete this variable definitively ? (LocalHome)” and I say Yes.
step4: close the dialog box and it seems to reload luup (although controller does not respond for a while - 11 seconds).
step5: I refresh the native vera interface, goto altui app and press open button, so I try the button via vera interface again: about blank.
step6: reload luup again manually (it seems it did not reload luup automatically) → goto altui and reload luup engine.
step7: I refresh the native interface from vera again and and press open button: 404 - Not Found

[quote=“Sender, post:15, topic:199251”]Ok, here you go:
step1: trying to open altui via vera: 404 error.
step2: using url http:///port_3480/data_request?id=lr_ALTUI_Handler&command=home# opens altui.
step3: goto altui device via altui and open variables. I clear the “LocalHome” value by pressing the bin. it asks “Do you also want to delete this variable definitively ? (LocalHome)” and I say Yes.
step4: close the dialog box and it seems to reload luup (although controller does not respond for a while - 11 seconds).
step5: I refresh the native vera interface, goto altui app and press open button, so I try the button via vera interface again: about blank.
step6: reload luup again manually (it seems it did not reload luup automatically) → goto altui and reload luup engine.
step7: I refresh the native interface from vera again and and press open button: 404 - Not Found[/quote]

ok should be fixed in the next revision. in fact since march2008 there is a pb with my openluup detection code due to the change documented here
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_attr_get

The latest release (v2418) has fixed now this issue for me. Many thanks.

espite, for me it does not… still 404…

make sure you have the lates version, try again to clear the LocalHome variable from within ALTUI or with a lua code on UI7.
then refresh browser + reload LUA
then try again from scratch
if it does not work try to do the whole sequence in debug mode and share the logs

make sure you have the lates version, try again to clear the LocalHome variable from within ALTUI or with a lua code on UI7.
then refresh browser + reload LUA
then try again from scratch
if it does not work try to do the whole sequence in debug mode and share the logs[/quote]

Works, will monitor behaviour. Thanks!