I have been working on developing an Android application for controlling my devices. Up until recently, I have been able to successfully perform the MMS authentication and remotely access my Vera. I seem to be able to still perform the MMS discovery of devices, but accessing via the following URL pattern no longer works:
https:<///relay/relay/relay/device/<PK_Device>/port_3480/
I am retrieving the ServerRelay from:
https:///device/device/device/<PK_Device>
The official Vera application seems to be able to successfully connect remotely. What is the correct way to remotely access the Vera? Did the relay URLs change?
If you request http://:3480/data_request?id=user_data&output_format=xml from your browser then you can see the variables called RA_Server and PK_AccessPoint. https://<RA_Server>///<PK_AccessPoint>/data_request is then the URL you then need to use. Note that you must use https not http and it only works for UI5 - UI7 uses a completely different authentication system.
The Relay URLS can always change.
You need to get the relay servers from previous requests in the protocol.
Have you seen: http://forum.micasaverde.com/index.php/topic,24942.0.html
The only hardcoded URLS should be those listed as:
http://forum.micasaverde.com/index.php/topic,24942.msg191084.html#msg191084