Skip to content

Instantly share code, notes, and snippets.

View adotagarwal's full-sized avatar

adotagarwal

View GitHub Profile
@adotagarwal
adotagarwal / configuration.yaml
Created May 14, 2023 13:16 — forked from junalmeida/configuration.yaml
Wyze Lock Quirkz for Home Assistant
zha:
enable_quirks: true
custom_quirks_path: /config/zigbee/quirks
@adotagarwal
adotagarwal / camera.yaml
Created July 19, 2022 18:59 — forked from mbernson/camera.yaml
esphome configuration for the TTGO T-Camera ESP32-WROVER-B
# esphome configuration for the TTGO T-Camera ESP32-WROVER-B
# https://www.aliexpress.com/item/TTGO-T-Camera-ESP32-WROVER-B-PSRAM-Camera-Module-ESP32-WROVER-OV2640-Camera-Module-0-96/32966036489.html
# I use this 3D-printed case for the device:
# https://www.thingiverse.com/thing:3540059
esphome:
name: woonkamer
platform: ESP32
board: esp32dev
@adotagarwal
adotagarwal / rpi-network-checker.sh
Last active March 16, 2023 19:15
[Single Run] Checks a pingable source and attempts to recover WiFi when connection has been interrupted by having the kernel reload the SDIO drivers
#!/bin/bash
#
# Original Source Attribution:
# Location: https://gist.github.com/SandroMachado/87e591fc42f368636b251b566485ae46
# Author: Sandro Machado
# Date of retrieval: 2020-01-25
#
# Script Summary:
# This script checks a pingable source and when the failure
# limit is reached the host is restarted. No files are written
@adotagarwal
adotagarwal / rpi-network-watchdog.sh
Last active January 8, 2024 15:39 — forked from tblong/rpi-network-watchdog.sh
[Daemon] Checks a pingable source and attempts to recover WiFi when connection has been interrupted by having the kernel reload the SDIO drivers
#!/bin/bash
#
# Original Source Attribution:
# Location: https://gist.github.com/SandroMachado/87e591fc42f368636b251b566485ae46
# Author: Sandro Machado
# Date of retrieval: 2020-01-25
#
# Script Summary:
# This script checks a pingable source and when the failure
# limit is reached the host is restarted. No files are written