-
Notifications
You must be signed in to change notification settings - Fork 67
VE.Direct Interface
Please consult the documentation.
Cables
The pin header is an off-the-shelf JST PH 2.0 4-pin header, often called "4Pin MiniMicro JST 2.0 PH". It is easy to source just the plug (Male and Female).
It might be easier to buy an original VE.Direct cable, slice the cable, and wire its individual wires up to the ESP32.
WARNING #1: The original Victron cable without slicing will NOT work with Fusion V2 mit CAN / Iso Shield (more explanations below).
WARNING #2: VE.Direct cable colors. Beware that the wire colors in VE.Direct cables may be misleading: Red might be GND, black might be VCC, and the other two change their meaning on one end of the cable versus the other end, as the cable is a "cross-over" cable. Test each wire and confirm to which pin it connects, e.g., using a multimeter.
This is the usion V2 mit CAN / Iso Shield board:
and these the Victron PINs
The TRANSMIT (TX) from Victron MPTT has to go to RECEIVE (RX) of the Fusion V2 CAN / Iso Shield.
Inside the original Victron cable however, the TX/RX are already switched (crossover cable)
You cable colors may look different in the below example but you can still see the difference between a self-made cable and an original:
This means, if you are using an original Victron VE.Direct cable, the TX from Victron MPTT has to go to the TX of the auf die Fusion V2 CAN / Iso Shield
and the RX from Victron MPTT has to go to the RX of the auf die Fusion V2 CAN / Iso Shield
Hello everybody,
I created a ve.direct emulator as a small script for Linux.
It does exactly what the BlueSolar 75/15 MPPT controller does, it sends (to serial/USB port, terminal, ...) a data frame every 1s incl. checksum.
This might be interesting for people developing a display of some sorts and have no access to a controller, for whatever reason.
Values sent are somewhat randomized (for a good reason) but can be adjusted in the script.
Link to the GitHub repo: https://github.com/anju0001/ve.direct
I hope it is of some use to people.
Bye Andreas
This repo contains a simple BASH script to emulate a Victron BlueSolar 75/15 MPPT charger.
These solar chargers send a text data frame every second with certain values like solar voltage and others.
For development of a display to show me these values, I needed an emulator because my solar controller was mounted in a shed.
So this script was born :) You can modify the parameters sent to fit your controller (maybe change the PID then as well).
Only a few command line tools like shuf
and stty
are needed.
The script also calculates the checksum for each frame. Uses the serial interface as parameter, e.g.
./victron_emulator.sh /dev/ttyUSB1
./victron_emulator.sh /dev/serial1
If called without parameter for serial interface, it will output the data frame on screen. Be aware, that the checksum value is not always a printable ASCII character and might be a terminal control character and mess up/freeze your terminal ;) Use at your own risk, think about voltage levels (TTL, RS232, ...) if you intend to use this to connect the interface to any hardware device!
IF the command: ascii -t "$CHAR"|head -n1|cut -d' ' -f4
returns Command 'ascii' not found, it can be installed with: sudo apt install ascii
THIS IS WORKING on the RASPI2** cd VICTRON/ ./victron_emulator.sh /dev/serial0
- Make sure that the VE.Direct socket is not assigned an alternative function. Example: MPPT charge controllers can be configured to output a PWM signal.
- MPPT charge controllers need to be able to source power from the battery at night, otherwise they are off and will not send messages.
- Home
- FAQ
- First-Time Installation
- Device Profiles (Pin Config)
- Upgrade from OpenDTU
- Getting Help
- Hilfe erhalten
- Builds & Examples
- ESP32 Versions and Memory
- Victron MPPT solar charger
- VE.Direct
- Victron Smartshunt
- Victron Smart Battery Sense
- Warning on Victron MPPT 100/20
- Pylontech battery
- Pytes battery
- Huawei AC PSU
- SBS Unipower Battery
- Jikong JK BMS
- HOYMILES
- Einschaltstrombegrenzung für Balkonkraftwerke - Inrush current limiter
- Live View
- Farbe des Wechselrichterfensters
- Power Meter
- Dynamic Power Limiter
- Dynamic Power Limiter ‐ (Full) Solar‐Passthrough
- Dynamic Power Limiter Limitations
- DC Voltage ‐ Load correction factor
- Battery
- Battery-Tipps
- 24V Battery issues with Hoymiles
- Home Assistant
- Grafana Dashboard
- XXL Balkonkraftwerk 1500 Watt und mehr! Worauf Ihr achten solltet!
- Wie gefährlich kann ein Balkonkraftwerk werden (FI‐Schutzschalter)
- Hardware Purchase Tipp
- Fan speed controller ‐ add temperature sensing to any fan
- Cable length(s) between battery and inverter
- Kabellänge(n) zwischen Batterie und Wechselrichter
- Diodes ‐ Bypass vs. Blocking Diodes
- Impact of high start-currents to the inverter
- Making Cables for your HOYMILES‐CAUTION