#Automation for checking last scan date and time?

1 messages · Page 1 of 1 (latest)

molten minnow
#

I need some help with the best way to achieve the following:

Dog Fed NFC Scanned:

Dog fed twice a day

  1. Have an automation that reviews if its Noon and dog has not been fed then send reminder notification.
  2. If its 8pm and dog hasn't been fed then send a reminder as well.
  3. Icing on cake: option to snooze reminder if away from home or on another task .
sharp tapir
#

aha, writing more dog feeding automations are we 🙂

sharp tapir
# molten minnow I need some help with the best way to achieve the following: Dog Fed NFC Scann...

if you make a "counter" helper
then you can add a counter.incrementaction to your "dog has been fed action)
then you have automations that
if midnight = reset counter to 0
if noon and counter = <1 then send notification that dog has not been fed
if 8pm and counter = <2 then send notification that dog has not been fed

you could also have the automations do something like

start loop until count changes
send notification
sleep 10 mins
end loop

that would send notification every 10 minutes until thee dog is fed and the count is incremented

#

you may want to make the notification have a specific sound effect though.

as the dog will probably learn that the sound effect is followed by food and you probably don't want that on your regular notification sound

molten minnow
#

yeah i am tired of getting the hammer of wife when i forget she normally does it but when days come that she is not around I forget

#

so gonna have my smart home help me out lol

molten minnow
#

This is the outside scope of this request but is there a when day is Thursday option or am I blind? Doing this similarly for trash.

sharp tapir
#

yeah you can set it as a condition

#
weekday:
  - thu
#

time condition with no time but you can set which days

molten minnow
#

ok i see now I was look for when day = Thursday