Skip to content

Instantly share code, notes, and snippets.

@Tahutipai
Tahutipai / create_firmware_for_EAP610-Outdoor_v1.2.ps1
Last active January 4, 2026 22:02
Creates patched OpenWrt firmware for TP-Link EAP610-Outdoor v1.2 (PowerShell version - UNTESTED)
# Creates patched OpenWrt firmware for TP-Link EAP610-Outdoor v1.2 **UNTESTED**
# Author [email protected] script version 1.0
# Fixes two issues that prevent stock OpenWrt from flashing:
# 1. Adds |TS1 suffix to support-list (required by TSLS=TS1 devices)
# 2. Sets AddiHardwareVer=2 (required by hardware revision 2 devices)
$ErrorActionPreference = "Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
if (-not (Get-Command python -ErrorAction SilentlyContinue)) { Write-Error "Please install Python first"; exit 1 }
@Tahutipai
Tahutipai / create_firmware_for_EAP610-Outdoor_v1.2.sh
Last active January 4, 2026 22:00
Creates patched OpenWrt firmware for TP-Link EAP610-Outdoor v1.2 (adds TS1 suffix + hwver 2)
#!/bin/bash
# Creates patched OpenWrt firmware for TP-Link EAP610-Outdoor v1.2
# Author: [email protected] script ver 1.0
# Fixes two issues that prevent stock OpenWrt from flashing:
# 1. Adds |TS1 suffix to support-list (required by TSLS=TS1 devices)
# 2. Sets AddiHardwareVer=2 (required by hardware revision 2 devices)
set -e
command -v curl &>/dev/null || { echo "Please install curl first"; exit 1; }
command -v python3 &>/dev/null || { echo "Please install python3 first"; exit 1; }
@Tahutipai
Tahutipai / tplink-mkimage-2026.py
Last active January 4, 2026 20:14
tplink-mkimage-2026.py - 2022 fork with --hwver for OpenWrt on EAP610-Outdoor v1.2
@Tahutipai
Tahutipai / plex_fix_permissions.bash
Last active April 22, 2024 18:30
Script to fix Plex permissions in Linux
#!/bin/bash
folders_to_fix=()
#-----------USER EDITABLE SETTINGS----------------------------
#Edit these lines, one for each of your plex root folders. If you only have one plex folder, then you only need one line.
folders_to_fix+=("/mnt/2tb/dropbox/videos/plex")
folders_to_fix+=("/mnt/4tb/plex")
folders_to_fix+=("/mnt/12tb/4kmovies")
#Edit this line if you need to change the Group that plex and your user account use to access these folders
blueprint:
name: Zigbee/ZWave battery sensor or switch has gone offline BETA TEST
description: DEPRECATED Report any Zigbee or ZWave device, or any type of switch, as gone offline. BETA TEST
#based on the work of Sybx @ https://community.home-assistant.io/t/low-battery-level-detection-notification-for-all-battery-sensors/258664
domain: automation
input:
time:
name: Time to test on
description: Test is run at configured time
default: '10:00:00'
@Tahutipai
Tahutipai / report_zigbee_zwave_devices_gone_offline.yaml
Last active December 11, 2025 11:05 — forked from sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Report offline zigbee/zwave/battery/smart plug devices
description: Works with Smart Plugs, ZWave, Zigbee etc (Works with ZHA & Z2M)
#By Tahutipai 2024-02-21
#Originally Based on the work of Sybx @ https://community.home-assistant.io/t/low-battery-level-detection-notification-for-all-battery-sensors/258664
#Note: This has been upgraded to report only the Device that is offline, not multiple individual sensors within one Device
domain: automation
input:
time:
name: Time to test on