Successfully Configuring EVCC with Huawei Devices

After spending several hours troubleshooting the setup of my EVCC system with Huawei devices, I thought I’d share my journey and insights for anyone else who might be facing similar challenges. :rocket:

Initially, I encountered issues with EVCC not displaying the correct dashboard and struggling to pull accurate data from my Huawei SUN2000 inverter and battery system. The logs indicated some communication problems, but I wasn’t sure where to start. After some research and reaching out to the community, here’s what I learned:

  1. Template Selection: It turns out the default templates for Huawei devices didn’t provide all the necessary data points. Experimenting with different templates and configurations was key. I found that adjusting the template settings to match my specific hardware setup made a huge difference.

  2. Firmware Updates: I discovered that my Huawei devices were running older firmware versions. Updating them resolved some of the communication issues and improved data accuracy. Always check for firmware updates before diving deep into troubleshooting!

  3. Modbus Configuration: Fine-tuning the Modbus settings in EVCC was crucial. Ensuring the correct port and communication protocols were set allowed EVCC to reliably pull data from my inverter and battery system.

  4. Community Support: Don’t underestimate the power of community forums and Discord channels. Other users shared their configurations and tips, which were invaluable. I ended up tweaking my evcc.yaml file based on a working configuration someone else had posted.

  5. Testing and Patience: After making changes, I learned to test each component individually before expecting the whole system to work. This helped isolate issues and saved me from unnecessary frustration.

Here’s a snippet of my final evcc.yaml configuration that worked:

yaml
meters:

  • type: template
    template: huawei-sun2000
    id: 1
    host: 192.168.1.100
    port: 502
    usage: grid
    modbus: tcp
    timeout: 30s
    name: grid1
  • type: template
    template: huawei-sun2000
    id: 1
    host: 192.168.1.100
    port: 502
    usage: pv
    modbus: tcp
    timeout: 30s
    name: pv1
    site:
    title: Home Solar System
    meters:
    grid: grid1
    pv: [pv1]
    battery: [battery1]

Thanks to this process, I now have a fully functional EVCC setup that provides accurate data and a clean dashboard. It’s a relief to see everything working smoothly, and I’m excited to monitor my energy production and consumption more effectively! :sun_with_face:

If anyone else is struggling with similar issues, feel free to reach out. I’m happy to share more details or troubleshoot together! :muscle: