Hello,
Does anyone know if this is right for rule to sent a email?
Box#Temp do
if [Box#Temp]<97
notify,1,"Box temperature is [Box#Temp]°F!"
endif
endon
Cheers'
Dave
I think this is wrong but ........
Moderators: grovkillen, Stuntteam, TD-er
Re: I think this is wrong but ........
I see a typo on first line; Should be:
In case it matters, I would omit the first comma seen in your notify. Should be:
- Thomas
Code: Select all
on Box#Temp do
Code: Select all
notify 1, "Box temperature is [Box#Temp]°F!"
Re: I think this is wrong but ........
Hi Thomas,
Well thanks for the prompt reply - that was great !
So more like this, right !?
on Box#Temp do
if [Box#Temp]<97
notify 1,"Box temperature is [Box#Temp]°F!"
endif
endon
Cheers'
Dave
Well thanks for the prompt reply - that was great !
So more like this, right !?
on Box#Temp do
if [Box#Temp]<97
notify 1,"Box temperature is [Box#Temp]°F!"
endif
endon
Cheers'
Dave
Re: I think this is wrong but ........
Parsing of command parameters is maybe a bit counter-intuitive some times, but in the last few builds I made it a bit more user friendly.
See: https://espeasy.readthedocs.io/en/lates ... er-parsing
So the first comma should work also, as will the space.
When in doubt of strings not working, please try first to remove non standard ASCII characters, like the degree sign.
You can also replace that one with {D} See the system variables page on the node for more of these examples.
See: https://espeasy.readthedocs.io/en/lates ... er-parsing
So the first comma should work also, as will the space.
When in doubt of strings not working, please try first to remove non standard ASCII characters, like the degree sign.
You can also replace that one with {D} See the system variables page on the node for more of these examples.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 29 guests