Skip to content

Index

Home Assistant - Is Working Sensor

Creating simple sensors to determine if we are "at work". Includes setting up a work_days sensor, time of day sensor, and a template sensor to tie everything togather.

As well, includes steps for handling vacation / OoO days, and holidays.

Home Solar Project - Introduction

One of my projects I have been working on over the last two years, is adding solar panels to my house to offset some/most of my electrical usage.

Here are the goals I wish to accomplish, and how I plan on accomplishing them:

C# - Get Display Attribute Value from Enum

Every now and then, I have a use case where decorating an Enum’s values with Attributes comes in handy. Things such as… Adding Display Names, Descriptions, etc.

Well, every time I have this use-case, I have to go google how I did it the previous time… and in most cases, StackOverflow is less then helpful. Then, I remember a few personal projects where I previously did this, and I find the code and reuse it.

TFS / Azure Devops - Semantic Versioning

I publish nuget packages. Alot of nuget packages.

I don’t have time to maintain nuget package versioning, so, I automatically generate versions based on the date and build number, like so: 2022.07.14.1

As well, I need support for alpha/beta/etc.

So, 2022.07.14.1-alpha.

Here is my method of doing it-

Hidden door sensors

The default directions for installing doors sensors, involves using the included double-sized tape directly stick the sensor to doors and windows.

I personally, wanted these sensors to be out of sight, and out of mind. So, I decided to recess them into the doors themselves.