May 14, 20233 yr Going to keep this thread as a record of me playing with my Deye inverter for home automation. My son wants to play around with Arduinos so our project will be more for exploration over exploitation of existing systems. The first goal was to find open-source code to pull the stats. I found this basic Python repo: [email protected]:jlopez77/DeyeInverter Put in my config, installed missing packages and lovely dump: { "Running Status()": 2, "Total Grid Production(kwh)": 0.0, "Daily Energy Bought(kwh)": 5.1, "Daily Energy Sold(kwh)": 0.0, "Total Energy Bought(kwh)": 0.0, "Total Energy Sold(kwh)": 0.0, "Daily Load Consumption(KWH)": 10.3, "Total Load Consumption(KWH)": 0.0, "DC Temperature(\u00ba)": 49.6, "AC Temperature(\u00ba)": 47.5, "Total Production(KWH)": 0.0, "Alert()": 0, "Daily Production(KWH)": 7.4, "PV1 Voltage(V)": 213.0, "PV1 Current(A)": 6.3, "PV2 Voltage(V)": 211.9, "PV2 Current(A)": 6.3, "Grid Voltage L1(V)": 4.5, "Grid Voltage L2(V)": 0.0, "Load Voltage(V)": 232.1, "Current L1(A)": 10.7, "Current L2(A)": 0.0, "Micro-inverter Power(W)": 0, "Gen-connected Status()": 0, "Gen Power(W)": 0, "Internal CT L1 Power(W)": 0, "Internal CT L2 Power(W)": 0, "Grid Status()": 0, "Total Grid Power(W)": 0, "External CT L1 Power(W)": 0, "External CT L2 Power(W)": 0, "Inverter L1 Power(W)": 2567, "Inverter L2 Power(W)": 0, "Total Power(W)": 2567, "Load L1 Power(W)": 2567, "Load L2 Power(W)": 0, "Total Load Power(W)": 2567, "Battery Temperature(\u00ba)": 19.7, "Battery Voltage(V)": 55.62, "Battery SOC(%)": 100, "PV1 Power(W)": 1332, "PV2 Power(W)": 1324, "Battery Status()": -7, "Battery Power(W)": -7, "Battery Current(A)": -0.14, "Grid-connected Status()": 0, "SmartLoad Enable Status()": 16 } I'm going to setup an old PI (v1) to poll and store the data. Will then look at some graphing tools. Our first project is to place smart bulbs around the house to red-green indicate load shedding.
May 14, 20233 yr If you want a really basic framework for reading it from an Arduino: https://github.com/justinschoeman/ModbusThermostat/blob/master/SunsynkController/sunsynk.h
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.