logo smart home family kruse

Kruse Smart Home

Easy living in our smart home & Garden

Te latest articles placed on this site are shown below.

Setup a Piwigo site on a Raspberry Pi 4 with Virtualmin

Setup a Piwigo site on a Raspberry Pi 4 with Virtualmin

Piwigo is an open source photo management software to manage, organize and share your photo easily on the web. Your images can be viewed and managed from a common web browser or from Piwigo mobile applications available for Android and Apple devices.

You can setup a Piwigo site on a Raspberry Pi 4 with Virtualmin, a web based virtual hosting platform.

Hosting multiple websites on a Raspberry Pi 4 with Virtualmin

Hosting multiple websites on a Raspberry Pi 4 with Virtualmin

Hosting multiple websites on a Raspberry Pi 4 with Virtualmin involves some initial configuration after which setting up websites, called virtual servers, is easy.

These virtual servers is the way for hosting multiple websites as the web server needs to forward used URL’s to the correct folder on the Raspberry Pi 4. Virtualmin is a so called virtual hosting platform and makes setting up web servers much easier then manually by using Unix commands.

Webmin configuration on a Raspberry Pi 4

Webmin configuration on a Raspberry Pi 4

When starting Webmin configuration on a Raspberry Pi 4 it is overwhelming how much settings are available as Webmin has a lot off functionality by default. Additionally this functionality can extended by standard and 3rd party modules with each their own configuration options.

This article describes some of the most used modules and their configuration which is recommended for an initial configuration.

How to install Webmin on a Raspberry Pi 4?

How to install Webmin on a Raspberry Pi 4?

Webmin is a Web Interface for System Administration and simplifies managing the Raspberry Pi OS by preventing you need to manually edit configuration files and run commands to create accounts, set up a web server, manage email forwarding etc. via it’s web based user interface. It will update automatically all required configuration files for you.

Create a plant sensor card within Home Assistant

Create a plant sensor card within Home Assistant

There are multiple options available to create a plant sensor card to include Xiaomi Flower Care plant sensor measurements for a Home Assistant dashboard. This article describes how to create a card by using the Lovelace Flower Card by Olen as this has a nice layout and extensive functionality.

This card can make use from the Open Plantbook database to fetch plant information via the OpenPlantBook integration. Additionally the Alternative Plant Component is used.

The Flower Care Plant Sensor from Xiaomi

The Flower Care Plant Sensor from Xiaomi

The Flower Care Plant Sensor from Xiaomi provides an easy way to integrate monitoring plants into your smart home to get notifications when they require water and monitor the growth conditions.

The plant sensor is installed in the ground next to the plant and measures soil moisture, soil fertility, air temperature and the light the plant gets during the day.

Integrating the Xiaomi Flower Care plant sensor with Home Assistant

Integrating the Xiaomi Flower Care plant sensor with Home Assistant

Integrating the Xiaomi Flower Care plant sensor with Home Assistant is easy with the Xiaomi BLE integration. The Xiaomi plant sensor (also referred to as ‘Flower Care plant sensor from HHCC’, ‘HHCCJCY01’, ‘MiFlora sensor’) will be discovered automatically by Home Assistant.

When the plant sensor has been integrated successfully you can create Home Assistant Lovelace dashboards with plant information cards showing moisture, temperature, conductivity, brightness and the battery level of the plant sensor.

Home Assistant Dahua webcam dashboard including PTZ presets

Home Assistant Dahua webcam dashboard including PTZ presets

A webcam, such as from Dahua, can easily be integrated into Home Assistant and opens the possibility to show life streams within Home Assistant.

If the camera is a so called PTZ camera (moving and zooming is possible) a dashboard card can be created which includes buttons to switch to predefined PTZ presets allowing to show specific views.

This article shows how to setup a dashboard card with the life stream and PTZ preset buttons.

Setup and configure a Geekworm NASPi v2.0 Raspberry Pi 4 case

Setup and configure a Geekworm NASPi v2.0 Raspberry Pi 4 case

Setup and configuring a Geekworm NASPi v2.0 case housing a Raspberry Pi 4 to be attached to a DIN-rail involves the following:

  • case modding to make it possible to attach the case to a DIN-rail;
  • enabling auto power on;
  • installing Raspberry Pi 4 OS
  • installing a script to control the fan based on the CPU temperature
  • mounting a 2.5″ SSD

is explained in detail. This makes the Raspberry ready to be used as for example a web server.