Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Coding Project: Deye Inverter

Featured Replies

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.