Home Assistant automation to save Ring camera video to disk

- id: '1664919647127'
  alias: Notify when doorbell senses motion
  description: ''
  - type: motion
    platform: device
    device_id: cfad552d81098c4038ea2d4bd813b366
    entity_id: binary_sensor.front_door_motion
    domain: binary_sensor
  condition: []
  mode: single
  - service: notify.persistent_notification
      message: '{{ trigger.to_state.attributes.friendly_name }} opened {{now().strftime("%c")}}'
      title: Doorbell motion sense
  - service: downloader.download_file

Install version of PHP

dnf module list php
dnf module reset php
dnf remove php php-fpm
dnf remove php\*
dnf module enable php:remi-8.1
dnf refresh
dnf install php php-fpm composer php-bcmath php-cli php-common php-fedora-autoloader php-gd php-intl php-mbstring php-mysqlnd php-opcache php-pdo php-pecl-imagick-im7 php-pecl-zip php-process php-sodium php-tcpdf php-tidy php-xml phpMyAdmin

Permanently enable wake-on-lan with nmcli

First, check that the interface supports WoL:

sudo ethtool enp4s0 |grep Wake
    Supports Wake-on: g
    Wake-on: d

Supports Wake-on: g is required for WoL to work. You can change the setting with ethtool or NetworkManager. When you use ethtool, the change does not survive a reboot.

sudo ethtool -s enp4s0 wol g

By using Network Manager nmcli commands, the change persists reboots.

Print to SAMSUNG ML-3312ND

To print to the SAMSUNG ML-3312ND you need:

  • Generic Linux drivers
  • SAMSUNG (now HP) Unified Linux printer drivers Print Driver (Driver) ver.V1.00.27.04 - Linux (MULTI LANGUAGE, 15.44 MB) 
  • CUPS

Try these steps:

  1. Download and decompress ULD_V1.00.27.04.tar.gz
  2. Copy


    and set ownership, permissions, and SELinux context like the other filters in that directory


  3. Copy


Passmark results


  • PINTO: 1917.4
  • TEMPEST: 1794
  • AMX:


PassMark Rating
    #1 - Z170 Gaming K6    5741
    #2 - GA-990FXA-UD3    2356
    #3 - H97M-D3H    2604
    #4 - GA-78LMT-USB3 6.0    3064
    #5 - H81M-HD3    3941
    #6 - 0NJT03    2241
    This Computer    1917

Building a bootable USB for Windows with UEFI and NTFS

I found this procedure on the webs and used it slightly modified, as outlined below.

Become root with sudo su -
Insert the USB drive, and find its device name.


sdk                 8:160  1  31.6G  0 disk
└─sdk1              8:161  1  13.7G  0 part /run/media/gill/OCTD

Unmount the partition.

umount /dev/sdk1

Run fdisk with the device name and remove existing partitions.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer