Skip to content

Instantly share code, notes, and snippets.

@RoganDawes
RoganDawes / socat-x-process.py
Created March 8, 2024 16:45
A python script to coalesce output from `socat -x` hexdumps.
#!/usr/bin/env python3
import sys
import argparse
import datetime
import datetime
import re
class TimeDeltaType(object):
@RoganDawes
RoganDawes / external_pitm.yaml
Created March 11, 2024 06:44
ESPHome YAML to configure an ESP32 for UART PitM duties, both with local relay and external relay using socat.
esphome:
name: serial-pitm
friendly_name: Serial Person in the Middle
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging