Hi All,
Is it possible to use a User Variable in the Action field of a Lightswitch ? For example, in an url :
Thanks and regards,
User variable in Action field
Moderators: leecollings, remb0
-
- Posts: 6
- Joined: Sunday 06 December 2015 17:36
- Target OS: NAS (Synology & others)
- Domoticz version: 2.3771
- Contact:
User variable in Action field
McSoda
Domoticz running on Synology 212j (main), Raspberry Pi B rev2 (remote)
Modules : z-wave, x10, teleinfo, karotz
Domoticz running on Synology 212j (main), Raspberry Pi B rev2 (remote)
Modules : z-wave, x10, teleinfo, karotz
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: User variable in Action field
Not het. But maybe a good sugestion. I move this topc.
-
- Posts: 68
- Joined: Wednesday 30 December 2015 23:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Poland
- Contact:
Re: User variable in Action field
+1 on variables in actions
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
-
- Posts: 9
- Joined: Wednesday 17 June 2015 16:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: User variable in Action field
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.
-
- Posts: 23
- Joined: Saturday 03 December 2016 16:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: User variable in Action field
+1
the actual workaround I'm using is apply a API Call via http to update the variable
the actual workaround I'm using is apply a API Call via http to update the variable
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 4
- Joined: Thursday 20 November 2014 22:16
- Target OS: Linux
- Domoticz version:
- Contact:
Re: User variable in Action field
Yes, thx for the advice, I am doing the same 
http://DOMOTICZURL/json.htm?type=command¶m=updateuservariable&vname=VARNAME&vtype=TYPE&vvalue=VALUE

http://DOMOTICZURL/json.htm?type=command¶m=updateuservariable&vname=VARNAME&vtype=TYPE&vvalue=VALUE
Who is online
Users browsing this forum: No registered users and 0 guests