This file contains hidden or 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
#! /usr/bin/env python3 | |
# blitzortung_capture.py | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
from PIL import Image | |
options = Options() |
This file contains hidden or 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
#! /usr/bin/env python3 | |
# birdnet_to_mqtt.py | |
# | |
# 202306171542 | |
# | |
# monitor the records in the syslog file for info from the birdnet system on birds that it detects | |
# publish this data to mqtt | |
# | |
import time |
This file contains hidden or 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
#! /usr/bin/env -S python3 -u | |
# python3 routine using scikit image library to determine of foscam camera has had been blinded at night | |
# and switched to day mode due to car headlights | |
# program looks at most recent still image captured from camera and check image noise level using scikit image measure | |
# 202109071212 | |
# | |
# example output: | |
# runtime : 1.42 , adjusting camera, response : <Response [200]>, noise level : 3.3104319013 | |
# |
This file contains hidden or 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
#! /usr/bin/env python3 | |
# aranet4-decode.py | |
# decode aranet4 co2 monitor BLE advertising packets | |
# 202302091406 | |
# | |
# https://github.com/Anrijs/Aranet4-ESP32/blob/main/src/Aranet4.h | |
# ":" (colon) in C struct - what does it mean? [duplicate] | |
# https://stackoverflow.com/questions/8564532/colon-in-c-struct-what-does-it-mean | |
# | |
# typedef struct AranetManufacturerData { |
This file contains hidden or 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
# home assistant sensors | |
# Purple AQI monitors | |
- platform: mqtt | |
name: 'Purple AQI SP01' | |
state_topic: "purple-aqi/SP01" | |
unit_of_measurement: "AQI" | |
value_template: "{{ value_json.aqi }}" | |
json_attributes_topic: "purple-aqi/SP01" |
This file contains hidden or 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
// rsyslog_example.c | |
// 202011171619 | |
// | |
// gcc -o rsyslog_example rsyslog_example.c | |
// | |
// simple function to log message to remote syslog server via UDP port 514 | |
// | |
// why is this NOT part of the standard syslog library????? | |
// |