User variable in Action field

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
McSoda
Posts: 6
Joined: Sunday 06 December 2015 17:36
Target OS: NAS (Synology & others)
Domoticz version: 2.3771
Contact:

User variable in Action field

Post 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
snip_20160103142623.png (44.47 KiB) Viewed 2331 times
Thanks and regards,
McSoda
Domoticz running on Synology 212j (main), Raspberry Pi B rev2 (remote)
Modules : z-wave, x10, teleinfo, karotz
User avatar
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

Post by remb0 »

Not het. But maybe a good sugestion. I move this topc.
mKotek
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

Post by mKotek »

+1 on variables in actions
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: User variable in Action field

Post by Number8 »

+1
Debian buster on NUC and three RPi with buster.
mstrandbo
Posts: 9
Joined: Wednesday 17 June 2015 16:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: User variable in Action field

Post 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.
mvroosmalen
Posts: 23
Joined: Saturday 03 December 2016 16:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: User variable in Action field

Post by mvroosmalen »

+1!!!
:-)
User avatar
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

Post by emme »

+1

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"
lbouriez
Posts: 4
Joined: Thursday 20 November 2014 22:16
Target OS: Linux
Domoticz version:
Contact:

Re: User variable in Action field

Post by lbouriez »

Yes, thx for the advice, I am doing the same :)
http://DOMOTICZURL/json.htm?type=command&param=updateuservariable&vname=VARNAME&vtype=TYPE&vvalue=VALUE
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests