Luup request setting param not variable

ok i am trying to set a variable via a http request locally

i am sending

http://192.168.3.201:3480/data_request?id=variableset&DeviceNum=133&urn:bochicchio-com:serviceId:VeraAlexa1&Variable=OneTimePassCode&Value=111111

But it is adding a variable in the advanced-params.

I would like it to update the variable in advance-variables

what am i doing wrong?

the serviceId is copied from the variables edit dialog.

You need the serviceId parameter. Also you should use /port_3480

http://192.168.3.201/port_3480/data_request?id=variableset&DeviceNum=133&serviceId=urn:bochicchio-com:serviceId:VeraAlexa1&Variable=OneTimePassCode&Value=111111
1 Like

Cheers i could not see i failed to add servicId=

does it matter if the request is POST or GET?

if i send by browser it fine
if i send by http post request nothing happens

edit/
never miund worked it out I was urlencoding the serviceId

all request are local

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy