#100days 54 - Just continued converting some of my new site styles to sass.
Also tried another update to the PostrChild extension but it was a bit of a failure for reasons unknown to me right now
#100days 54 - Just continued converting some of my new site styles to sass.
Also tried another update to the PostrChild extension but it was a bit of a failure for reasons unknown to me right now
#100days 53 - And another small update in my efforts to catch up!
To attempt to add images to that last post I made sure that the PostrChild extension will always add an empty paragraph to the end of the content if the last item is not a paragraph. So you can always write something after an image or different type of block.
If only the image handling wasn't so broken though 😅...
#100days 52 - I spent a bit of time cleaning up my Home Assistant dashboard and making it nice and pretty 🤩
The main view is much more organised and clean now by moving everything into sections and using cards for lots of controls.
And I also have a nice little person view which shows my body stats as well as my home status with the emoji 🏠
#100days 51 - Oopsies, didn't write this yesterday but I did do some more work on updating the css on my new site.
I am slowly moving away from styled components to sass & an occasional css module for components that aren't regularly used on every page. Mainly because that is built into Next.js so it's pretty easy to use.
#100days 49 - Started a new project today. I am working on using Plaid to automatically pull transactions into my accounting software from multiple bank accounts. I would also hope to get it hooked into my chat bot for realtime(ish) updates so I can categorize transactions and add receipts as soon as they are available.
#100days 48 - Been working on the updated version of my site. Including improving the pagination methods and updating the styles. This time around I am thinking of going with extra large typography
#100days 47 - I've managed to get a few days behind, but only because I've been enjoying life, so I think that's an acceptable reason.
For a first update today I have put my personal telegram bot up on GitHub and moved it from glitch to my own server so that it runs more consistently.
#100days 46 - Finally got the ctrl+enter to publish shortcut working with the PostrChild browser extension! 🙌 Only tool weeks of messing around with it...
I've now moved it to using a small global store so I should be able to move more of the state and actions there to keep everything nice and organised.
#100days 45 - Just a small (but potentially useful) update to the PostrChild extension. It will now read query parameters from your new post url and feed them into the new post. So for example I can link to /new?in-reply-to=https://example.comand it will load the editor as a reply to example.com.
I am also still thoroughly stuck on the ctrl+enter shortcut that I really want, but for some reason variables are reset somewhere in the shortcut handling code...
#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:
#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
#100days 34 - Added automatic hashtag to category functionality to my site now. So if it is working this post should automatically be given the "100days" category 🤞
#100days 33 - Doubling up again today - but only on small updates. Infinite time would be such a useful commodity...
But made a small update to my webside backend (Postr) so that it should automatically parse categories from hashtags. So for example this post would end up with the 100days category and then can be looked up from it's own category page. But I've not had enough time to test it yet, but hopefully it'll work and I'll be able to get it online tomorrow.
#100days 32 - Been tweaking my static site build process a bit to try and speed it up. The version that downloads the database and builds from that locally is set up and running but it still is taking a long time to run on Vercel at least, and locally doesn't seem to be much better. There is probably still a decent amount of optimization I could do.
#100days 31 - Got a couple of days behind now 😬 but as I mentioned before I have been working on improving my static site build process. So I set it up to pull the full database on build and use that instead of a rest api to get data. Still needs work but it should speed up builds exponentially.
#100days 30 - Been working on my new site deployment today and I think it is just about working, I had to disable a couple of my admin pages that were rendered with serverless functions and fix a bunch of data requests. But I think it should be more or less working now 🤞
If it does work it definitely needs a lot of optimization, it is still slowwwwww. I may experiment with temporarily downloading the entire database at build time instead of making tons of rest requests.