Page 1 of 1
User variable in Action field
Posted: Sunday 03 January 2016 14:34
by McSoda
Hi All,
Is it possible to use a
User Variable in the
Action field of a Lightswitch ? For example, in an url :

- snip_20160103142623.png (44.47 KiB) Viewed 2375 times
Thanks and regards,
Re: User variable in Action field
Posted: Tuesday 05 January 2016 19:52
by remb0
Not het. But maybe a good sugestion. I move this topc.
Re: User variable in Action field
Posted: Sunday 24 January 2016 15:44
by mKotek
+1 on variables in actions
Re: User variable in Action field
Posted: Friday 11 March 2016 6:20
by Number8
+1
Re: User variable in Action field
Posted: Monday 25 April 2016 21:00
by mstrandbo
Another +1 from me. I want to pass a variable in an On Action-script - for me it would be a parameter at the end that then would be passed to the script running.
Re: User variable in Action field
Posted: Saturday 03 December 2016 16:40
by mvroosmalen
+1!!!

Re: User variable in Action field
Posted: Tuesday 06 December 2016 14:27
by emme
+1
the actual workaround I'm using is apply a API Call via http to update the variable
Re: User variable in Action field
Posted: Tuesday 10 January 2017 0:11
by lbouriez
Yes, thx for the advice, I am doing the same

http://
DOMOTICZURL/json.htm?type=command¶m=updateuservariable&vname=
VARNAME&vtype=
TYPE&vvalue=
VALUE