In my first build-log post I described the grow chamber I’d like to build, and in my last one I wired a single soil moisture sensor to an ESP32 with my five-year-old. This post scales that up. It’s the hardware on my windowsill now: four pots, four soil sensors, a room thermometer and a light…
Three seeds, a takeaway tub and a soil moisture sensor: a science project with my 5-year-old
My son is five, and everything is a question at the moment. Why do plants need water? Which way do the roots go? And the one I couldn’t answer very well: how do you know when a plant needs watering? You look at it, you poke the soil, you guess. That didn’t feel like a…
Dreaming up an autonomous grow chamber with ESP32, .NET and k3s
It’s been a while since I’ve posted here. Life got busy with work and a growing family, and the blog took a back seat. But I’ve been tinkering with an idea for a while now. So this post is a bit different from my usual step-by-step ones. It’s about what I’d like to build and…
Client-side rate limiting using C#
Rate limiting is an important concept when it comes to web development. A server can limit the number of request for a number of reasons. The rate limit could be set per client based on their subscription package or based on the server’s capacity. When the limit is reached, the server will start handing out…
ESP32 multiple domains DNS Server | Advance C/C++
It’s been a while since I’ve written any advance C/C++ code, so I though this would be a nice challenge. I wanted a multiple domain DNS server running on my ESP32. There are lots of examples of single domain DNS resolution and multicast DNS. In fact, both of these are packages that can be easily…
Client Certificate Authentication using IIS and .netCore 5 or .net 6
In my last blog post we saw how easy it was to secure an IIS site using a self-signed certificates. We used OpenSSL to generate the private keys and public certificates. We even understood what a recognised CA would do with a CSR. This time we are going to look at client certificates. This is…
SSL Primer, securing internet communication
When a customer performs a search on our website or when we send a reading from an IOT device to our server, we are sending information across the internet. Securing information as it moves across the internet is very important. There are many way to achieve this but one of the best way is using…
Advance alerting with ElasticSearch Watcher
If you are familiar with Kibana Alerts, using ElasticSearch Watcher is a natural progression. Watchers give us complete flexibility when it comes to constructing an alert query. We can customize everything, from the search query, the aggregations on the search results, the filters we want to alert, the template of the action email and much…
Control a LED using Angular 12 and ESP32
There are quiet a few products on the market that allow us to control our bulbs and switches from our mobile phone or via a website. I wanted to see how easy it was to achieve this. After a lot of digging around and looking at options around the Arduino, I stumbled across another chip…
Using Elasticsearch Scripted Field for easy searching
ElasticSearch is really good for searching. We can use scripted field to create search fields per document. This way we don’t have to keep on updating our search filters. Instead we just click a link and the search is done for us. One such scenarios is, we have latitude and longitude and we wanted to…