Stuff to do with Raspberry pi / domoticz etc.

Measuring calibrated Hue energy usage via bridge

By Atomstar on Sunday 4 August 2019 11:21 - Comments (1)
Category: Smarthome, Views: 654

I'm trying to break down where my household electricity usage goes, and lighting is one rather difficult to quantify since there are many devices that have somewhat irregular usage patterns. To alleviate this, I wrote a script to query the Hue (compatible) bulb brightness from the Hue bridge, convert this to power via brightness-to-power calibration curves, and store this to InfluxDB.

I also documented this along with the script at Github.

Read more »

Improving wifi roaming without mesh routers

By Atomstar on Friday 5 April 2019 17:57 - Comments (6)
Category: Smarthome, Views: 3.000

Although I've managed to get WiFi connection in most corners of my house, I still had limited signal in my garden ('for one of those days you can squint your eyes in the sun trying to read the screen', a friend joked). Although this situation rarely happens, I still like to fix things in theory sometimes :p

Read more »

VLAN tagging on OpenWRT/managed switches

By Atomstar on Wednesday 3 April 2019 20:31 - Comments (5)
Category: Smarthome, Views: 2.939

I wanted to place my router somewhere not in the meterkast, so I used VLAN tagging on a managed switch to get the WAN data to the router and my LAN data back on the same wire (but different VLAN) to distribute to the rest of the house.

Read more »

Crimping network cables

By Atomstar on Sunday 31 March 2019 20:35 - Comments (13)
Category: Smarthome, Views: 3.476

Although most of us (including me) are familiar with making our own network cables/jacks, I recently wired network cable in my house learned some new things/abbreviations on cable thickness, cable material, pin termination, cross-over vs straight cables. I document my findings here for reference and case I forget in the future ;)

Read more »

Measuring CO2 using MH-Z19B and D1 mini pro

By Atomstar on Thursday 20 December 2018 20:59 - Comments (0)
Categories: ESP8266, Smarthome, Views: 1.544

In this article I describe how to measure CO2 levels using an MH-Z19B CO2 sensor connected to D1 mini pro and push these somewhere over wifi.

Read more »