avatar

My static blog

Using an Ultrasonic Sensor to trigger motion activation at a certain range, using ESPHome

This is a bit of a niche post, but it might help someone to accomplish this in less time than I did. The tutorial will be as easy as it gets. Since the guys from ESPHome did a great job and almost everything you could wish for is already managed by ESPHome. I tried to keep it at a low budget total costs were around 4 dollars. After that, you will be able to define a range where motion should be activated and your board will send it to Homeassistant, where you can trigger all the automation you like.

Local Administrator Password Solution - LAPS the basics

LAPS allows you to rotate passwords of your local administrator accounts. It gives you the possibility to view and set admin passwords from commandline or by using the fat client on a management computer. This reduces the risk of one hacked machine comprimising your whole client network. This article will show you how to set it up and give you a few hints about the usage. You should consider it if:

Managing Temporary Group Memberships using the new GroupMemberTTL PowerShell Module

As you may know the Microsoft approach on Privileged Access Management Feature (PAM) is quite a big feature. Planning and implementing this solution takes a lot of time. Also, many of us just want to enjoy one small part of the PAM solution. That’s why I came up with a module to manage the TTL of all members in a group in an easy way. This module allows you to set a TTL and apply it to all the members in a group with a single one-liner like this.

Use Portainer CE to manage your Docker containers on Synology NAS.

Synology has added the possibility to add Docker containers a couple of years ago. The delivered GUI on Synology is pretty good. But in order to manage images or clean up your old stuff like images, volumes and so on. You need a more advanced GUI. In this small tutorial, we will set up a Portainer container and secure it via SSL using Let’s encrypt. Create a DNS entry pointing to your external IP, I will be using manager.

Integrate a CO2 Sensor to Homeassistant using NodeMCU-32S (v 1.2) + MH-Z19B and ESPHome

This is a bit of a niche post, but it might help someone to accomplish this in less time than I did. The tutorial will be as easy as it gets. Since the guys from ESPHome did a great job and almost everything you could wish for is already managed by ESPHome. Required Hardware: NodeMCU-32S ESP32 WiFi (V 1.2 or V 1.1) (Bastelgarage.ch / Affiliate Aliexpress) MH-Z19B NDIR CO2 Sensor (Bastelgarage.

VMware CVE-2020-4004 workaround using PowerCLI

This post is about a recent vulnerability published by VMware, allowing hackers to run code on the virtual machines host system. The following PowerCLI functions will help you to set up the workaround faster. Official statement of VMware. Description by VMware VMware ESXi, Workstation, and Fusion contain a use-after-free vulnerability in the XHCI USB controller. VMware has evaluated the severity of this issue to be in the Critical severity range with a maximum CVSSv3 base score of 9.

Setting up Active Directory on Windows Server 2019 Core and join DCs and Members to the Domain

The Windows Server 2019 Core installation of a domain controller will be something you might need in the future. This is the bare minimum you need to install a Domain Controller and a new domain. I tried to make it as short as possible. Prerequisites: At least tone installed Windows Server 2019 Core server 30 minutes of your time Table of contents Initial Config Installing-the-Active-Directory-Domain-Services-and-create-a-new-domain Adding-a-Domain-Controller-to-your-domain Adding-a-Member-Server-(no-GUI)-to-your-domain [Managing a Server Core 2019 Active Directory](#Managing a Server Core 2019 Active Directory) Initial Config After the installation process, you need to set a password in order to sign in.

Speed up your migration from one Synology NAS to another when using the Migration Assistant

I write this post because I was not happy with the migration speed of my old DS420+ NAS to my new DS920+. I was in need of a solution to speed this process up. With those steps i was able to bring the estimated time to completion down from 3 days to 10 hours. Requirements: Source Synology NAS A destination Synology NAS Your destination NAS needs two network interfaces (required for one tip in the list) Both need to satisfy the requirements of Synology The DSM version required for the source device is DSM 6.

Setting up a Raspberry 3+ to automatically display a website at startup.

I will use a Raspberry Pi 3+ with a touch screen to display the most important data of my Home Assistant installation. This guide will work for most other sites as well. The following hardware is used: Raspberry Pi 3+ New 7 inch touch screen display with case For Raspberry Pi 3 B+ Prerequisites: Basic Linux knowledge How to connect to your Raspberry via SSH How to update your System How to attach the screen to the Raspberry: Since it is not the original screen I will attach a picture on how to connect the wires to the Raspberry pi +, if the colors don’t match just make sure you connect SDA or SCL to its counterpart on the board.

SCCM Installation Error 0xC1900204 Windows 10 1909

Sometimes the error 0xc1900204 can occur in the update if english is not set as default display language. To fix this problem, you have to make sure that your registry is configured correctly. To check your settings, follow the steps below: Open up the registry and go to the following key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language Change the value “InstallLanguage” to 0409 The value 0409 means display language EN-US more information here.