ecoen66 / homebridge-solaredge-inverter

SolarEdge Inverter plugin for homebridge
MIT License
14 stars 8 forks source link

Only showing Battery #12

Closed christo-ph closed 10 months ago

christo-ph commented 3 years ago

Hi,

thank you for this plugin!

I tried to setup my solar edge. I could find the necessary infos and put them in config:

{
    "name": "SolarEdge Inverter 1",
    "manufacturer": "SolarEdge",
    "model": "SE9k",
    "serial": "7E137B4C-XX",
    "site_id": "748XXX",
    "api_key": "XXXX",
    "update_interval": 15,
    "accessory": "SolarEdge Inverter",
    "display": {
        "current": true,
        "last_day": true,
        "last_month": true,
        "last_year": true,
        "life_time": true,
        "battery": true
    },
    "debug": true

Unfortunately, the only metric I get is Battery:

image

I found this in the debug log:

17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling Flow API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling Flow API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Calling Flow API
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Data from Power Flow API {
  updateRefreshRate: 3,
  unit: 'kW',
  connections: [ { from: 'GRID', to: 'Load' } ],
  GRID: { status: 'Active', currentPower: 1.83 },
  LOAD: { status: 'Active', currentPower: 1.83 },
  PV: { status: 'Idle', currentPower: 0 },
  STORAGE: { status: 'Idle', currentPower: 0, chargeLevel: 10, critical: false }
}
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Data from Power Flow API {
  updateRefreshRate: 3,
  unit: 'kW',
  connections: [ { from: 'GRID', to: 'Load' } ],
  GRID: { status: 'Active', currentPower: 1.83 },
  LOAD: { status: 'Active', currentPower: 1.83 },
  PV: { status: 'Idle', currentPower: 0 },
  STORAGE: { status: 'Idle', currentPower: 0, chargeLevel: 10, critical: false }
}
17.12.2020, 19:51:12 [SolarEdge Inverter 1] Data from Power Flow API {
  updateRefreshRate: 3,
  unit: 'kW',
  connections: [ { from: 'GRID', to: 'Load' } ],
  GRID: { status: 'Active', currentPower: 1.83 },
  LOAD: { status: 'Active', currentPower: 1.83 },
  PV: { status: 'Idle', currentPower: 0 },
  STORAGE: { status: 'Idle', currentPower: 0, chargeLevel: 10, critical: false }
}
17.12.2020, 19:51:13 [SolarEdge Inverter 1] Data from API {
  lastUpdateTime: '2020-12-17 19:41:49',
  lifeTimeData: { energy: 22229600, revenue: 2854.53 },
  lastYearData: { energy: 6595818 },
  lastMonthData: { energy: 21208 },
  lastDayData: { energy: 2189 },
  currentPower: { power: 0 },
  measuredBy: 'INVERTER'
}
17.12.2020, 19:51:13 [SolarEdge Inverter 1] Data from API {
  lastUpdateTime: '2020-12-17 19:41:49',
  lifeTimeData: { energy: 22229600, revenue: 2854.53 },
  lastYearData: { energy: 6595818 },
  lastMonthData: { energy: 21208 },
  lastDayData: { energy: 2189 },
  currentPower: { power: 0 },
  measuredBy: 'INVERTER'
}
17.12.2020, 19:51:13 [SolarEdge Inverter 1] Data from API {
  lastUpdateTime: '2020-12-17 19:41:49',
  lifeTimeData: { energy: 22229600, revenue: 2854.53 },
  lastYearData: { energy: 6595818 },
  lastMonthData: { energy: 21208 },
  lastDayData: { energy: 2189 },
  currentPower: { power: 0 },
  measuredBy: 'INVERTER'
}
17.12.2020, 19:51:13 [SolarEdge Inverter 1] Data from API {
  lastUpdateTime: '2020-12-17 19:41:49',
  lifeTimeData: { energy: 22229600, revenue: 2854.53 },
  lastYearData: { energy: 6595818 },
  lastMonthData: { energy: 21208 },
  lastDayData: { energy: 2189 },
  currentPower: { power: 0 },
  measuredBy: 'INVERTER'
}
17.12.2020, 19:51:13 [SolarEdge Inverter 1] Data from API {
  lastUpdateTime: '2020-12-17 19:41:49',
  lifeTimeData: { energy: 22229600, revenue: 2854.53 },
  lastYearData: { energy: 6595818 },
  lastMonthData: { energy: 21208 },
  lastDayData: { energy: 2189 },
  currentPower: { power: 0 },
  measuredBy: 'INVERTER'
}

Could you tell, how to configure this properly?

Thank you very much.

ecoen66 commented 3 years ago

Can you try v. 0.2.1?

christo-ph commented 3 years ago

Hi

thanks for the reply. I am currently unable to test it. Hope I can do that asap.