Now that our days are all about eating, sleeping and pooping, I wanted an easy way to track this. Of course the simplest thing to do would be to download a baby tracking app; I'm sure there are great ones out there. But I couldn't resist rolling my own with Tasker and Google Sheets.
Here's what I did. First, I created a new task to track a generic 'baby event.' The task depends on two useful plugins: Tasker Spreadsheets Plugin and Mail Task. The former plugin allows for writing data to a Google Sheet, the latter allows Tasker to send e-mail. The only thing resembling a complication in this plugin is that I need a Google Sheet friendly timestamp. To get this, I did a string replacement on the %TIME variable to convert '.' to ':'. I then added in the %DATE variable to get a timestamp.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJnpD1Bpg2v6yzc6E2L8zCwgROIkZJTEkxKXMgck_67Sv17wm9353xSWFhjyKYZeCsdNfocnwre8odT9TYaFl99XXTfiwdBmmf8AdAt95GGUKNSPjjSnvUVEFGdWc6tccNih5c/s400/task_scrubbed.png.png)
Once I had this general purpose logging task, I made a series of specific tasks. Each one contains a Perform Task action which calls the main task.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9_qEqJAhGb04zM5_ploznwJu4FyZis90aQh0zfSRu9xYy9MHNtqEdWp9mLx16sytW6sgqkaP6DemmLT1RwLWTgCb8n8HlONzvOLf2s1geXPYKa7AF0XUY_FUp9xjdlJDd-E6E/s400/Screenshot_20200210-073818_Tasker.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwG5LIKFn2xYE436lgOHYPsduEbdmFvhrNTYDT7obmv4hAHipaUBdktWFAFRK5FTLR5NpGr5zN4qXK2lXwoBKCfdWG8T9Vr_cr-_GHXL-SiP5lvmzNizjDBtsnSI8WGI6ivXWn/s400/Screenshot_20200210-073905_Tasker.jpg)
Finally, I setup a widget page on my home screen to host a series of Tasker widgets. Each one logs a different event:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA5KH-Vwbc18Wjq4IM-P0_HMW-DXJM_CUKKB_zJ9sf0BmyUQIzUPzj79uQwUx5Huh263IRSD9WHtPRIfckpHQreDZIEFJ-5IOIrnAbIP8sA-W1OqvQbdJHLTIYBnNG7CnJoX0m/s400/Screenshot_20200210-073759_Smart+Launcher.jpg)
Now, logging nap time is as easy as clicking the appropriate icons. If only putting the kid down for a nap was this simple.
No comments:
Post a Comment