Skip to main content

Blogs

Ring devices

Submitted by gill on
  • 34:3E;A4:0A:84:98 Chime Pro (2nd gen) - West wing
  • 90:48:6c:cd:58:92 Floodlight Cam Wired Pro - Back yard
  • E0:62:34:CF:AE:A2 Spotlight Cam (1st gen) - Driveway
  • 90:48:6C:E3:63:A7 Stick Up Cam (3rd gen) - Garage
  • 08:3A:88:2A:5E:65 Wired Doorbell Plus - Front Door

Upgrading weewx 5.0.1 to 5.0.2

Submitted by gill on

Using weewx:weewx as user:group
Saving old defaults to /etc/default/weewx-20240211140505
Creating /etc/default/weewx
Creating maintainer config file as /etc/weewx/weewx.conf-5.0.1-5.0.2
Using configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Finished upgrading configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Saving configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Installing systemd units
Installing udev rules

Install zfs on Rocky Linux

Submitted by gill on

From a fresh Rocky Linux install, need to add some repos.

# dnf install epel-release -y

https://docs.rockylinux.org/books/lxd_server/01-install/

Install the repo instructions for getting zfs

dnf install https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm

Installing zfs pulls in all the kernel modding requirements like kernel-devel and gcc

dnf install zfs

Load the zfs module

/sbin/modprobe zfs

Home Assistant automation to save Ring camera video to disk

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

Install version of PHP

Submitted by gill on

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

Submitted by gill on

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.