Writing Zha Quirks

Introduction

If you are up-to home automation and using Zigbee devices, you probably heard about ZHA (Zigbee Home Automation). It’s a Python library that allows you to interact with Zigbee devices using Zigpy. It’s a great library, but it has some quirks that you should be aware of.

Read More

Does It Matter?

Introduction and the final thoughts

Long time no see! I’ve been on vacation and finally got some time to start automating my home. I’ve been thinking about it for a while. But I never thought that there is no standard way!

Read More

Simple Pandas Optimizations: A Quick Guide

Introduction

Pandas is incredibly powerful but there are always some tricks to make it faster. I tried to generalize some simple yet effective optimizations that can help with performance. Most of them are obvious but often ignored.

Read More

Use Lambda Global Cache

Introduction

One of the problems with serverless applications is the lack of shared state between invocations. This is especially true for AWS Lambda functions, which are stateless by design. However, there are situations where you might want to share data between invocations, such as caching frequently accessed data or storing configuration settings. You can use Redis or something similar, but it adds complexity and cost to your architecture. Other options?

Read More

Script to Check Uncommited Repositories

Introduction

This script checks all repositories in a directory for uncommitted changes. I noticed that I have a lot of repositories on my machine, and sometimes I forget to commit changes when experimenting with different environments.

This script helps me to check all repositories at once.

Read More