Files
esphome-yambms/documents/README/Shunt_Victron_SmartShunt_HowTo.md
T
2024-12-23 22:42:35 +01:00

2.9 KiB

Victron SmartShunt How To

Badge License: GPLv3 Badge Version GitHub stars GitHub forks GitHub watchers

UART : Schematic

Caution

Please read this page about setting up galvanic isolation of the UART-TTL connection.

Tip

If you are unsure about to pin order please measure the voltage between GND and VCC (5V). If you measure a positive voltage you know the position of VCC and GND!

┌─────────────────┐             ┌──────────┐             ┌───────────┐
│             5V o│<----5V---V1>│          |<V2---3V3--->|           |
│ Victron     RX o│<---------AO<│ UART-TTL │<AI-------TX<|   ESP32   |
│ SmartShunt  TX o│>---------AI>│ ISOLATOR │>BO-------RX>|           |
│            GND o│<----GND---->│          │<----GND---->|           |
└─────────────────┘             └──────────┘             └───────────┘

# UART-TTL VE.Direct port (JST-PH 2.0mm pinch)
┌─── ─────── ────┐
│                │
│ O   O   O   O  │
│GND  RX  TX VCC │ 
└────────────────┘
  │   │   │   └ 5V
  │   │   └──── TX  to TTL-isolator AI (input)
  │   └──────── RX  to TTL-isolator AO (output)
  └──────────── GND to TTL-isolator GND

Bluetooth : How to retrieve MAC address and encryption key

To connect to your Victron device with BLE component you must have two information :

  • mac_address - Bluetooth mac address of device.
  • encryption_key - AES encryption key.

Use VictronConnect App v5.93 (or later) released on 2023-08-25.

VictronConnect App Settings page VictronConnect App Product info page VictronConnect App Instant readout encryption data

  1. Open Settings of Device.
  2. Open Product Info page.
  3. Ensure Instant readout via Bluetooth is enabled.
  4. Bottom of page press SHOW for Instant readout details Encryption data.

When connected to the device via VictronConnect App no Instant readout (Bluetooth advertising) data is generated.