Category: 100days page 8

#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.

#100days 29 - Kept working on deploying the new version of my site today. I think I got to the point where it builds totally fine but I am actually hitting the limit on the free vercel hosting for serverless functions πŸ€¦β€β™‚οΈ

I'l' either see if I can make more of my site fully static, or I may have to go with self hosting - which may be the better option in the long run anyway

#100days 28 - Relatively slow progress on my site happening today...

I attempted a first deploy on a test site and I have the backend part up and running ok after a bit of faffing about, but the frontend won't build correctly yet. I think it might just be because there is no content in the database yet, so it's causing an error. Will inspect further tomorrow!

#100days 27 - Uhhh I got a switch the other day so of course animal crossing has cost me a day in my #100days project πŸ˜…

But I was back at it today with a small update to the Next.js port of my site - I got the gallery view working pretty well. It could definitely be improved but it is the same as it currently is on my live site so that will do for now!

#100days 26 - Got a shipment of new nerdy stuff from China so went to work trying to set them up. I got a couple of light sensors working without any problems, so I will use them to more intelligently manage my lights. But the LED strip controllers I got are a little more difficult, I would love to install a more useful custom firmware on them - so I tried with one last night, but to no avail (probably do to my bad soldering). And the other controller (which I have not modified) does not seem to be working as it intended either. I may have a second attempt at flashing my spare one tonight and see how it goes.

#100days 25 - Just a quick and fairly pointless but fun update to my telegram bot: I added a /say command that will echo whatever it receives as a voice over my home speakers.

#100days 24 - Doubled down on updates today and made another small fix to the upcoming Next.js version of my site and fixed the single article view, it was previously always showing a compact version, but now it understands that it is a single full page and shows the full content of a post

#100days 23 - Today I returned back to a long abandoned project, my home automation chatbot. My lovely girlfriend mentioned that she saw someone else had made an "attention button" for their girlfriend and whenever it was pressed it would flash their lights and let them know that attention was required.

I thought "I can do that!" so I did! I quickly set up a Node-RED flow that sets off my speakers and flashes my lights if I'm home, if I'm not home it sends a notification to my phone.

To trigger this I setup my telegram chatbot with an /attention command, and allowed it to work in our own private group. So now my girlfriend can control my house as well and request attention whenever she wants.

#100days 22 - I'm still one day behind but I promise I'll get 2 updates in tomorrow.

Today was just a quick update to my updated Next.js site - I added a little function to generate titles automatically based on content. "Photos page 3" and the like.