Skip to content

Instantly share code, notes, and snippets.

@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 April 23, 2024 19:03 — 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