Skip to content

Instantly share code, notes, and snippets.

View geoffmyers's full-sized avatar

Geoff Myers geoffmyers

View GitHub Profile
@airy10
airy10 / airtag-decryptor.swift
Last active March 17, 2025 05:26
Decrypt all beacons files from ~/Library/com.apple.icloud.searchpartyd
//
// airtag-decryptor.swift
//
// Decrypt all beacons files from ~/Library/com.apple.icloud.searchpartyd - updated when FindMy is running
// Results in /tmp/com.apple.icloud.searchpartyd - same file hierarchy
//
// Created by Matus on 28/01/2024. - https://gist.github.com/YeapGuy/f473de53c2a4e8978bc63217359ca1e4
// Modified by Airy
//
import Cocoa
@clydebarrow
clydebarrow / .gitignore
Last active April 20, 2025 02:32
ESPHome LVGL samples
# Gitignore settings for ESPHome
# This is an example and may include too much for your use-case.
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml
/wifi.yaml
@jnimmo
jnimmo / wican-ioniq28kw.yaml
Last active November 22, 2024 20:13 — forked from mukowman/wican.yaml
ESPHome configuration for the Ioniq EV 28kw with the MeatPi WiCAN interface
substitutions:
device_name: car
charging_voltage_threshold: '13.0'
low_voltage_threshold: '12.0'
low_voltage_sleep_duration: 30min
deep_sleep_duration: 3min # 5 * 60000
first_boot_run_duration: '300000'
abrp_key: !secret abrp_key
abrp_token: !secret abrp_token
hotspot1_ssid: !secret hotspot1_ssid
@mukowman
mukowman / wican.yaml
Created September 19, 2023 15:17
WiCAN Esphome
substitutions:
device_name: wican
esp32:
variant: ESP32C3
board: esp32-c3-devkitm-1
esphome:
name: ${device_name}
@felixstorm
felixstorm / esphome.yaml
Last active February 28, 2025 08:26
WiCAN ESPHome Configuration (work in progress, abbreviated)
# Be warned: This is just a first try and still very much work in progress - no guarantees given whatsoever!
#
# To install the ESPHome firmware on the WiCAN for the first time (before being able to use ESPHome OTA), I built the firmware
# for download (in "modern" format) and then used the following command line on Linux:
# esptool.py --before=default_reset --after=hard_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 /home/.../Downloads/m-wican-factory.bin
#
# Don't forget to short the pins to enable boot mode (https://github.com/meatpiHQ/wican-fw#obd).
#
# Using the graphical tool (https://github.com/meatpiHQ/wican-fw#2-usb-flash) will probably work just as well. Just populate
# the first item in the list with 0x0 and /home/.../Downloads/m-wican-factory.bin and leave the rest empty.
@henrik242
henrik242 / airtag-to-gpx-sync.sh
Last active April 19, 2025 20:26
Read AirTag data from the FindMy.app cache and convert to GPX
#!/usr/bin/env bash
#
# Reads AirTag data from the FindMy.app cache and converts it to a daily GPX file
#
# Rsyncs the data to a web accessible folder that can be displayed with e.g.
# https://gist.github.com/henrik242/84ad80dd2170385fe819df1d40224cc4
#
# This should typically be run as a cron job
#
@flaviut
flaviut / Setting up Emporia Vue 2 with ESPHome.md
Last active August 22, 2024 18:14
Setting up Emporia Vue 2 with ESPHome

scenario: you have a windows vm failing to boot with INACCESSIBLE_BOOT_DEVICE and changing the disk type to ide or something else causes another bsod. how to you get it to boot up again without a physical machine?

download the stable virtio drivers from here, in iso form: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

add the iso to your qemu/virt manager config as a cd/dvd drive

windows should send you to the recovery mode screen, but if it doesn't you might have to run a windows install iso to get to it.

@tomdaley92
tomdaley92 / README.md
Last active April 26, 2025 17:01
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface