#100days 44 - Continuing the new site train 🚂🚂
I tried out using some variable fonts but that was mostly a failure so far... and even though they are cool and useful, I really don't need them much, I'm only ever really likely to use a couple of styles on this site.
#100days 43 - continued with the site rebuild. I'm working on tidying up the css and making it a bit bigger and bolder.
#100days 42 - Finally got my Next.js version of my site running as it was meant to! Still a decent amount of work to do on it though, might do a little visual revamp too.
#100days 41 - Did some more home automation updates in Node-RED:
- Turns out groups for tracking people wasn't a great idea, instead I set up a custom sub-flow that reads the state of everyone and sets some variables for each person and if everyone is home or only some people.
- Made some parts more reusable using links
- Use transitions to fade out certain lights
- Fixed phone notifications that set it to night and day mode
#100days 40 - worked on my new site a bit again to try and get it to stop hanging during the build process and a small amount of progress has been made. I managed to fix one broken function and have eventually got a build to run by temporarily deleting most of the website 😄 I'll try adding it back piece by piece to find what's broken
#100days 39 - Another little double down today. As well as updating my lights I also updated a lot of my home assistant automations.
For a starter I set up a group of people that are regularly in the apartment so stuff like lights and the ac should only be automatically switched off if everyone leaves.
I also integrated light sensors into a bunch of automations to turn on lights, so if there is already plenty of natural light the lights won't be turned on.
Finally I enabled some motion sensors, a couple of general one and one on the front door. So when it opens I get a notification if noone is meant to be there (after a short time to make sure it wasn't someone arriving home). The general motion sensors are used to trigger lights if it's dark, but I have a feeling they might get annoyingly triggered by accident so I will need to see how it goes with those.
But all in all I'm pretty happy with it! Just need to try and get my desk lamp flashed and some slight improvements to the AC and I'll be sorted.
#100days 38 - I eventually had great success flashing my led strip controllers with esphome and they work great! It really helps if you solder to the correct pins 🤦♂️
I ended up following the start of a youtube video to help with the soldering and I even got the IR remote working on one of them by borrowing some code from this thread
For #100days 37 I have been attempting something that makes me feel like a true hacker - even if I am an unsuccessful one...
I've been attempting to flash a custom firmware onto my Mi Desk Lamp, which involves taking it apart, soldering wires to the correct spots and connecting them up to a programmer board in the right way too.
And you know what it actually worked! I am able to flash something onto the board. But... then it doesn't run. It currently keeps rebooting complaining about a CONFIG_FREERTOS_UNICORE error. I think the most likely reason is that I have a wrong config value somewhere.
But it's pretty fun to explore this, it looks like I am the first person attempting to document flashing a custom firmare to this version of the lamp, then if I do ever get it working I then have to figure out what are the correct pins to control everything and set up the control dial.
#100days 36 - Still working on my Next.js static site build, but without much luck yet 😑 I tried drastically reducing the number of posts it prerenders as well as adding a bunch of logging so I can see what is being built and what is taking time, but the build is still hanging for some unknown reason.
#100days 35 - After updating my site to add categories based on hash tags I went and backdated old posts too, so you can now find an archive of my 100days posts at https://grant.codes/category/100days