164
points
31
comments github.com
ESP32 Bus Pirate is an open-source firmware that turns your device into a multi-protocol hacker's tool, inspired by the legendary Bus Pirate.
It supports sniffing, sending, scripting, and interacting with various digital protocols (I2C, UART, 1-Wire, SPI, etc.) via a serial terminal or web-based CLI.
Modes for:
- HiZ (default) - I2C (scan, glitch, slave mode, dump) - SPI (flash, sdcard, slave mode) - UART / Half-Duplex UART (bridge, read, write) - 1-WIRE (ibutton, temp sensor) - 2WIRE (smartcard) / 3WIRE (eeprom) - DIO (Digital I/O, read, pullup, set) - Infrared (device-b-gone, send and receive) - USB (HID, mouse, keyboard, gamepad, storage) - Bluetooth (BLE HID, scan, spoofing, sniffing) - Wi-Fi (scan, AP, connect, sniff, deauth) - JTAG (scan pinout, SWD) - LED control (animations, set LEDs) - I2S - CAN
However, the entire implementation is new, it's not a copy
1. https://docs.m5stack.com/en/unit/can
https://cloudfree.shop/product/ductless-hvac-wi-fi-module/
this USB ESP32 module which works out of the box on Midea-produced units (Carrier, Electrolux, Pioneer). I have a few units that are other generic brands which apparently are rebranded "Aux" brand units, so I re-flashed the ESP32 board above to work with Aux units by doing `brew install esphome` and then `esphome run auxminisplit.yaml --device /dev/tty.usbserial-210` where auxminisplit.yaml is https://gist.github.com/jasongill/35a13e458b6d109ca2bbefeab4...
That worked perfectly for me and should cover like 90% of all minisplits (Midea and Aux make a ton of brands units), let me know if that works for you.
Certainly could be the case. I've spent more time than I want to admit chasing down what was ultimately a loose wire.
For what it's worth, you can get a cheap ESP32 module and basic IR sensor modules for a few bucks on amazon [0]. As long as you have a basic USB <-> TLL/Serial adapter, you should be able to install ESPHome on that. The module that's on that particular board does not have a ton of room so keep the ESPHome config simple and to the point.
It's a few dozen lines of yaml total to get a basic IR signal decode/dump tool: [1]
[0]: https://www.amazon.com/HiLetgo-Infrared-Transmitter-Receiver...
[1]: https://esphome.io/guides/setting_up_rmt_devices#remote-sett...
See here for a very large database of IR signals that works with the firmware.
I live in New Zealand where we pretend that it’s never particularly cold or particularly hot. This might be a factor in how sloppy all the installs seem to be.
Nothing; there is something about my AC and the badly hand-assembled ESP8266 and IR transmitter I made that doesn't work.
https://www.wemos.cc/en/latest/d1_mini_shield/ir.html
https://www.wemos.cc/en/latest/d1/d1_mini.html
I recently found a remote that doesn't to the 30kHz modulation-- good luck to me controlling that with anything.
The "joke" was that implementing bitbanged I3C on an ESP32 (!) sounds absurd. Like doing raytracing on C64. (Of course some crazy folks have done it though)