Automations I built to help manage ADHD

hxii1 pts1 comments

Automating ADHD | 0xFF<br>Do you like how I do things?<br>Want me on your team?<br>Read my CV and ⭐ Hire me! ⭐<br>Do you like how I do things?

DATE2025-11-26 00:00:00<br>BUCKETProductivity<br>0 more things on adhd<br>ImportantThis article will be constantly updated with new solutions and improvements to existing solutions that I implement for myself.<br>NoteThe automations below require some hardware (sensors, zigbee radio) and software (Home Assistant), but can probably achieved with other combinations. Adapt the logic to your needs and constraints!<br>As I'm sure I wrote before – I have ADHD, which comes with a unique set of benefits, but also a fucking mountain of challenges. It is also the catalyst and driving force behind a large chunk of my personal projects.And so, as part of my never-ending pursuit for improving and streamlining as much of my daily life as possible, I decided to try and tackle some of those annoying tasks that most of us (yes, even people that don't have "a little bit of ADHD") just tend to forget to do.AutomaticReminding me to cleaning the cats' litter-boxReminding me to take my medsThe SetupInteraction BasedReminding me to buy cat food and litterHardware RequirementsThe SetupImportant Shopping ListThe IdeaThe Flow<br>Automatic¶<br>Reminding me to cleaning the cats' litter-box¶<br>NoteThis can, and probably should, be further improved to complete existing tasks for example, instead of having to complete them manually.<br>Hardware – Zigbee door/window sensor (magnetic reed switch or hall effect)Software – Todo app with an API integration in HomeAssistantThe principle of this automation, which actually has two parts, is both create a reminder that is based on completion date and nag me in case I forgot to remove the bio-hazard waste.The magic is achieved by placing the magnetic switch on the drawer of the litter-box, which you ideally will only open when performing maintenance on the feline waste container.Reminding me to take my meds¶<br>NoteDue to the configuration oddities of the sensor, fine-tuning this automation may be more difficult than necessary. But with some extra logic you'll be able to do it!<br>I often forget to take my meds in the morning, especially with how hectic some mornings may be, and even though my phone gently nudges me to take the meds at 8:35AM (and then punches me in the ribs yells much louder at 9:15AM), I will still forget to do so.So I came up with a solution through HomeAssistant to keep annoying me until I take my meds.#### Hardware Requirements - Vibration sensor that can report XYZ or tilt and can comfortably fit in/on your jar - A jar or a box that can safely store medicineThe Setup¶<br>Create a Input Boolean helper in helpers. I called mine Paul Meds Taken and gave it the mdi:pill iconCreate a reset Automation in automations. The gist is to reset the boolean at midnightalias: Reset Meds Taken Status<br>description: >-<br>Automatically reset the medication status to 'not taken' at midnight if it was<br>marked as taken.<br>triggers:<br>- trigger: time<br>at: "00:00:00"<br>conditions: []<br>actions:<br>- action: input_boolean.turn_off<br>metadata: {}<br>data: {}<br>target:<br>entity_id: input_boolean.paul_meds_taken<br>mode: single<br>Create a reminder Automation which will constantly nag you to take your meds, until the boolean you created earlier is set as true.NoteFor my automation, I also included the phone location, as if I'm not home (which is where the drugs are) there's no reason to constantly nag me.<br>alias: "Reminder to Take Meds"<br>description: Automatically reminds Paul to take his medications every hour if not done by 12 PM.<br>triggers:<br>- trigger: time_pattern<br>hours: /1 #Reminder every hour<br>conditions:<br>- condition: and<br>conditions:<br>- condition: time<br>after: "08:00:00"<br>before: "12:00:00"<br>- condition: state<br>entity_id: input_boolean.paul_meds_taken<br>state:<br>- "off"<br>- condition: zone<br>entity_id: person.paul<br>zone: zone.home_city<br>actions:<br>- action: notify.mobile_app_phoney<br>metadata: {}<br>data:<br>message: 💊 TAKE YOUR MEDS<br>title: 💊 TAKE YOUR MEDS<br>mode: single<br>Create an Automation to indicate you've taken your government-issued brain medication.NoteNote the zone check in this automation. It's there to prevent turning the automation off by mistake in case my wife decides to pick up the happiness jar.<br>alias: Paul – Cancel Medication Reminder<br>description: >-<br>This automation activates when the medbox lid is tilted and sets<br>the helper as true meaning meds taken.<br>triggers:<br>- trigger: state<br>entity_id:<br>- binary_sensor.medbox_vibration_sensor_tilt<br>from:<br>- "off"<br>to:<br>- "on"<br>for:<br>hours: 0<br>minutes: 0<br>seconds: 3<br>conditions:<br>- condition: and<br>conditions:<br>- condition: time<br>after: "07:00:00"<br>- condition: state<br>entity_id: input_boolean.paul_meds_taken<br>state:<br>- "off"<br>- condition: zone<br>entity_id: person.paul<br>zone: zone.home_city<br>actions:<br>- action: input_boolean.turn_on<br>metadata: {}<br>data: {}<br>target:<br>entity_id: input_boolean.paul_meds_taken<br>- action: notify.ntfy_home<br>metadata: {}<br>data:<br>title: MedBox<br>message: Paul took his meds<br>mode: single<br>Wife's VersionI ended up being...

meds take automation condition entity_id zone

Related Articles