- ESP32-S3 0.42-inch OLED Display Mini Development BoardPurchased from AliExpress: https://www.aliexpress.com/item/1005008792209868.html?spm=a2g0o.order_list.order_list_main.5.5a001802UxAui3 Problem: no idea which pins were being used for I2C for the OLED display! TL;DR: Found device at 0x3C on SDA=48 SCL=47 Wrote a sketch to find it! Tested code with the U8g2 library:
- Human Presence DetectorRecently bought 4x “Human Motion Sensor” from AliExpress. They’re the ZigBee models, cheap (£3.87 UK BGP each) and wanted to do some investigation: https://www.aliexpress.com/item/1005009268596716.html?spm=a2g0o.order_list.order_list_main.5.1b381802tgJgig They’re listed as “ZigBee Human Motion Sensor Radar Mmwave Temperature and Humidity Sensor Security Burglar Works With Home Assistant Zigbee2MQTT“, and I went for the 2-in-1 model (presence and luminescence), rather… Read more: Human Presence Detector
- Opening Files in VS Code Using vscode:// Links (Local, WSL, and Docker)Visual Studio Code supports special vscode:// deep links that let you open specific files directly from a web page, email, document, or even another app. This is especially handy if you work with Remote – Containers, WSL, or other remote development setups, because you can create links that jump straight to files inside those environments.… Read more: Opening Files in VS Code Using vscode:// Links (Local, WSL, and Docker)
- R36S (or Clone) SD Card BackupIf you’re not short of space, you can backup the SD Card without compressing it: 1. Insert your SD Card and check which /dev entry it appears as: In this instance it’s /dev/mmcblk0 2. Run the backup: If you need to compress the image, you can use the following. Note: this will take considerably longer.… Read more: R36S (or Clone) SD Card Backup
- Split a CSV, whilst retaining a header rowFirstly, you need to ensure that the version of split (part of coreutils) you’re using is greater than or equal to 8.13. You can check this by: Use the following bash commands: This splits it by 2000 lines (plus a header) into each file.
- Useful Arch CommandsMake sure everything is up to date: Install the necessary packages to allow you to build from AUR: Create a folder for your AUR git downloads: Install ‘yay’ – essentially a helper for AUR: Allow compiles to use all / more cores to speed up builds: Using ‘yay’, search for package: Using ‘yay’, to understand… Read more: Useful Arch Commands
- ESP32-2432S028RI purchased a ESP32-2432S028R board, and there’s very little information about it online, so here’s what I was able to find. Periheral Pins Comment Pinout: Lovyan Library settings:
- Yale Smart Hub Internet Connection IssuesTL;DR: My Yale SMart Hub stopped connecting to the internet… it was because of a DHCP Server setting relating to DNS. So, I’d noticed that my Yale Smart Hub (see below) had stopped connecting to the internet. Which causes a problem for my home alarm system… as while I can arm/disarm the alarm from the… Read more: Yale Smart Hub Internet Connection Issues
- Using rsync to backup home directoryTo copy your home directory to elsewhere (/mnt/destination in this example), excluding a few directories, use the following rsync command:
- GRUB vs WindowsWindows Update managed to disrupt GRUB so that the system wouldn’t boot. I used GParted and some GRUB to fix it.