Inverter: FoxESS H1 H3 - dalathegreat/Battery-Emulator GitHub Wiki

[!CAUTION] Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.

Word of caution, isolated CAN

[!IMPORTANT]
This inverter* does not handle a CAN connected EV battery on the same channel. If the inverter which likes to see only extended CAN frames sees standard automotive CAN frames, the inverter will enter a fault state.

*Only applies to SOLAX_CAN protocol

This can be solved in a few ways:

Compatible FoxESS inverters

  • FoxESS H1
    • Uses SOLAX_CAN protocol
  • FoxESS H3
    • Uses FOXESS_CAN protocol (Which is OK for co-existing on same CAN as EV battery)
  • FoxESS AC1
    • Uses SOLAX_CAN protocol

Communication wiring

The FoxESS inverter works via CAN. Connect the Inverter side Pin 4 & 5 to the Battery-Emulator

image

Compiling the software for FoxESS inverters

Make sure that the settings in the "USER_SETTINGS.h" file are correct. Depending on which inverter model you use, select either the Solax or the Foxess protocol.

#define SOLAX_CAN //Enable this line to emulate a "SolaX Triple Power LFP" over CAN bus

#define FOXESS_CAN //Enable this line to emulate a "HV2600/ECS4100 battery" over CAN bus

Next step is then to select the battery that you intend to use, for instance if you use LEAF battery, make sure the following line is uncommented:

#define BATTERY_TYPE_LEAF // See NISSAN-LEAF-BATTERY.h for more LEAF battery settings

After setting this up, flash the board.

Installation examples

Feel free to add your own images here!