Now there’s a loaded question! When you say “remotely” do you mean not from your local LAN? If so, then you may have either a communications problem or a syntax problem.
Check your Vera logs - if an error, search forum for syntax help on your command. If no error, you may want to search the forum for remote communications info. And, if you need help in checking Vera’s logs, well, search the forum for log information.
When I said remotely, I mean from a plain web browser and not the standard UI5. For now I issued the command from the Local LAN, but will ultimately issue it from anywhere. I want to do this bypassing the UI5, because it is so slow loading the web interface and then finding the button on the UI. While on the go, I want to be able to just pick a bookmark and have it execute.
I have it working now for activating a scene called “approache home” and as you can guess it’s used for when I arrive home and the house is in darkness. I just issue the bookmark and my driveway gets lit. In my proposed action for the VSwitch it’s used for determination when to turn off the driveway. Like if I know I will be later that day, I want to be able to set this switch in advance and can avoid the need for the approach home scene at time of arrival.
Thusfar the response from the data_request is “OK”, but I see nothing in the log, nor do I see the state change in effect for the Status variable.
At this stage I would expect it to be a syntax error, but have not found anywhere on the forum a suggestion for the use of the VSwitch in the data_request application.
As a workaround I could create a scene to do the state change, but it seems a roundabout way of doing, if you can just set the variable, as the wiki for data_request suggests.
You’ll notice that this uses lu_action and not lu_variableset. I recommend using lu_action wherever possible because it goes through the switch’s public API. Using lu_variableset is like going to a restaurant for a meal, entering the kitchen and cooking it yourself. It might feed you, but it’s impolite and you probably put things back wrong.