hultenvp / solis-sensor

HomeAssistant integration for the SolisCloud PV Monitoring portal via SolisCloud API
Apache License 2.0
191 stars 41 forks source link

Multiple inverters grouped into one #293

Closed henrikeri closed 11 months ago

henrikeri commented 1 year ago

Describe the bug For sites that has more than one inverter, all inverters are currently grouped into one. This makes it hard to keep an overview of what is what, and as such requires a lot of manual correlation between the web page and HA.

Config Using the new soliscloud with API key

Versions All updated to latest NON beta versions

Screenshots Multiple inverters grouped into 1:

image

swests commented 1 year ago

Hi there

Have a look at issue #285 - looks like you're seeing the same issues I am.

Enable debug logging and reload the integration - see if you get errors when calling /v1/api/inverterList, /v1/api/inverterDetails, /v1/api/userStationList

henrikeri commented 1 year ago

No errors from that I can tell in the log, in fact when resetting after enabling debugging it shows the following:

2023-06-13 11:10:41.708 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Found inverters: ['aaa', 'bbb', 'ccc'] 2023-06-13 11:10:41.708 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 'ddd'

hultenvp commented 1 year ago

Do you see the separate inverters as devices in the device overview? (Settings->Services and services->Solis Inverter). The idea is it shows each individual inverter SN as a device.

henrikeri commented 1 year ago

Hi,

Funny enough, I see two of three. But only one of the devices ( serial numbers ) has data in it

swests commented 1 year ago

Similar. I see both inverters after a reload but all the entities are under one inverter. The other has no entities.

hultenvp commented 1 year ago

That's odd.

The device registry is built from the device_info method on the sensor class. Inverter serial and platform are the unique identifiers I use in the device identifier. It should group just fine, it does group nicely for me (but I have one inverter, but for testing purposes used it on both platforms). So either the sensor gets the wrong inverter serial or the mechanism I use to create a unique identifier for the device doesn't work as I understand it works. Give that it works for me I go for the first option for now. Can you run with debug on and reload the integration? I'm looking for a list of debug calls saying "Creating xxxx (yyyy)" where yyyy is the inverter serial. You should see all sensors created for all 3 registered inverters. Please drop the debug log here. image

swests commented 1 year ago

I have a debug log in #285 . As these seem similar issues is it worth merging the two issues?

henrikeri commented 1 year ago

