Pinned post

Hello! I'm Hamzah. I'm a /#devops engineer in my day job. I live in .
I consider myself a hardcore geek, but these days most of my time is taken up by my three kids and wife.

I'm very interested in automation, and have a small addiction to , and .

I wonder if there is a nicer way to make a Raspberry Pi act as a BLE Bridge to MQTT.
I like how ESPHome does it, but obviously that's a completely different thing.
esphome.io/components/esp32_bl

I like how you have a single YAML file where you can tell it multiple devices/platforms to track, and it does it passively listens for BLE broadcasts, instead of actively connecting to the device so is better for battery life

I'm using this script to export the metrics via MQTT : github.com/lolouk44/xiaomi_mi_
Based on weight, it can tell if it was me or my wife who weighed themselves.
I can add automations to make announcements if my weight goes up or down. Though I'm sure my wife would kill me if I do that.😂

Show thread

I needed a new bathroom scale as my old scale started to go a bit funny. it was showing battery low even when it had a brand new battery in it.
As a huge fan of /complicating things I decided to get a "smart" scale.
I went for the Xiaomi Body Composition Scale 2. It works over bluetooth, so no cloud needed. Now I have my weight and other body composition metrics showing up in Home Assistant, and since I'm scraping HomeAssistant from prometheus, I can use grafana to make graphs! 😂

I blogged about writing my own CNI config thing for my #Kubernetes cluster

Maybe it's interesting for someone :)

lf-net.org/blog/posts/2021-07-

A bit frustrating that there isn't any indication that you can't have more than 4 hashtags per tab!

Show thread

How many hashtags can you have in a single pinned tab?

For some reason mine doesn't really update properly when I have quite a few. The streamed updates show up, but when I refresh the page, the newest toots disappear

Lately I have wanted to avoid amazon where possible, but honestly it isn't easy. Amazon return/warranty policy is better than anywhere else.

Eg my brother bought an SSD from eBuyer, and had various issues with it and wanted to return it but they are making it a huge pain whereas Amazon would accept it no questions asked.

Show thread

Thanks to Amazon, I've become too impatient and hate waiting for packages :(

Urgh ffs How on earth do I get through to a human at British Gas?

For some reason, none of the /.well-known/ endpoints work because they are being redirected to http :\

Show thread

the commercial version of has a resolve option for the upstream module, which periodically does a DNS lookup which would solve this, but I can't figure out how to do it with the plain old open source version of nginx :\

Show thread

If you have running as a deployment in , not as an ingress, but as a proxy to another service, do you use a headless service for the upstream service that nginx points to?
If so, how do you deal with it when combining with HPA? Because Nginx only does the DNS lookup at start up, so if the HPA scales up/down the backend nodes, the upstreams that nginx discovered when it started might no longer be valid.

Hmm no pre-built images for for Raspberry Pi. That's a shame.

Technology has truly come so far. Water, made from other bottles! Amazing.

Any pointers where to start with 3D printing for someone who has never done any sort of 3D modelling or CAD?

Show older
Mastodon@intahnet.co.uk

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!