URL to set home mode

Does anyone know the URL to set the home mode.

I know there are plugins etc…
but I simply need the direct url to set the Unit Home mode not through another plugin…

This doesn’t work

http://192.168.2.4:3480/data_request?id=lu_variableset&DeviceNum=0&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=SetHouseMode&Variable=newHModeValue&Value=3

nor this

http://192.168.2.4:3480/data_request?id=variableset&DeviceNum=0&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=SetHouseMode&Variable=newHModeValue&Value=3

Thanks in advance

Hi Konrad,

Try this:

http://VERA_IP/port_3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=SetHouseMode&Mode=2

Thanks for the assistance.
That does work.
The response is like this

[code]This page contains the following errors:

error on line 2 at column 50: xmlns:u: ‘Unknown Service’ is not a valid URI
Below is a rendering of the page up to the first error.

OK[/code]

anything I can do to get a clean response

also…

is there a command for cancelling the request?
Or do you just set it to the last value

You can use the following code to cancel the change. Although the counter will still remain on the screen, don’t worry as you’ll notice that when it reaches 0, it won’t change the mode.

http://VERAIP/port_3480/data_request?id=variableset&Variable=mode_change_mode&Value=0

Not sure why it’s that output, it doesn’t hurt or affect the command.

[quote=“John M., post:5, topic:193097”]You can use the following code to cancel the change. Although the counter will still remain on the screen, don’t worry as you’ll notice that when it reaches 0, it won’t change the mode.

http://VERAIP/port_3480/data_request?id=variableset&Variable=mode_change_mode&Value=0

Not sure why it’s that output, it doesn’t hurt or affect the command.[/quote]

perfect
thanks again