Hi
is it possible to define a variabe
- like : %ruleversion% = "version"
which can be used later in publish command?
I know the workaround to set a generic dummy device with event and eventvalue, but it would be easier to have a variable within rules to be used after flashing the rules .
thanks T
(solved)rules define own variable within rules
Moderators: grovkillen, Stuntteam, TD-er
(solved)rules define own variable within rules
Last edited by riker1 on 16 Mar 2019, 19:18, edited 1 time in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: rules define own variable within rules
As of the last 2-3 months you can define up to 16 internal variables.
The rule above will set variable 16 to the value 123. You can use the variables in either using this syntax:
%v16%
Or
[VAR#16]
How you want to publish the version number is then up to you.
Code: Select all
Let,16,123
%v16%
Or
[VAR#16]
How you want to publish the version number is then up to you.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: rules define own variable within rules
ok, that is perfect.
thanks
thanks
Re: (solved)rules define own variable within rules
also alphanumeric once?
Thanks
Thanks
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: (solved)rules define own variable within rules
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: Bing [Bot] and 128 guests