Home automation has been quite the journey for me, starting with IKEA lamps and switches. My initial goal was to gain more control over their bulbs, especially to enable a 'night mode' where the lights dim to 10% power at night in specific areas.
Initially, the IKEA hubs didn't offer this functionality, but I discovered their bulbs and switches are ZigBee devices. So, I set up Home Assistant on my NAS server. Opting for convenience, I chose to build it using Docker. However, I soon learned that the Docker container for Home Assistant couldn't directly communicate with the Zigbee antenna via a virtual USB port. To solve this, I installed an MQTT broker to facilitate signal transmission in both directions.
Then, I faced another hurdle: my antenna didn't support zstack. I had to dismantle it, solder some wires, and flash a different firmware. After overcoming these challenges, I realized that the Home Assistant public blueprints for IKEA switches didn't offer the dimming functionality I wanted. This led me to delve into YAML coding, a language unfamiliar to me. Thanks to ChatGPT, I managed to navigate through issues with punctuation and formatting.
It's been a long and winding road, but now, whenever I embark on a nocturnal 'fridge hunt', I enjoy just the right amount of light. This journey into home automation has not only given me the control I desired but also enriched my understanding of smart home technology.