Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Inverter is not discovered #20

Open
sbstnrch opened this issue Dec 8, 2023 · 3 comments
Open

[Bug] Inverter is not discovered #20

sbstnrch opened this issue Dec 8, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sbstnrch
Copy link

sbstnrch commented Dec 8, 2023

Hi Wim!

The inverter is also not discovered in the EVE Home app. The inverter was discovered a few months ago and the automatic mechanisms for charging the car and heating the water worked well.

Is the following data enough for you to find out what's going on?

Paste of Logs:

[12/8/2023, 2:26:14 PM] [homebridge-sma-home-manager] Launched child bridge with PID 8116
[12/8/2023, 2:26:14 PM] Registering platform 'homebridge-sma-home-manager.SMAHomeManager'
[12/8/2023, 2:26:14 PM] [homebridge-sma-home-manager] Loaded homebridge-sma-home-manager v1.1.8 child bridge successfully
[12/8/2023, 2:26:14 PM] Loaded 0 cached accessories from cachedAccessories.0E4438C51BBA.
[12/8/2023, 2:26:14 PM] [homebridge-sma-home-manager] Found inverter SMAXXXXXXX439 at SMAXXXXXXX439-2.local with IPv4 address 10.0.1.147.
[12/8/2023, 2:26:15 PM] [homebridge-sma-home-manager] Discovered SMA inverter: no
[12/8/2023, 2:26:15 PM] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 372, SerialNumber: 3015976854, FirmwareRevision: '2.13.6.R' }
[12/8/2023, 2:26:16 PM] [homebridge-sma-home-manager] Discovered SMA inverter: {
  DeviceClass: 'battery inverter',
  DeviceType: 9356,
  SerialNumber: XXXXXXX439,
  FirmwareRevision: 'unknown'
}
[12/8/2023, 2:26:16 PM] [homebridge-sma-home-manager] Discovered SMA energy manager: { Model: 372, SerialNumber: XXXXXXX854, FirmwareRevision: '2.13.6.R' }
[12/8/2023, 2:26:16 PM] [homebridge-sma-home-manager] The discovered inverter is not a solar or hybrid inverter! Please create a bug report with as much detail as possible. {
  energyManager: {
    Model: 372,
    SerialNumber: XXXXXXX854,
    FirmwareRevision: '2.13.6.R'
  },
  inverter: {
    DeviceClass: 'battery inverter',
    DeviceType: 9356,
    SerialNumber: XXXXXXX439,
    FirmwareRevision: 'unknown'
  }
}

[12/8/2023, 2:26:34 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:26:54 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:27:14 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:27:34 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:27:54 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:28:14 PM] [homebridge-sma-home-manager] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.

[12/8/2023, 2:28:14 PM] [homebridge-sma-home-manager] Child bridge process ended

[12/8/2023, 2:28:14 PM] [homebridge-sma-home-manager] Process Ended. Code: 1, Signal: null

[12/8/2023, 2:28:21 PM] [homebridge-sma-home-manager] Restarting Process...

Config:

{
    "signals": {
        "offGrid": true,
        "noSun": true,
        "highImport": true
    },
    "surplusSignals": [
        {
            "label": "3k EV Charger",
            "watts": 3000,
            "minutes": 5
        },
        {
            "label": "5k Hot Water",
            "watts": 5000,
            "minutes": 5
        }
    ],
    "_bridge": {
        "username": "XX:XX:XX:XX:XX:BA",
        "port": 49697
    },
    "platform": "SMAHomeManager"
}

Screenshots:
Bildschirmfoto 2023-12-08 um 15 17 49

Inverter:

Homebridge Environment:

  • Node.js Version: 20.10.0
  • NPM Version: 10.2.3
  • Homebridge Version: 1.7.0
  • homebridge-sma-inverter Version: 1.1.8
  • Operating System: Docker on Synology
@sbstnrch sbstnrch added the bug Something isn't working label Dec 8, 2023
@wimleers
Copy link
Owner

wimleers commented Dec 9, 2023

The inverter was discovered a few months ago

Do you mean that my Homebridge plugin discovered your inverter a few months ago?

and the automatic mechanisms for charging the car and heating the water worked well.

🤔 This plugin does not do anything wrt car charging and water heating 😅 Do you mean that the SMA Home Manager's own "optimize energy consumption" logic that SMA advertises has been working well? Or do you mean you've configured "surplus signals" in this plugin? Aha, the latter! VERY COOL! 🤩

    "surplusSignals": [
        {
            "label": "3k EV Charger",
            "watts": 3000,
            "minutes": 5
        },
        {
            "label": "5k Hot Water",
            "watts": 5000,
            "minutes": 5
        }
    ],

👆 I'm so excited to see somebody is using it for these kinds of things! 😄

I have a counter question for you: could you share a screenshot of how you use those surplus signals? 🙏

[12/8/2023, 2:26:16 PM] [homebridge-sma-home-manager] The discovered inverter is not a solar or hybrid inverter! Please create a bug report with as much detail as possible. {

☝️ That pretty much says what's going on: it is finding only a battery inverter, with a serial number that matches what you reported: "Sunny Boy Storage 3.7 SerialNumber: XXXXXXX439". But it's not finding your "Sunny Tripower X 12 SerialNumber: XXXXXXX954".

Questions:

  1. Are you saying that your Sunny Tripower used to be discovered just fine?
  2. Was a firmware update was installed for it recently? Looks like version 03.02.08.R was released on August 1, 2023 — but when was it installed on your device?
  3. Did something change in your local network? Switches, routers, ISP modem, WiFi?

@wimleers wimleers self-assigned this Dec 9, 2023
@sbstnrch
Copy link
Author

sbstnrch commented Dec 9, 2023

Hello Wim!
Nice of you to get in touch so quickly.

  1. Are you saying that your Sunny Tripower used to be discovered just fine?

I can't really remember. At least back then, data was coming in and I could use it to run automations.

  1. Was a firmware update was installed for it recently?

I think so. An installer (electrician) does this via remote maintenance.

  1. Did something change in your local network? Switches, routers, ISP modem, WiFi?

Yes, the battery was extended in July. It now has twice the capacity.

I can see that I probably need to check a lot of inconsistencies in my setup before I come back to you.
Because this Sunny Tripower X 12 appears twice in Sunny Portal. I'll probably have to take care of that first.

Please close the issue. I'll come back to you later after I've taken care of my setup.

But I'll be happy to show you how I used the plugin.

I also use the homebridge-my-wallbox plugin to charge the car when there is sufficient electricity production.
IMG_1031

To heat the water, I use a smart switch from Memos, which then switches a heating element on and off.
IMG_1030
IMG_1032

@wimleers
Copy link
Owner

Because this Sunny Tripower X 12 appears twice in Sunny Portal.

Woah! That seems very odd for sure.

But I'll be happy to show you how I used the plugin.

Please do! 😊 🙏

Also: what Heizstab are you using, with which heatpump or reservoir? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants