Is there a list of pre-defined % variables

Greetings excellent Hubitat Community, & Staff!
I have searched (maybe wrong search terms) both our Community & documentation, w no luck. I did find [jshimota] post (& a couple others), asking same question, but not really answered.
I know the usual ones: %device%, %value%, %time%, %now%, and %date%.
Are there others? Or a list?
Simply trying to plop in the DAY of the week (e.g. Tuesday or Sunday) in a simple notification.
Thanks very much!
Bill

The full list is displayed in the apps themselves, in the context where they are available, namely sending a message or notification:

4 Likes

@bravenel
Bruce...... thanks very much!!!
Was hoping there may be more.
Just trying to return the "day".
Thanks again. Bill

If you have webcore you can create hub variables and then use the Webcore constants to fill them. That's what I do for a DayofWeek string and a DayofWeekNum integer.

1 Like

Evening @terminal3 Terminal3,

Thanks very much for the added help!
I don't have webcore, but I have read a bit about it. I suspect I may have to look into that in the future.
There is an incredible amount to learn in general, which I am happy about.
Bill

1 Like

Not very elegant, but you could set a variable to the day of the week in the following way:

The completed rule would look like this:

Then you can use the %Day% variable you created as part of your notification.

3 Likes

@Sebastien Well, evening Buddy!
I think that I am going to owe you big time, if you ever drift down this way.
Sebastien, thank you AGAIN!!!
I am def going to give that a try.
Thanks so much!
Bill

2 Likes

Or, the streamlined version: :grinning:
image

2 Likes

Since I already had webcore setup, I felt it was the easiest way.

1 Like

Man... you guys must HATE beginners!
So....... I cant find the correct choices to "set" a variable, such as "set day to" or set DayofWeekstr".
I am probably in the wrong area, but I've poked around everywhere (except the correct place, of course).
image
Sorry!

P.S. I know I can create a Hub Global value, which I did, but cant seem how to get it into a rule.
thanks

1 Like

OK.... I found my issue....... I had to close everything out, & sort of restart the rule, to get either local variables or GV to show for choices.
I apologize, & have given myself a dumb dumb slap.
Thanks

4 Likes