I'm trying to creat a push notification via RM that is Triggered to run nightly at a specific time that will let me know current status of devices.
Example: At 9pm, send me a Notification that says "Sensor X Battery is at XX%".
I am trying/wanting to use %device% and %value%, however running into a pickel because as the rule machine help page explains, these two "commands" pull from the most recent trigger event.
Ultimately I'd love to take this idea and have it send one massive notfication that shows a "summary" type notification of multiple devices confirming things like Doors are closed, fans were turned off, Stuff like that. (yes I realize I could make a dashboard for a visual look, but trying to do this with Notifications).
Yes, this is possible. There are likely several approaches. How I would do this:
Setup a Local variable for each device where a status is needed. Then set the variable to the status value. Finally, set the notification to contain these values.
This rule would be triggered to occur at the needed intervals.
From experience (10 years combined between SmartThings and Hubitat), and with a few hundred battery devices, I would not want a daily message with battery levels. It would drive me crazy.
I have different groups set up. One group notifies me if devices haven't been active within the last 24 hours. This works well as nearly all my battery devices report temperature, which means they check in at least once per day (even if they are a contact sensor on a window or door I don't ever open). Another group notifies me if battery drops to 0% (some devices have rechargeable batteries, which they don't report % correctly for). Another group just makes sure all my mains-powered devices are active (the group has the option to do a refresh command before checking the devices).
Separately from that, I use Device Status Announcer to give me notifications on other states, like that windows are open when the A/C turns on.