MMS authentication to open a page delievered by a LUA handler on vera remotely

I have developper a LUA plugin which has a handler creating some user-interface for the user.
it works locally ( user opens : http://192.168.1.16/port_3480/data_request?id=lr_ALTUI_Handler&command=home )

but I want now the user to be able to open this remotely, just like when he goes through Home GetVera login and opens the VERA home page remotely

So I have developped a remote login page so that the user authenticate against the various MMS servers , then I want him to be able to open a VERA url like
http://192.168.1.16/port_3480/data_request?id=lr_ALTUI_Handler&command=home
but remotely.

Meaning, via the relay servers. so for instance via
https://vera-us-oem-relay31.mios.com/relay/relay/relay/device/xxxxxx/port_3480/; etc …

You can see my remote login page here: http://amg0.site11.com/Veralogin.php and I have attached the code of this page to this email. ( PHP )

As you can see, after a successful login , and by clicking on the “Toogle Details” button, I have all the necessary information and session Token, including the last session token for the ServerRelay I want to use

How can I, from there, simply open the web page “http://192.168.1.16/port_3480/data_request?id=lr_ALTUI_Handler&command=home” remotely so that my user can see my custom UI page ?

1 Like

Solved. got the answer from Andrei/MCV

just opening this url works=>
https://RELAY_SRV/relay/relay/relay/device/CONTROLER_SN/session/SESSION_TOKEN/port_3480/