Install streamlink utility (https://streamlink.github.io/install.html)
choco install streamlink
- Get youtube share link: https://youtu.be/gIB2egm7tL8
hls-live-restart
will record from beginning of stream
#!/bin/bash | |
# NAS IP: 192.168.1.10 in this example | |
# DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below) | |
## Network: 192.168.1.210/28 | |
## HostMin: 192.168.1.211 | |
## HostMax: 192.168.1.224 | |
## Hosts/Net: 14 | |
# Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo) |
# This is a blocklist to block samsung smart tv's sending meta data at home. | |
# Please help to collect domains! | |
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident. | |
abtauthprd.samsungcloudsolution.com | |
acr0.samsungcloudsolution.com | |
ad.samsungadhub.com | |
ads.samsungads.com | |
amauthprd.samsungcloudsolution.com | |
api-hub.samsungyosemite.com |
choco install streamlink
hls-live-restart
will record from beginning of stream## | |
## A standard "break beam sensor" uses a laser or LED with a device on both | |
## sides of an opening and is triggered when something breaks the beam | |
## (such as a customer walking through the beam). Some garage doors use them. | |
## Stores often use them at the entrace to ring a chime when a customer enters | |
## or leaves. | |
## | |
## This is my attempt at using a VL53L0X i2c Time of Flight sensor | |
## as a break beam sensor in Home Assistant using ESPHome. | |
## |