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

Sungrow SH5K: Value not available | #4

Open
HiiDaddy opened this issue Jun 11, 2022 · 2 comments
Open

Sungrow SH5K: Value not available | #4

HiiDaddy opened this issue Jun 11, 2022 · 2 comments

Comments

@HiiDaddy
Copy link

Hi mate,

Are you still supporting and/or still using this addon?

I have some questions if you have some time.

Using Sungrow SH5K

I have the following faults:

Logger: custom_components.sungrow.sensor
Source: custom_components/sungrow/sensor.py:340
Integration: Sungrow (documentation, issues)
First occurred: 1:32:22 PM (16 occurrences)
Last logged: 1:33:22 PM

Sensor lookup value is not available in data array: total_battery_charge_energy_from_pv
Sensor lookup value is not available in data array: daily_battery_discharge_energy
Sensor lookup value is not available in data array: total_battery_discharge_energy
Sensor lookup value is not available in data array: daily_export_power_from_pv
Sensor lookup value is not available in data array: total_export_power_from_pv

AND

Logger: homeassistant.components.sensor
Source: custom_components/sungrow/sensor.py:269
Integration: Sensor (documentation, issues)
First occurred: 1:32:20 PM (1 occurrences)
Last logged: 1:32:20 PM

Error while setting up sungrow platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/sungrow/sensor.py", line 269, in async_setup_platform
ip_address=config[CONF_IP_ADDRESS],
KeyError: 'ip_address'

Sensor.py: ln 264-275

"""Set up the Jemena Outlook sensor."""

sungrowclient = await hass.async_add_executor_job(
    partial(
        SungrowInverter,
        ip_address=config[CONF_IP_ADDRESS],
        port=config[CONF_PORT],
        slave=config[CONF_SLAVE],
        retries=3,
        timeout=int(config[CONF_TIMEOUT]),
    )
)

AND

Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:259
Integration: Sensor (documentation, issues)
First occurred: 1:35:10 PM (5 occurrences)
Last logged: 1:35:10 PM

sensor.sungrow_pv_array_1_energy_generation has unit W which is unsupported for device_class energy
sensor.sungrow_pv_array_2_energy_generation has unit W which is unsupported for device_class energy
sensor.sungrow_current_load_power has unit W which is unsupported for device_class energy
sensor.sungrow_current_export_power has unit W which is unsupported for device_class energy
sensor.sungrow_energy_generation has unit W which is unsupported for device_class energy

@flare04
Copy link

flare04 commented Jul 3, 2023

Did you ever get this to work ?

@ph0nebooth
Copy link

I'm facing issues with the Sungrow SG5K-D.


2023/07/10 11:52:28 INFO: Connecting to SunGrow...
2023/07/10 11:52:29 INFO: Found SunGrow 1 devices
Error: identifier rejected
Usage:
  GoSungrow mqtt run [flags]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants