ricott / homey-no.easee

Easee app for Homey
GNU General Public License v3.0
5 stars 5 forks source link

Can’t add charger #40

Closed Retteph closed 1 year ago

Retteph commented 1 year ago

Can’t add charger due to: Cannot read properties of null (reading 'forEach')

759C9454-2AC5-42B0-B601-20D63E97E9FF

adding equalizer works

ricott commented 1 year ago

Did you try more than one time? Thinking if there could be a temporary communication problem? Otherwise, we would need to find out what your product listing looks like. This is the endpoint used, https://developer.easee.cloud/reference/get_api-accounts-products It should look something like this. There should be one or more circuits and below that one or more chargers. Can you login to the API portal and trigger the endpoint and show the JSON returned?

[
  {
    "id": 0,
    "siteKey": "string",
    "circuits": [
          {
            "id": 0,
            "siteId": 0,
            "circuitPanelId": 0,
            "panelName": "string",
            "ratedCurrent": 0,
            "chargers": [
              {
                "id": "string",
                "name": "string",
ricott commented 1 year ago

There is a new test version here.

Retteph commented 1 year ago

👌🏻👍🏻 now it works