<!-- Canonical page: https://reversedwithai.com/p/vevor-xmz-w-d3-diesel-air-heater-34ea14db -->
Canonical page: https://reversedwithai.com/p/vevor-xmz-w-d3-diesel-air-heater-34ea14db

# Reverse-engineered Vevor BYD-branded diesel heater BLE protocol with ESPHome

> An ESP32-based Bluetooth-to-WiFi bridge for controlling Vevor XMZ-W-D3 diesel heaters in Home Assistant.

This project provides an ESPHome configuration to control Vevor diesel heaters that use a proprietary, encrypted BLE protocol. It enables remote operation and monitoring via Home Assistant without requiring the original mobile application.

## Key facts

- Target: Vevor XMZ-W-D3 diesel air heater
- Category: Firmware and hardware
- Platform: ESP32
- Models: Claude
- Tools: ESPHome, nRF Connect
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: SilvioWollny
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The author reverse-engineered the Bluetooth Low Energy (BLE) protocol for Vevor diesel air heaters advertising as BYD-xxxxxxxxxxxx. Unlike standard Vevor heaters, this variant requires an 8-byte command frame containing a specific 0x0C 0x22 marker and utilizes a 48-byte status notification frame XOR-encrypted with the ASCII key password. The author identified these requirements by comparing live BLE captures against the unencrypted AA66 frame layout documented in the diesel-heater-ble Python library. The resulting ESPHome configuration acts as a bridge, allowing Home Assistant to send commands and receive telemetry, including voltage, case temperature, and cabin temperature. Claude assisted in the development and refinement of the YAML configuration and sensor scaling logic. The project includes a raw debug hex sensor to facilitate adaptation for other heater variants. The author notes that the exact meaning of temperature mode set-points remains unverified, and error codes are not yet mapped to human-readable strings. The project documentation is available at [https://raw.githubusercontent.com/silviowollny/vevor-byd-ble-heater-diesel-heizung-bluetooth/HEAD/README.md](https://raw.githubusercontent.com/silviowollny/vevor-byd-ble-heater-diesel-heizung-bluetooth/HEAD/README.md).

## Human work and limitations

The project repository includes a history of scaling corrections for the case_temperature sensor, which were resolved by cross-referencing the ProtocolAA55Encrypted parser in the diesel-heater-ble library. Claude is credited as a co-author on multiple commits related to these fixes and the creation of a Home Assistant dashboard example.

## AI use in the original source

- "Co-authored-by: Claude <noreply@anthropic.com>" ([source](https://github.com/silviowollny/vevor-byd-ble-heater-diesel-heizung-bluetooth/commits.atom))

Excerpts checked against the source on 2026-11-23.

## Sources

- [Repository](https://github.com/SilvioWollny/VEVOR-BYD-BLE-HEATER-Diesel-Heizung-Bluetooth)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: SilvioWollny (2026). Reverse-engineered Vevor BYD-branded diesel heater BLE protocol with ESPHome. Reversed with AI. https://reversedwithai.com/p/vevor-xmz-w-d3-diesel-air-heater-34ea14db
