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
[ | |
{ | |
"id": "43ac6c1.6e31c94", | |
"type": "subflow", | |
"name": "Check Mem", | |
"info": "", | |
"category": "", | |
"in": [ | |
{ | |
"x": 50, |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
# nextdns trace | |
goroutine 26465 [running]: | |
main.run.func4(0x0, 0x0, 0xc0003e26d0, 0x5) | |
/home/runner/work/nextdns/nextdns/run.go:177 +0x80 | |
github.com/nextdns/nextdns/ctl.(*Server).handle(0xc0000ce070, 0x55f000, 0xc00010c000, 0xc0003e26d0, 0x5, 0x0, 0x0, 0x0) | |
/home/runner/work/nextdns/nextdns/ctl/server.go:125 +0x140 | |
github.com/nextdns/nextdns/ctl.(*Server).handleEvents(0xc0000ce070, 0x55f000, 0xc00010c000) | |
/home/runner/work/nextdns/nextdns/ctl/server.go:114 +0x154 | |
created by github.com/nextdns/nextdns/ctl.(*Server).run |
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
[ | |
{ | |
"id": "866a2010.a3d2f", | |
"type": "tab", | |
"label": "Hubitat Presence", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "66b577d7.f56b48", |
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
#!/bin/bash | |
# | |
# Code borrowed from https://community.hubitat.com/t/solved-downloading-latest-backup-file/18065/5 | |
# | |
IP=$1 | |
DIR="$2" | |
if [ $# -eq 0 ]; then |
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
cp -Rp /var/log/vnstat /config |
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
#!/bin/bash | |
# | |
# Code borrowed from https://community.hubitat.com/t/solved-downloading-latest-backup-file/18065/5 | |
# | |
IP=$1 | |
DIR="$2" | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 <IP Address> <Path to store backup>" | |
else |
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
check host wyze-camera address 192.168.1.42 | |
if failed icmp type echo | |
count 3 with timeout 5 seconds | |
2 times within 3 cycles | |
then exec "/etc/monit/stop_ffmpeg.sh" | |
else if succeeded for 2 cycles then exec "/etc/monit/start_ffmpeg.sh" |
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
#!/bin/sh | |
/usr/bin/screen -XS ffmpeg quit |
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
#!/bin/sh | |
# connects to local ffserver starting from /etc/rc.local with: /usr/bin/ffserver & | |
# Wyze camera on 192.168.1.42 with rtsp server replace user and password with your user/password setup within Wyze app | |
# make sure you have screen package installed | |
/usr/bin/screen -dmS ffmpeg ffmpeg -rtsp_transport tcp -i 'rtsp://user:password@192.168.1.42/live' http://127.0.0.1:8090/camera.ffm |
NewerOlder