Skip to content
/ BaSHi Public

Bidirectional adapter for Sniffing Home appliances (isolated)

License

Notifications You must be signed in to change notification settings

kiu/BaSHi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BaSHi

BaSHi - Bidirectional adapter for Sniffing Home appliances (isolated)

Hajo gave a talk on hacking home appliances at the 39C3. That talk inspired me to build a simple, isolated, bidirectional D-Bus adapter to make tinkering with these devices easier.

Warning

Warning

Household appliances work with high voltages and currents. Even if parts of the appliances operate at low voltages, they may or may not be isolated from earth and in case of a fault, can expose dangerous voltages. There is a good chance of death or serious injury. They might generate heat and steam, shake, vibrate, have rotating parts and get wet. Take appropriate safety measures.

⚡ I'm neither responsible nor liable if you kill your cat, your spouse, yourself, or set your house on fire. You have been warned. BaSHi is intended to be used by experts, e.g., electricians.

Usage

BaSHi can operate in two modes.

In non-isolated mode, the ESP32 is powered by the home appliance. Both jumpers must be shorted. This mode is intended for standalone operation. Do not connect the ESP32 USB port while BaSHi is connected to a home appliance.

In isolated mode, the ESP32 is electrically isolated from the home appliance. Bothe jumpers must be left open. This mode is intended for development. The ESP32 must be powered via its USB port.

Hint: Once you have identified the wires carrying D-BUS, use quick splice connectors (commonly used in automotive applications) to tap in BaSHi.

Variants

BaSHi comes in two variants. Choose the variant based on the ESP32 board you want to use.

Note: While layout and pin usage differ between the two PCB variants, they share the same stencil, enclosure, and components (with the exception of J4 and J5).

BaSHi-SM-1

Install: BaSHi-SM-1 is compatible with ESP32 boards of varying pin counts. The board must be bottom-aligned with the USB port at the lowest pin; the markings at the top provide additional guidance.

BaSHi-ZERO-1

Install: For BaSHi-ZERO-1, all compatible ESP32 boards share the same pin count. Ensure the board is bottom-aligned with the USB port at the lowest pin.

Common Files

The following files apply to both BaSHi variants.

  • Sketch: Adapted Arduino sketch (Bus2USB Bridge)
  • Mech: Simple OpenSCAD enclosure
  • BOM: Bills of materials (PDF)
  • Datasheets: Datasheets of main components

Links

License

This project is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) license.

About

Bidirectional adapter for Sniffing Home appliances (isolated)

Topics

Resources

License

Stars

Watchers

Forks

Contributors