Daily Update For Dec 03
Daily update for Dec 03. Most of my day mainly goes into family time, workouts, house chores, entertainment (movies, shows, cricket etc.), hobby projects, sleep, other (personal hiegene, breakfast, lunch, dinner) and reading news, blogs/audiobooks/videos. Since I cannot write about my family time, personal life, workouts, and house chores, for your benefit :), I can tell you what I am reading, listening, watching, and working on a daily basis. So here is what happened yesterday (remember it is not comprehensive; you are seeing what I remember to record). Also note that I spend way more time on family than work (unlike when I was still working). So what I do on a day to day basis may seem a lot less than what most of you do :).
Blogs I Read Today
- https://www.safalniveshak.com/the-sale-warren-buffett-couldnt-make/
- https://finshots.in/archive/why-is-india-distributing-free-rations-if-poverty-is-falling/
- https://blog.coredump.cx/p/how-did-pinwheel-calculators-work
Audio I Listened to Today
Videos I Watched Today
Hobby Projects
Wrote yesterday’s blog.
Quick notes
- several warnings in jekyll blog deployment. Figuring out the issues
- change tablets and software that goes with it
- research on which product to buy for some home needs
- added google health to HA https://www.home-assistant.io/integrations/google_health/
- add google health dashboard to home assistant
- some repairs at home
Figuring out Warnings in Jekyll
Since I have not been updating my blog for a long time, I did not notice some warnings from Jekyll. I thought I should take a look at them. The errors are a bunch of messages that look like this
/main.scss 50:3 root stylesheet
Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import
So I checked out the link. Seems I need to change the import style.
After much digging I found that the errors were not coming from my code. It seems like a problem with the minima theme I am using for my blog. Now, I did not want to fix the theme, so I let the warning stay. When it breaks it breaks.
Just in case I asked google about it and the response is
This warning occurs because Dart Sass 1.80+ deprecated @import and global color functions (like lighten() and darken()) in favor of @use, and Jekyll’s minima theme still relies on @import in its stylesheets. Your site will still build properly, as removal isn’t scheduled until Dart Sass 3.0.0
So for now I am not going to do anything about it. There is an issue tracking it. Seems like it has been an issue for a long time and I never really noticed it. Oh well.
Change Tablets and Software
In our house we have a whole bunch of android tablets in various rooms displaying something or the other. More details in my earlier post.
I wrote a small android app for some of the tablets in the house to turn off the display in the night at 10 pm and wake up and turn on the display in the morning at 5 am. The idea was to not only save energy (not that the display is very power consuming) but also to protect the LCD itself from burn-ins etc if something crashes leaving a fixed image overnight.
There is a tablet in my daughter’s room which basically shows clock and has a few alarms for when she goes to school to remind her to get ready. It is a Huawei MediaPad M5 Lite. There is some problem with the firmware I think that causes the tablet to not run scheduled alarms properly. The alarms sometimes don’t run and my app is not started at 5 am like I programmed it. It works fine in other tablets.
So I decided to swap that tablet with another tablet that lives in the Kitche (Nexus 7). I wrote another dart app on the kitchen tablet to display some home assitant related details (battery, solar, UPS state etc).
There were some other apps ruuning in the kitchen tablet including a music player app that I wrote as well. It syncs music from my media player to the tablet. I wrote this app so it could send music to all my devices (phone and tablets). so we can listen to my collection. There is some intelligence in the app so if I skip a song the song comes back much later than the songs that I listen completely etc.
Anyway, what I am trying to say, is that switching tablets is not just changing their places and plugging in chargers. I have to reinstall app, change settings and alarms etc.
Now the tablet in my kid’s room is working as expected. The one in the kitchen does not turn on automatically, but I manually turn it one when I go to the kitchen in the morning to make my coffee. It stays on until it turns off in the night.
Added Google Health to Home Assistant
Although I don’t wear any fitness watch, my phone tracks some basic metrics like steps. I wanted to see how it would look. I followed the guide to create a google project. Created the integration in Home Assistant. Installed and setup the google health app on my phone and connected it to the integration.
Now, a tiny slice of my health data is being recorded in Home Assistant. Will be interesting to see how much distance I cover on Saturday along with the number of calories burnt. You see on Saturday I go to my Karate class by walk covering approximately 3.5 kms according to Google Maps. Let’s see what my phone says.
Next I added a dashboard in Home Assistant to display calories, steps and distance.
Other Stuff
Worked on some random nontrivial work not worth expanding upon, yet still took away considerable time from my day
- Had to repair a cabinet handle in the kitchen
- We needed some things to be replaced in our home and I was researching a few of the options. Not really important what the products are but just to say the research took some time and I enjoyed the process :).