This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Report offline zigbee/zwave/battery/smart plug devices with device exclusion | |
description: Works with Smart Plugs, ZWave, Zigbee etc (Works with ZHA & Z2M). Now supports excluding entire devices. | |
#By Tahutipai 2024-02-21, updated to include device exclusion | |
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir backupZigbee | |
cd backupZigbee | |
virtualenv -p 3 venv | |
source venv/bin/activate | |
pip3 install zigpy-znp | |
usb-devices | |
lsusb | |
ls -lah /dev/tty* | |
service zigbee2mqtt stop | |
python3 -m zigpy_znp.tools.network_backup /dev/ttyACM0 -o network_backup.json -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$x = get-process | ? {$_.MainWindowTitle -like "*Adobe Premiere*"} | Select-Object -ExpandProperty mainwindowtitle | |
if ($x){ | |
$pp_path = $x.SubString($x.IndexOf("-") + 2, $x.LastIndexOf("\") - $x.IndexOf("-") - 1) | |
$pp_path -replace ' ', '` ' | |
# echo $pp_path | |
explorer.exe $pp_path | |
}else { | |
$ae = get-process | ? {$_.MainWindowTitle -like "*Adobe After Effects*"} | Select-Object -ExpandProperty mainwindowtitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Script based on an original created by tjjfvi (https://github.com/tjjfvi) | |
; An up-to-date version of the tjjfvi's original script can be found | |
; here: https://csi.t6.fyi/ | |
; Note - This script will only work in Cura V4.2 and above! | |
; --- Global Settings | |
; layer_height = {layer_height} | |
; smooth_spiralized_contours = {smooth_spiralized_contours} | |
; magic_mesh_surface_mode = {magic_mesh_surface_mode} | |
; machine_extruder_count = {machine_extruder_count} | |
; --- Single Extruder Settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Dell PowerEdge R210 II | |
#pfsense freeBSD | |
kldload ipmi | |
ipmitool | |
ipmitool sensor | |
ipmitool sensor get "FAN 1 RPM" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* install the docker addon in Libreelec using the menu system | |
o From addons/install from repository/libreelec addons/services/docker | |
* log in via ssh and install the docker container | |
> docker pull bltavares/zerotier | |
docker run --device=/dev/net/tun \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
--name kodi \ | |
--net=host \ | |
--privileged \ | |
--restart unless-stopped \ | |
-e ZBX_HOSTNAME="kodi" \ | |
-e ZBX_SERVER_HOST="192.168.2.25" \ | |
-d aledjones/zabbix-agent:4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://wiki.libreelec.tv/config.txt | |
mount -o remount,rw /flash | |
nano /flash/config.txt | |
mount -o remount,ro /flash | |
Adding Device Tree Overlays | |
The current supported DTB's can be found in /flash/overlays. These can be set by using any of the following overlays |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pasuspender -- env KODI_AE_SINK=ALSA | |
cp /etc/pulse/client.conf /home/yourusername/.config/pulse | |
cp /etc/pulse/client.conf /home/yourusername/.config/pulse/client.confbackup | |
nano /home/yourusername/.config/pulse/client.conf | |
From: | |
; autospawn = yes | |
To: | |
autospawn = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
journalctl | grep blue #get errors from log | |
hciconfig | |
hciconfig hci0 down | |
hciconfig hci0 up | |
bluetoothctl | |
power on | |
agent on | |
devices |
NewerOlder