-
Home Assistant: Adding a custom_component in NixOS - part 1
If you’re looking for a way to add custom components to your Home Assistant setup, then NixOS has a good solution. NixOS is an open source Linux distribution that is designed to be functional. This can be a good alternative to have a more declarative configuration in contrast to HACS.
-
Single Page Website: changing the url hash based on the position in the page
While switching from Google Analytics to PiWik I wanted to improve tracking of my cv page, a single page website or single page application. I want to switch the
#
hash of theurl
while scrolling through the page. I was inspired by How To Update URL Hash On Scroll (With Table Of Contents) on Stackoverflow and by ChatGPT suggesting the Intersection Observer API api. -
Calculating Degree Days in Home Assistant
Calculating Degree Days (or Graaddag in Dutch) allows you to benchmark gas consumption in relation to temperature. The formula is quite simple, it uses as reference temperature 18°C minus the average temperature of the day, minimized on 0°C. The concept is based on the idea that the amount of energy needed to maintain a comfortable indoor temperature increases as the difference between the indoor temperature and the outdoor temperature increases. By tracking the degree days, it is possible to estimate how much energy is needed to heat or cool a building and compare it to the actual energy usage.
This configuration is using the Home Assistant platform to define two sensors:degree_day_daily
andgas_m3_per_degree_day
. Thedegree_day_daily
sensor calculates the difference between a regularized temperature (18.0°C in this case) and the average temperature reported by thesensor.garden_garden_temperature_noordkant_temperature
sensor over the past 24 hours. Thegas_m3_per_degree_day
sensor calculates the gas usage (as reported by thesensor.gas_delivery_daily
sensor) per degree day, which is defined as the difference between the regularized temperature and the average temperature. -
Flanders/Belgium's Capacity Tariffs in Home Assistant
Flanders will reform the nettariffs for electricity transport, shifting a larger cost to peak usage. They do this by measuring your average consumption per 15m and the maximum quarter of the month counts as your tariff. Currently information and dashboards from Fluvius are cumbersome to use (CSV export and then leveraging Excel to spot the highest quarter).
-
Data Mesh in Azure at Microsoft Customer Success Day '22
During Microsoft Belgium & Luxembourg’s Customer Success Day we presented a session on Data Mesh.