023-06-23 18:01:54.186 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":54.997528,"accumulatedProductionLastHour":0.037528,"accumulatedReward":59.416945,"averagePower":376,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:01:52.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:01:55.216 DEBUG (MainThread) [custom_components.solis.soliscloud_api] workarounds: {'correct_daily_on_grid_energy_enabled': False, 'use_energy_today_from_plant': False} 2023-06-23 18:01:55.220 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.solis 2023-06-23 18:01:55.223 INFO (MainThread) [custom_components.solis.sensor] Scheduling discovery 2023-06-23 18:01:55.223 DEBUG (MainThread) [custom_components.solis.service] Scheduling discovery in 1 seconds. 2023-06-23 18:01:56.546 INFO (MainThread) [custom_components.solis.soliscloud_api] Login successful 2023-06-23 18:01:56.546 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Found inverters: ['100504021B290022', '010CF1216300005', '010CF1216300029'] 2023-06-23 18:01:56.546 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 100504021B290022 2023-06-23 18:01:56.638 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":54.997528,"accumulatedProductionLastHour":0.037528,"accumulatedReward":59.416945,"averagePower":376,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:01:55.000+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:01:58.737 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Using inverterDetail for energy_today 2023-06-23 18:01:58.737 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 100504021B290022 2023-06-23 18:01:59.411 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":54.997528,"accumulatedProductionLastHour":0.037528,"accumulatedReward":59.416945,"averagePower":376,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:01:57.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:00.030 INFO (MainThread) [gql.transport.websockets] >>> {"type": "ping"} 2023-06-23 18:02:00.078 INFO (MainThread) [gql.transport.websockets] <<< {"type":"pong"} 2023-06-23 18:02:00.265 INFO (SyncWorker_7) [custom_components.icloud3.device_tracker] Karoline (iPhone) Results: From-Home > CurrZone-Home, GPS-(58.926636, 5.614242/8.514426531661275m), Interval-2 hrs (3-InHomeZone), NextUpdt-20:02:00, LocationTime-17:50:07 (11.9 min ago), OldLocThreshold-3 min, Battery-8% 2023-06-23 18:02:00.422 INFO (MainThread) [custom_components.solis.soliscloud_api] Login successful 2023-06-23 18:02:00.422 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Found inverters: ['100504021B290022', '010CF1216300005', '010CF1216300029'] 2023-06-23 18:02:00.422 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 100504021B290022 2023-06-23 18:02:00.907 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Using inverterDetail for energy_today 2023-06-23 18:02:00.908 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 010CF1216300005 2023-06-23 18:02:02.525 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.000911,"accumulatedProductionLastHour":0.040911,"accumulatedReward":59.420452,"averagePower":376,"currency":"NOK","currentL1":-7.3,"currentL2":-2.5,"currentL3":4.6,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":1218,"powerReactive":0,"signalStrength":null,"timestamp":"2023-06-23T18:02:00.000+02:00","voltagePhase1":239.7,"voltagePhase2":234.7,"voltagePhase3":234.9}}}} 2023-06-23 18:02:03.987 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.000911,"accumulatedProductionLastHour":0.040911,"accumulatedReward":59.420452,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:02.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:06.442 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.000911,"accumulatedProductionLastHour":0.040911,"accumulatedReward":59.420452,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:05.000+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:08.893 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.000911,"accumulatedProductionLastHour":0.040911,"accumulatedReward":59.420452,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:07.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:10.085 INFO (MainThread) [gql.transport.websockets] >>> {"type": "ping"} 2023-06-23 18:02:10.133 INFO (MainThread) [gql.transport.websockets] <<< {"type":"pong"} 2023-06-23 18:02:11.912 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Error from URI (/v1/api/inverterDetail) : TimeoutError() 2023-06-23 18:02:11.912 INFO (MainThread) [custom_components.solis.soliscloud_api] Unable to fetch details for device with ID: 1308675217945889808 2023-06-23 18:02:13.861 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.004236,"accumulatedProductionLastHour":0.044236,"accumulatedReward":59.423898,"averagePower":375.9,"currency":"NOK","currentL1":-7.3,"currentL2":-2.5,"currentL3":4.6,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":1197,"powerReactive":0,"signalStrength":null,"timestamp":"2023-06-23T18:02:10.000+02:00","voltagePhase1":240,"voltagePhase2":234.9,"voltagePhase3":235.1}}}} 2023-06-23 18:02:14.391 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.004236,"accumulatedProductionLastHour":0.044236,"accumulatedReward":59.423898,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:12.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:15.261 INFO (SyncWorker_6) [custom_components.icloud3.device_tracker] Karoline (iPhone) Results: From-Home > CurrZone-Home, GPS-(58.926636, 5.614242/8.514426531661275m), Interval-2 hrs (3-InHomeZone), NextUpdt-20:02:15, LocationTime-17:50:07 (12.1 min ago), OldLocThreshold-3 min, Battery-8% 2023-06-23 18:02:16.224 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.004236,"accumulatedProductionLastHour":0.044236,"accumulatedReward":59.423898,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":-49,"timestamp":"2023-06-23T18:02:15.000+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:17.525 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Error from URI (/v1/api/userStationList) : TimeoutError() 2023-06-23 18:02:17.525 INFO (MainThread) [custom_components.solis.soliscloud_api] Unable to fetch details for Station with ID: 1298491919448700054 2023-06-23 18:02:17.525 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Using inverterDetail for energy_today 2023-06-23 18:02:17.526 DEBUG (MainThread) [custom_components.solis.ginlong_base] AttributeError, plantName does not exist 2023-06-23 18:02:17.526 INFO (MainThread) [custom_components.solis.soliscloud_api] Failed to acquire plant name, login failed 2023-06-23 18:02:17.526 DEBUG (MainThread) [custom_components.solis.service] Scheduling next update in 0:01:00, at 2023-06-23 16:03:17.526279+00:00 2023-06-23 18:02:19.163 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.004236,"accumulatedProductionLastHour":0.044236,"accumulatedReward":59.423898,"averagePower":375.9,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:17.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:20.135 INFO (MainThread) [gql.transport.websockets] >>> {"type": "ping"} 2023-06-23 18:02:20.183 INFO (MainThread) [gql.transport.websockets] <<< {"type":"pong"} 2023-06-23 18:02:22.638 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.007636,"accumulatedProductionLastHour":0.047636,"accumulatedReward":59.427422,"averagePower":375.8,"currency":"NOK","currentL1":-7.3,"currentL2":-2.5,"currentL3":4.6,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":1224,"powerReactive":0,"signalStrength":null,"timestamp":"2023-06-23T18:02:20.000+02:00","voltagePhase1":240,"voltagePhase2":234.8,"voltagePhase3":235.2}}}} 2023-06-23 18:02:22.915 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Error from URI (/v1/api/userStationList) : TimeoutError() 2023-06-23 18:02:22.915 INFO (MainThread) [custom_components.solis.soliscloud_api] Unable to fetch details for Station with ID: 1298491919448700054 2023-06-23 18:02:22.915 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Unexpected response from server: None 2023-06-23 18:02:22.915 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Fetching data for serial: 010CF1216300029 2023-06-23 18:02:23.567 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":{"accumulatedConsumption":6.78,"accumulatedConsumptionLastHour":0,"accumulatedCost":9.133106,"accumulatedProduction":55.007636,"accumulatedProductionLastHour":0.047636,"accumulatedReward":59.427422,"averagePower":375.8,"currency":"NOK","currentL1":null,"currentL2":null,"currentL3":null,"lastMeterConsumption":32685.83,"lastMeterProduction":8498.65,"maxPower":2853,"minPower":0,"power":0,"powerFactor":null,"powerProduction":null,"powerReactive":null,"signalStrength":null,"timestamp":"2023-06-23T18:02:22.500+02:00","voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null}}}} 2023-06-23 18:02:24.056 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Error from URI (/v1/api/inverterDetail) : ContentTypeError(RequestInfo(url=URL('https://www.soliscloud.com:13333/v1/api/inverterDetail'), method='POST', headers=<CIMultiDictProxy('Host': 'www.soliscloud.com:13333', 'User-Agent': 'HomeAssistant/2023.6.2 aiohttp/3.8.4 Python/3.11', 'Content-MD5': 'iTJU8mhLURixDVMA5gd7MA==', 'Content-Type': 'application/json', 'Date': 'Fri, 23 Jun 2023 16:02:23 GMT', 'Authorization': 'API 1300386381676514719:To7oGBfJPD0fWKVWyb02kfBg1B8=', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '51')>, real_url=URL('https://www.soliscloud.com:13333/v1/api/inverterDetail')), (), message='Attempt to decode JSON with unexpected mimetype: text/html', headers=<CIMultiDictProxy('Date': 'Fri, 23 Jun 2023 16:02:24 GMT', 'Content-Type': 'text/html', 'Content-Length': '166', 'Connection': 'keep-alive', 'Via': 'HTTP/1.1 SLB.5')>) 2023-06-23 18:02:24.057 INFO (MainThread) [custom_components.solis.soliscloud_api] Unable to fetch details for device with ID: 1308675217945888964 2023-06-23 18:02:25.091 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Error from URI (/v1/api/userStationList) : ContentTypeError(RequestInfo(url=URL('https://www.soliscloud.com:13333/v1/api/userStationList'), method='POST', headers=<CIMultiDictProxy('Host': 'www.soliscloud.com:13333', 'User-Agent': 'HomeAssistant/2023.6.2 aiohttp/3.8.4 Python/3.11', 'Content-MD5': 'mZFLkyvTelC5g8XnyQrpOw==', 'Content-Type': 'application/json', 'Date': 'Fri, 23 Jun 2023 16:02:25 GMT', 'Authorization': 'API 1300386381676514719:z4aMtBqWXMMUEDiXYOuK1851c1c=', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '2')>, real_url=URL('https://www.soliscloud.com:13333/v1/api/userStationList')), (), message='Attempt to decode JSON with unexpected mimetype: text/html', headers=<CIMultiDictProxy('Date': 'Fri, 23 Jun 2023 16:02:25 GMT', 'Content-Type': 'text/html', 'Content-Length': '166', 'Connection': 'keep-alive', 'Via': 'HTTP/1.1 SLB.5')>) 2023-06-23 18:02:25.091 INFO (MainThread) [custom_components.solis.soliscloud_api] Unable to fetch details for Station with ID: 1298491919448700054 2023-06-23 18:02:25.091 DEBUG (MainThread) [custom_components.solis.soliscloud_api] Unexpected response from server: None 2023-06-23 18:02:25.092 DEBUG (MainThread) [custom_components.solis.sensor] Creating inverterpowerstate (100504021B290022) 2023-06-23 18:02:25.092 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute powerState for inverter 100504021B290022 2023-06-23 18:02:25.092 DEBUG (MainThread) [custom_components.solis.sensor] Creating inverterstate (100504021B290022) 2023-06-23 18:02:25.092 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute state for inverter 100504021B290022 2023-06-23 18:02:25.092 DEBUG (MainThread) [custom_components.solis.sensor] Creating timestampmeasurement (100504021B290022) 2023-06-23 18:02:25.092 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute timestampUpdate for inverter 100504021B290022 2023-06-23 18:02:25.092 DEBUG (MainThread) [custom_components.solis.sensor] Creating temperature (100504021B290022) 2023-06-23 18:02:25.092 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute inverterTemperature for inverter 100504021B290022 2023-06-23 18:02:25.092 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputvoltagepv1 (100504021B290022) 2023-06-23 18:02:25.092 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcVoltage1 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputvoltagepv2 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcVoltage2 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputcurrentpv1 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcCurrent1 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputcurrentpv2 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcCurrent2 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputpowerpv1 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcPower1 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating dcinputpowerpv2 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dcPower2 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputvoltage1 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acVoltage1 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputvoltage2 (100504021B290022) 2023-06-23 18:02:25.093 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acVoltage2 for inverter 100504021B290022 2023-06-23 18:02:25.093 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputvoltage3 (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acVoltage3 for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputcurrent1 (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acCurrent1 for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputcurrent2 (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acCurrent2 for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating acoutputcurrent3 (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acCurrent3 for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating actualpower (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acPower for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating acfrequency (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute acFrequency for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating energytoday (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute energyToday for inverter 100504021B290022 2023-06-23 18:02:25.094 DEBUG (MainThread) [custom_components.solis.sensor] Creating energythismonth (100504021B290022) 2023-06-23 18:02:25.094 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute energyThisMonth for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating energythisyear (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute energyThisYear for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating energytotal (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute energyTotalLife for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating batpower (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute batteryPower for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating batvoltage (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute batteryVoltage for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating batcurrent (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute batteryCurrent for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating batcapacityremaining (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute remainingCapacity for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating battotalenergycharged (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalEnergyCharged for inverter 100504021B290022 2023-06-23 18:02:25.095 DEBUG (MainThread) [custom_components.solis.sensor] Creating battotalenergydischarged (100504021B290022) 2023-06-23 18:02:25.095 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalEnergyDischarged for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating batdailyenergycharged (100504021B290022) 2023-06-23 18:02:25.096 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dailyEnergyCharged for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating batdailyenergydischarged (100504021B290022) 2023-06-23 18:02:25.096 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dailyEnergyDischarged for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating griddailyongridenergy (100504021B290022) 2023-06-23 18:02:25.096 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dailyOnGridEnergy for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating griddailyenergypurchased (100504021B290022) 2023-06-23 18:02:25.096 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dailyEnergyPurchased for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating griddailyenergyused (100504021B290022) 2023-06-23 18:02:25.096 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute dailyEnergyUsed for inverter 100504021B290022 2023-06-23 18:02:25.096 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridmonthlyenergypurchased (100504021B290022) 2023-06-23 18:02:25.097 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute monthlyEnergyPurchased for inverter 100504021B290022 2023-06-23 18:02:25.097 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridyearlyenergypurchased (100504021B290022) 2023-06-23 18:02:25.097 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute yearlyEnergyPurchased for inverter 100504021B290022 2023-06-23 18:02:25.097 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridtotalongridenergy (100504021B290022) 2023-06-23 18:02:25.097 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalOnGridEnergy for inverter 100504021B290022 2023-06-23 18:02:25.097 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridpowergridtotalpower (100504021B290022) 2023-06-23 18:02:25.097 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalPower for inverter 100504021B290022 2023-06-23 18:02:25.097 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridtotalconsumptionpower (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalConsumptionPower for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridtotalenergypurchased (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalEnergyPurchased for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.sensor] Creating gridtotalenergyused (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute totalEnergyUsed for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.sensor] Creating batstateofhealth (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute batteryStateOfHealth for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.sensor] Creating socChargingSet (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute socChargingSet for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.sensor] Creating socDischargeSet (100504021B290022) 2023-06-23 18:02:25.098 INFO (MainThread) [custom_components.solis.service] Subscribing sensor to attribute socDischargeSet for inverter 100504021B290022 2023-06-23 18:02:25.098 DEBUG (MainThread) [custom_components.solis.service] Scheduling next update in 0:01:00, at 2023-06-23 16:03:25.098839+00:00 2023-06-23 18:02:25.823 WARNING (MainThread) [zigpy.zcl] [0x01E1:1:0xfeed] Unknown cluster command 42 b'' 2023-06-23 18:02:27.134 INFO (MainThread) [gql.transport.websockets] <<< {"id":"1","type":"next","payload":{"data":{"liveMeasurement":

hultenvp commented 11 months ago

I can (finally) reproduce the issue, no solution yet

swests commented 11 months ago

Thanks for the fix - my setup is now showing correctly!