I need a shorter HTTP request string due to sending device size limitations.
Can any of the following tokens be abbreviated? or ?
http://192.168.10.41:3480/data_request?action=SetTarget&newTargetValue=1&id=action&DeviceNum=51&serviceId=urn:upnp-org:serviceId:SwitchPower1
No, they can’t. But is it a coincidence that the subject of your post is exactly the same as a section in the Luup Requests Wiki?
The answer pointed to there (in 2012!) is, on the new forum:
The answer is, essentially, to code the request you need, perhaps parametrised, on Vera, either as a scene or in Lua Startup, and trigger it with a request which is handled by your code there. Luup makes it particularly easy to do this… one of the few things it really does well!