I thought I'd share a few safety/security rules that I should have implemented much sooner in case they might be useful to someone else. I can share Rule Machine screenshots if needed, but will just describe what they do for now.
The first one requires a keypad lock that reports codes to the hub and presence detection. I've had a rule that notifies me if one of our guest codes is used (several neighbors have door codes), but there's always the very slim chance that if someone wanted in, they would just capture either my code or my wife's code and use that. So if my code is used while I am not present, I get sent a high priority notification. Same for my wife's code if she's not present. I'm not paranoid enough (or don't live in a bad enough neighborhood) to worry about the 30 seconds or so between when we leave and when the presence changes to away,
The next rule requires smart locks and smoke detectors connected to the hub. If a smoke detector goes active, multiple high priority notifications will go out to me and my wife alerting us that all the doors will be unlocked in 4 minutes. If the action isn't cancelled, the locks are unlocked after that delay. I have a second rule that is triggered by a cloud URL that will cancel first rule's delayed actions. I send the cloud URL in one of the notifications so I can abort the unlock. I decided this was a good idea after seeing what the fire department did to my neighbor's front door when they had a fire.
The last rule requires a smart range/oven and reliable motion detection. I recently added a connected GE range and an Aqara mmwave motion sensor in the kitchen. If the cooktop is on and the kitchen motion sensor reports inactive for 5 minutes, high priority notifications go out. That rule got added recently after we went outside to talk to a neighbor for a bit and forgot there was a pot of the stove. Nothing dramatic happened, but if the range had been turned up higher, bad things could have happened.
If nothing else, at least I have a good answer for when someone asks "why would you want your stove to have WiFi"
Nice! I have a rule that turns on all lights inside and out, turns off the furnace/AC and unlocks the door when the smoke alarm goes off. I like your delay, though. That would give us a buffer to find the broom and hit the button for a false (cooking) alarm.
IMO the single most under-utilized feature of Hubitat. This magic allows great feats by mobile phone widgets, email links and of course Tasker. I really need to hunker down one weekend and flesh out more uses.
Alan can show you his example of triggering a Rule Machine routine using its "Cloud Endpoint" URL, but here's a very similar way of sending a command directly to one of your Maker API-subscribed devices using a properly configured Cloud URL embedded in an email:
With a little extra work, you can get the outbound notification** from your hub to contain a neat hyperlink like I'm showing... but if you're content with just displaying the naked URL in the body of the email, it would look something like this:
Either way, the recipient could click (or paste) the URL to make it "go" and thus command the target device (this one turns on my desk lamp).
**Composing & sending these notifications from your hub is left as an exercise for the reader, but obvious choices would include Pushover Notifications Driver or Sendmail Notification Device. I hear others have also used Twilio Notifications Driver or Textbelt SMS Notification Driver or HEmail Simple Email and even IFTTT (still supported?) to generate SMS and email messages, something Hubitat no longer offers natively. (I haven't tried formatting such a link for sending as a Notification to my Hubitat mobile app, though if I'm sitting there with the app open, I'd probably just execute the command manually using that.)
I use a few cloud urls with Tasker on my phone and it's great. If you want to just do one thing like turn a light off or on, you don't need the cloud url. You can use the maker API URL instead.
If you really want to get complicated, you can create something that uses the local URL when you're home and a cloud URL when you're away. With Tasker, it's actually not that complicated.
With Tasker Join, you can send notifications.
My favorite example is that when both my wife and I are not present at home, I get sent a Join notification that triggers a scene in Tasker asking me if I want to arm my home alarm. I click yes which is a cloud URL that triggers the Arming Away of my house.
I'm not sure which part of the process you're asking about, so I'll start at the beginning. Within the rule, you can select Cloud End Point or Local End Point as a trigger.
You can right click on the link and copy it to add it to the notification action.
The actual notification part can be tricky because of the way HTML and links get treated in rule machine and (probably) by other apps. I am using a self-hosted ntfy server and my own enhanced version of the ntfy driver ([RELEASE] NTFY Notifier Driver - Push Notifications via ntfy.sh or Self-Hosted - #5 by Alan_F) that lets me send a structured notification in JSON format.
In the main rule, I created a local string variable (l_url) and set it to the cloud end point URL. I set my notification message to this:
A similar result could be achieved with Pushover and per other posters, Tasker. I haven't had any success so far trying to send the URL via a regular Hubitat app notification (the URL comes through, but it is not clickable or copyable) or using the LGK Sendmail V3 driver to send it in an email (the link gets truncated or mangled).
I have similar rules for fan control based on the smoke/CO detectors. For either type of alarm, lights all over the house turn on, with most color lights turning red. That includes the front porch lights, with the red lights hopefully acting as a beacon for first responders. I may set those to flash when I have some free time to play with the rules.
For smoke alarms the HVAC is turned off. For CO alarms, the HVAC fan, kitchen vent hood, and upstairs bathroom exhaust fan are all activated.
So I also finally have a good answer to 'Why would you need your vent hood to have WiFi?"
That reminds me when a very long time ago my mother took me to a scout meeting and forgot she was boiling some eggs. We came home to an interesting smell and hard boiled eggs blasted all over the kitchen walls and ceiling. There were even eggs pushed through the window screen on the opposite wall.
Could you give details on this one? I just got a GE oven in late November and would love to copy this one. I just looked and I had notifications that oven is on but not that cooktop is.
In my rule I use the cooktop status from HA and the "Oven cooktopStatus" from HE as my required expressions, then use the inactive motion detectors as the trigger. The three motion sensors are three zones of a single Aqara FP2.
I didn't even think about using the home assistant integration and I have it installed already. I was thinking you were doing it using notifications through the app. Thank you for the guidance.