muppet3000 / homeassistant-grott

Home Assistant Integration for Grott - MQTT
MIT License
65 stars 14 forks source link

State of charge for batteries not showing #49

Open sidequest-tomas opened 9 months ago

sidequest-tomas commented 9 months ago

Previously i got how much kWh received and exported from batteries, but where have these sensors gone? Can not find them in the entity list anymore.

image

muppet3000 commented 9 months ago

Those sensor names don't look like the sensors that would have been published by my integration. There is no sensor with the name "allbatteries...." in the code anywhere. Are you sure you're using this integration and not the grott add-on: https://github.com/egguy/grott-home-assistant-add-on

sidequest-tomas commented 9 months ago

Sorry, i see now that it is from my Tibber integration. But I am using yours only now , that is why they where missing :) Do you have any way of getting kWh charged/discharged? I can get the state-of-charge no problem.

muppet3000 commented 9 months ago

I have those values on my system from Grott, so - yes :) What type of Growatt Inverter system have you got and can you please share what values are in the 'device' page for Grott on the integrations page? e.g. image

image

Also, if you have access to the grott logs, please could you share them? That would help me to see what values are being pushed to MQTT by grott.

sidequest-tomas commented 9 months ago

I have a tl3 hybrid inverter, can not see any Battery sensors

image

muppet3000 commented 9 months ago

Thanks, can you share your grott logs as well please? I'd like to see what data it thinks it's publishing

sidequest-tomas commented 9 months ago

Hi, i have had all Growatt integrations so, maby i have messed something up 😊 My Shine Wifi Dongle id is XGD5BJHARY My old inverter MFK0CDV057 was replaced a few months ago with DFK0CE301T Home Assistant Core 2023-10-06 08:35:07.959 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration tapo_control which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.962 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.964 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.965 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration grott which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.967 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.969 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration growatt_server_api which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.970 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.972 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration melcloud_custom which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:07.973 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration easee which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:35:19.639 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400) 2023-10-06 08:35:40.509 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform nordpool is taking over 10 seconds. 2023-10-06 08:35:57.005 WARNING (MainThread) [homeassistant.config_entries] Config entry 'ShellyBulbDuo-E8DB84AA5783' for shelly integration not ready yet: DeviceConnectionError(DeviceConnectionError(ClientConnectorError(ConnectionKey(host='192.168.1.107', port=80, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=8352623643274347780), OSError(113, "Connect call failed ('192.168.1.107', 80)")))); Retrying in background 2023-10-06 08:35:57.055 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Telia TV' for androidtv_remote integration not ready yet: Couldn't connect to 192.168.1.162:6466; Retrying in background 2023-10-06 08:35:58.364 ERROR (MainThread) [tibber.home] Error in rt_subscribe Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/tibber/home.py", line 439, in _start async for data in self._tibber_control.realtime.sub_manager.session.subscribe( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Client' object has no attribute 'session' 2023-10-06 08:35:58.736 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Datalogger serial', 'unique_id': 'grott_MFK0CDV057_datalogserial', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'value_template': Template<template=({{ value_json.datalogserial }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Datalogger serial' 2023-10-06 08:35:58.739 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 serial', 'unique_id': 'grott_MFK0CDV057_pvserial', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'value_template': Template<template=({{ value_json.pvserial }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Serial' 2023-10-06 08:35:58.745 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 State', 'unique_id': 'grott_MFK0CDV057_pvstatus', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:power-settings', 'value_template': Template<template=({{ value_json.pvstatus | float / 1 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'State' 2023-10-06 08:35:58.749 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV Input (Actual)', 'unique_id': 'grott_MFK0CDV057_pvpowerin', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pvpowerin | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV Input (Actual)' 2023-10-06 08:35:58.752 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV1 Voltage', 'unique_id': 'grott_MFK0CDV057_pv1voltage', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.VOLTAGE: 'voltage'>, 'unit_of_measurement': 'V', 'value_template': Template<template=({{ value_json.pv1voltage | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV1 Voltage' 2023-10-06 08:35:58.756 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV1 Current', 'unique_id': 'grott_MFK0CDV057_pv1current', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.CURRENT: 'current'>, 'unit_of_measurement': 'A', 'value_template': Template<template=({{ value_json.pv1current | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV1 Current' 2023-10-06 08:35:58.761 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV1 Watt', 'unique_id': 'grott_MFK0CDV057_pv1watt', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pv1watt | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV1 Watt' 2023-10-06 08:35:58.766 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV2 Voltage', 'unique_id': 'grott_MFK0CDV057_pv2voltage', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.VOLTAGE: 'voltage'>, 'unit_of_measurement': 'V', 'value_template': Template<template=({{ value_json.pv2voltage | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV2 Voltage' 2023-10-06 08:35:58.770 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV2 Current', 'unique_id': 'grott_MFK0CDV057_pv2current', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.CURRENT: 'current'>, 'unit_of_measurement': 'A', 'value_template': Template<template=({{ value_json.pv2current | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV2 Current' 2023-10-06 08:35:58.774 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV2 Watt', 'unique_id': 'grott_MFK0CDV057_pv2watt', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pv2watt | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV2 Watt' 2023-10-06 08:35:58.778 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 PV Output (Actual)', 'unique_id': 'grott_MFK0CDV057_pvpowerout', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pvpowerout | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'PV Output (Actual)' 2023-10-06 08:35:58.782 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Grid Frequency', 'unique_id': 'grott_MFK0CDV057_pvfrequentie', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:waveform', 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.FREQUENCY: 'frequency'>, 'unit_of_measurement': 'Hz', 'value_template': Template<template=({{ value_json.pvfrequentie | float / 100 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Grid Frequency' 2023-10-06 08:35:58.786 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 1 voltage', 'unique_id': 'grott_MFK0CDV057_pvgridvoltage', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.VOLTAGE: 'voltage'>, 'unit_of_measurement': 'V', 'value_template': Template<template=({{ value_json.pvgridvoltage | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 1 voltage' 2023-10-06 08:35:58.791 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 1 current', 'unique_id': 'grott_MFK0CDV057_pvgridcurrent', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.CURRENT: 'current'>, 'unit_of_measurement': 'A', 'value_template': Template<template=({{ value_json.pvgridcurrent | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 1 current' 2023-10-06 08:35:58.795 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 1 power', 'unique_id': 'grott_MFK0CDV057_pvgridpower', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pvgridpower | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 1 power' 2023-10-06 08:35:58.799 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 2 voltage', 'unique_id': 'grott_MFK0CDV057_pvgridvoltage2', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.VOLTAGE: 'voltage'>, 'unit_of_measurement': 'V', 'value_template': Template<template=({{ value_json.pvgridvoltage2 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 2 voltage' 2023-10-06 08:35:58.803 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 2 current', 'unique_id': 'grott_MFK0CDV057_pvgridcurrent2', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.CURRENT: 'current'>, 'unit_of_measurement': 'A', 'value_template': Template<template=({{ value_json.pvgridcurrent2 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 2 current' 2023-10-06 08:35:58.808 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 2 power', 'unique_id': 'grott_MFK0CDV057_pvgridpower2', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pvgridpower2 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 2 power' 2023-10-06 08:35:58.812 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 3 voltage', 'unique_id': 'grott_MFK0CDV057_pvgridvoltage3', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.VOLTAGE: 'voltage'>, 'unit_of_measurement': 'V', 'value_template': Template<template=({{ value_json.pvgridvoltage3 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 3 voltage' 2023-10-06 08:35:58.816 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 3 current', 'unique_id': 'grott_MFK0CDV057_pvgridcurrent3', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.CURRENT: 'current'>, 'unit_of_measurement': 'A', 'value_template': Template<template=({{ value_json.pvgridcurrent3 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 3 current' 2023-10-06 08:35:58.820 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Phase 3 power', 'unique_id': 'grott_MFK0CDV057_pvgridpower3', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.POWER: 'power'>, 'unit_of_measurement': 'W', 'value_template': Template<template=({{ value_json.pvgridpower3 | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Phase 3 power' 2023-10-06 08:35:58.825 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Working time', 'unique_id': 'grott_MFK0CDV057_totworktime', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'value_template': Template<template=({{ value_json.totworktime| float / 7200 | round(2) }}) renders=0>, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.DURATION: 'duration'>, 'unit_of_measurement': 'h', 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Working time' 2023-10-06 08:35:58.829 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Generated energy (Today)', 'unique_id': 'grott_MFK0CDV057_pvenergytoday', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL: 'total'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.pvenergytoday | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Generated energy (Today)' 2023-10-06 08:35:58.833 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Generated energy (Total)', 'unique_id': 'grott_MFK0CDV057_pvenergytotal', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.pvenergytotal | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Generated energy (Total)' 2023-10-06 08:35:58.838 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Lifetime solar energy', 'unique_id': 'grott_MFK0CDV057_epvtotal', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.epvtotal | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Lifetime solar energy' 2023-10-06 08:35:58.842 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Solar PV1 energy today', 'unique_id': 'grott_MFK0CDV057_epv1today', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL: 'total'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.epv1today | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Solar PV1 energy today' 2023-10-06 08:35:58.846 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Solar PV1 production (Total)', 'unique_id': 'grott_MFK0CDV057_epv1total', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.epv1total | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Solar PV1 production (Total)' 2023-10-06 08:35:58.850 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Solar PV2 energy today', 'unique_id': 'grott_MFK0CDV057_epv2today', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL: 'total'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.epv2today | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Solar PV2 energy today' 2023-10-06 08:35:58.854 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Solar PV2 production (Total)', 'unique_id': 'grott_MFK0CDV057_epv2total', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:solar-power', 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, 'device_class': <SensorDeviceClass.ENERGY: 'energy'>, 'unit_of_measurement': 'kWh', 'value_template': Template<template=({{ value_json.epv2total | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Solar PV2 production (Total)' 2023-10-06 08:35:58.868 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Inverter temperature', 'unique_id': 'grott_MFK0CDV057_pvtemperature', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:thermometer', 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>, 'unit_of_measurement': '°C', 'value_template': Template<template=({{ value_json.pvtemperature | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Inverter temperature' 2023-10-06 08:35:58.881 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Intelligent Power Management temperature', 'unique_id': 'grott_MFK0CDV057_pvipmtemperature', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'icon': 'mdi:thermometer', 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>, 'unit_of_measurement': '°C', 'value_template': Template<template=({{ value_json.pvipmtemperature | float / 10 }}) renders=0>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Intelligent Power Management temperature' 2023-10-06 08:35:58.884 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'name': 'MFK0CDV057 Grott last data push', 'unique_id': 'grott_MFK0CDV057_grott_last_push', 'state_topic': 'homeassistant/grott/MFK0CDV057/state', 'device': {'identifiers': ['MFK0CDV057'], 'name': 'MFK0CDV057', 'manufacturer': 'GrowWatt', 'connections': []}, 'value_template': Template, 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>, 'encoding': 'utf-8', 'payload_available': 'online', 'enabled_by_default': True, 'availability_mode': 'latest', 'payload_not_available': 'offline', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Grott last data push' 2023-10-06 08:35:59.338 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L1-2_voltage/config', message: '{'name': 'L1-2_voltage', 'unique_id': 'grott_XGD5BJHARY_L1-2_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L1-2_voltage | float / 10 }}', 'platform': 'mqtt'}' 2023-10-06 08:35:59.348 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L2-3_voltage/config', message: '{'name': 'L2-3_voltage', 'unique_id': 'grott_XGD5BJHARY_L2-3_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L2-3_voltage | float / 10 }}', 'platform': 'mqtt'}' 2023-10-06 08:35:59.376 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L3-1_voltage/config', message: '{'name': 'L3-1_voltage', 'unique_id': 'grott_XGD5BJHARY_L3-1_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L3-1_voltage | float / 10 }}', 'platform': 'mqtt'}' 2023-10-06 08:36:00.563 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'isoformat' when rendering '{{as_timestamp(as_datetime(value).isoformat()) | timestamp_custom('%F %T')}}' 2023-10-06 08:36:11.309 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_voltage_l1 (V) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:36:11.309 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_voltage_l2 (V) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:36:11.309 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_voltage_l3 (V) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:36:11.309 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_current_l1 (A) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:36:11.310 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_current_l2 (A) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:36:11.310 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.xgd5bjhary_current_l3 (A) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2023-10-06 08:37:00.591 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2023-10-06 08:37:10.591789 2023-10-06 08:37:59.735 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration tapo_control which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.769 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.823 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.827 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration grott which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.830 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.832 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.835 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration melcloud_custom which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:37:59.838 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration easee which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-10-06 08:54:49.577 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L1-2_voltage/config', message: '{'name': 'L1-2_voltage', 'unique_id': 'grott_XGD5BJHARY_L1-2_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L1-2_voltage | float / 10 }}', 'platform': 'mqtt'}' 2023-10-06 08:54:49.582 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L2-3_voltage/config', message: '{'name': 'L2-3_voltage', 'unique_id': 'grott_XGD5BJHARY_L2-3_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L2-3_voltage | float / 10 }}', 'platform': 'mqtt'}' 2023-10-06 08:54:49.589 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', got '_voltage') for dictionary value @ data['value_template']' when processing MQTT discovery message topic: 'homeassistant/sensor/grott/XGD5BJHARY_L3-1_voltage/config', message: '{'name': 'L3-1_voltage', 'unique_id': 'grott_XGD5BJHARY_L3-1_voltage', 'state_topic': 'homeassistant/grott/XGD5BJHARY/state', 'device': {'identifiers': ['XGD5BJHARY'], 'name': 'XGD5BJHARY', 'manufacturer': 'GrowWatt'}, 'value_template': '{{ value_json.L3-1_voltage | float / 10 }}', 'platform': 'mqtt'}'

~      SideQuest      ~
~          Sweden AB            ~

Från: Chris @.> Skickat: den 6 oktober 2023 09:11 Till: @.> Kopia: @.>; @.> Ämne: Re: [muppet3000/homeassistant-grott] State of charge for batteries not showing (Issue #49)

Thanks, can you share your grott logs as well please? I'd like to see what data it thinks it's publishing

— Reply to this email directly, view it on GitHubhttps://github.com/muppet3000/homeassistant-grott/issues/49#issuecomment-1750093578, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARSHBC76G7ZMOMOYE6ZQ6VDX56VH7AVCNFSM6AAAAAA5UAIRTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGA4TGNJXHA. You are receiving this because you authored the thread.Message ID: @.***>

sidequest-tomas commented 9 months ago

More info: @.***

~      SideQuest      ~
~          Sweden AB            ~

Från: Chris @.> Skickat: den 6 oktober 2023 09:11 Till: @.> Kopia: @.>; @.> Ämne: Re: [muppet3000/homeassistant-grott] State of charge for batteries not showing (Issue #49)

Thanks, can you share your grott logs as well please? I'd like to see what data it thinks it's publishing

— Reply to this email directly, view it on GitHubhttps://github.com/muppet3000/homeassistant-grott/issues/49#issuecomment-1750093578, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARSHBC76G7ZMOMOYE6ZQ6VDX56VH7AVCNFSM6AAAAAA5UAIRTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGA4TGNJXHA. You are receiving this because you authored the thread.Message ID: @.***>

muppet3000 commented 9 months ago

Those are your home assistant logs. I need the logs from wherever you're running Grott itself, do you run the grott addon? Your logs would look something like this:

                 -  epvtotal             :  15299.5
                 -  epv1today            :  13.6
                 -  epv1total            :  9090.8
                 -  epv2today            :  6.2
                 -  epv2total            :  4747.4
                 -  pvtemperature        :  37.1
                 -  pvipmtemperature     :  35.2
                 -  pvboosttemp          :  34.1
                 -  bat_dsp              :  52.2
                 -  eacharge_today       :  7.1
                 -  eacharge_total       :  5833.4
                 -  batterytype          :  1
                 -  uwsysworkmode        :  6
                 -  systemfaultword0     :  0
                 -  systemfaultword1     :  0
                 -  systemfaultword2     :  0
                 -  systemfaultword3     :  0
                 -  systemfaultword4     :  32
                 -  systemfaultword5     :  0
                 -  systemfaultword6     :  0
                 -  systemfaultword7     :  0
                 -  pdischarge1          :  1200.0
                 -  p1charge1            :  0.0
                 -  vbat                 :  52.0
                 -  SOC                  :  0.4
                 -  pactouserr           :  0.0
                 -  pactousertot         :  0.0
                 -  pactogridr           :  0.0
                 -  pactogridtot         :  0.0
                 -  plocaloadr           :  1200.0
                 -  plocaloadtot         :  1200.0
                 -  spdspstatus          :  0.6
                 -  spbusvolt            :  290.7
                 -  etouser_tod          :  11.6
                 -  etouser_tot          :  13946.8
                 -  etogrid_tod          :  4.0
                 -  etogrid_tot          :  31142.0
                 -  edischarge1_tod      :  11.1
                 -  edischarge1_tot      :  9162.2
                 -  eharge1_tod          :  11.7
                 -  eharge1_tot          :  8359.4
                 -  elocalload_tod       :  26.8
                 -  elocalload_tot       :  429495636.7
         - MQTT jsonmsg:
                         {"device": "NWCPA47006", "time": "2023-10-06T20:45:09", "buffered": "no",
                         "values": {"datalogserial": "NAC3915162", "pvserial": "NWCPA47006",
                         "pvstatus": 6, "pvpowerin": 0, "pv1voltage": 0, "pv1current": 0, "pv1watt":
                         0, "pv2voltage": 0, "pv2current": 0, "pv2watt": 0, "pvpowerout": 9999,
                         "pvfrequentie": 5011, "pvgridvoltage": 2450, "pvgridcurrent": 43,
                         "pvgridpower": 10074, "pvgridvoltage2": 0, "pvgridcurrent2": 0,
                         "pvgridpower2": 0, "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3":
                         0, "totworktime": 149358954, "eactoday": 220, "pvenergytoday": 220,
                         "eactotal": 189860, "epvtotal": 152995, "epv1today": 136, "epv1total":
                         90908, "epv2today": 62, "epv2total": 47474, "pvtemperature": 371,
                         "pvipmtemperature": 352, "pvboosttemp": 341, "bat_dsp": 522,
                         "eacharge_today": 71, "eacharge_total": 58334, "batterytype": 1,
                         "uwsysworkmode": 6, "systemfaultword0": 0, "systemfaultword1": 0,
                         "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 32,
                         "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 0,
                         "pdischarge1": 12000, "p1charge1": 0, "vbat": 520, "SOC": 38, "pactouserr":
                         0, "pactousertot": 0, "pactogridr": 0, "pactogridtot": 0, "plocaloadr":
                         12000, "plocaloadtot": 12000, "spdspstatus": 6, "spbusvolt": 2907,
                         "etouser_tod": 116, "etouser_tot": 139468, "etogrid_tod": 40, "etogrid_tot":
                         311420, "edischarge1_tod": 111, "edischarge1_tot": 91622, "eharge1_tod":
                         117, "eharge1_tot": 83594, "elocalload_tod": 268, "elocalload_tot":
                         4294956367}}
         - Grott MQTT topic used : energy/growatt
         - MQTT message message sent
         - Grott Send data to PVOutput disabled
         - Grott Send data to Influx disabled
         - Grott extension processing started :  grotcsv
         - Grott extension module entered
csvfile:  /tmp/grottlog/2023-minute/20231006.csv
csvheader:  device,time,datalogserial,pvserial,pvstatus,pvpowerin,pv1voltage,pv1current,pv1watt,pv2voltage,pv2current,pv2watt,pvpowerout,pvfrequentie,pvgridvoltage,pvgridcurrent,pvgridpower,pvgridvoltage2,pvgridcurrent2,pvgridpower2,pvgridvoltage3,pvgridcurrent3,pvgridpower3,totworktime,eactoday,pvenergytoday,eactotal,epvtotal,epv1today,epv1total,epv2today,epv2total,pvtemperature,pvipmtemperature,pvboosttemp,bat_dsp,eacharge_today,eacharge_total,batterytype,uwsysworkmode,systemfaultword0,systemfaultword1,systemfaultword2,systemfaultword3,systemfaultword4,systemfaultword5,systemfaultword6,systemfaultword7,pdischarge1,p1charge1,vbat,SOC,pactouserr,pactousertot,pactogridr,pactogridtot,plocaloadr,plocaloadtot,spdspstatus,spbusvolt,etouser_tod,etouser_tot,etogrid_tod,etogrid_tot,edischarge1_tod,edischarge1_tot,eharge1_tod,eharge1_tot,elocalload_tod,elocalload_tot
csvline:  NWCPA47006,2023-10-06T20:45:09,NAC3915162,NWCPA47006,6,0.0,0.0,0.0,0.0,0.0,0.0,0.0,999.9,50.11,245.0,4.3,1007.4,0.0,0.0,0.0,0.0,0.0,0.0,20744.3,22.0,22.0,18986.0,15299.5,13.6,9090.8,6.2,4747.4,37.1,35.2,34.1,52.2,7.1,5833.4,1,6,0,0,0,0,32,0,0,0,1200.0,0.0,52.0,0.38,0.0,0.0,0.0,0.0,1200.0,1200.0,0.6,290.7,11.6,13946.8,4.0,31142.0,11.1,9162.2,11.7,8359.4,26.8,429495636.7

         - Grott extension processing ended :  0

         - Growatt packet received:
                  <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.0.16', 5279), raddr=('192.168.1.34', 1031)>
         - Data less then minimum record length, data not processed
julianjosias commented 8 months ago

Hi Muppet, I am slowly getting there but I have the same issue as tomas. No battery state. Please see my Grott logs. I have two SPF 5000 ES inverters

      <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 38104), raddr=('47.91.67.66', 5279)>
 - Growatt original Data:
     \x01\x2c\x00\x06\x01\x5f\x01\x04\x03\x36\x2b\x47\x22\x3c\x30\x77\x45\x2d\x77
     \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
     \x3d\x3c\x26\x4c\x37\x00\x23\x5f\x46\x52\x74\x74\x47\x72\x6f\x77\x61\x74\x74
     \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x76\x7e\x7c\x54\x74\x58\x74\x61
     \x74\x74\x6b\x72\x64\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
     \x77\x61\x74\x74\x4c\x32\x6f\x77\x6c\xd8\x74\x47\x72\x6f\x77\x61\x74\x74\x53
     \x2a\x6f\x69\x71\xf1\x7d\x05\x61\xef\x7e\x23\x67\xf6\x47\x72\x6f\xae\x61\x95
     \x74\x7e\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\xb9\x61\x88\x74\x4b\x72\x6d\x77
     \x61\x78\x44\x47\x72\x63\x7e\x61\x74\x74\x47\x72\x6f\x77\x61\x3a\xfd\x47\x5f
     \x6f\x2e\x68\xde\x74\x47\x72\x6f\x77\x61\x74\x03\x47\x72\x26\xde\x61\x74\x74
     \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x67\xce\x74\x47\x72\x5c\x77\x61
     \x78\xd6\x47\x72\x6f\x6a\x61\x74\x28\x35\x72\x6f\x77\x61\x7a\xce\x47\x72\x7e
     \x6b\x61\x74\x74\x47\x72\x6f\x77\x61\x8b\x8b\xb8\xee\x6f\x77\x61\x74\x74\x47
     \x72\x74\x77\x60\x74\x74\x47\x72\x6f\xf3\x61\x74\x78\x97\x72\x6f\x77\x3b\x74
     \xf2\x47\x75\x6f\x76\x31\x7c\x7d\x05\x61\xe8\x73\xab\x72\xe8\x47\x72\x6f\x39
     \x72\xf8\x74\x57\x72\x6e\x77\x60\x74\x74\x47\x77\x6f\xcb\x61\xda\x74\xea\x8d
     \x90\x7b\xa0\x78\xb5\x4b\xb0\x63\xd8\x6d\xc6\x78\xf6\x7e\xc8\x7b\xcd\x78\xdd
     \x4b\xd4\x63\xd9\x6d\xd8\x78\xec\x7e\xdc\x7b\xce\x74\x74\x47\x72\x6f\x77\x61
     \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\xe8\xb5
 - Grott automatic protocol detection
 - Grott data record length 359
 - layout   :  T060104
 - no matching record layout found, try generic
 - Record layout used :  T06NNNN
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
     012c0006015f01044444443043484430374200000000000000000000000000000000000000005
     24b47384347513031330000000000000000000000000000000000000000170a08130637030000
     002c000b0000000000000000000000000000000000000b4000000dac000000000000000014580
     01e10850942138009421382000000d900e10039000000000000000000ce00fc000c000200000c
     3000000c0900000000000000004e89002d005909aa0000000000000077000049a900000000000
     0000000000000000006ba0000003300000ca20000001d00005c72000000000eba0000111c0000
     000000000000ffffff9c000000000000001b000100000000008400000cd00000005a008600070
     00150080942138704ca069c0000004e138c0010000100010000000500bc00ae00adffff0cc10c
     c10cc20caf0cb20cb10ca70cac0ca90ca60cae0cac0cab0cb30caf00000000000000000000000
     0000000000000000000009cf2
 - Possible Inverter serial RKG8CGQ013
 - Inverter serial not recognised - using inverter type default
 - Growatt new layout processing
     - decrypt       :  True
     - offset        :  6
     - record layout :  T06NNNN
 - Grott data record date/time processing started
 - date-time:  2023-10-08T19:06:55
 - Grott values retrieved:
     -  datalogserial        :  DDD0CHD07B
     -  pvserial             :  RKG8CGQ013
     -  pvstatus             :  11
     -  pvpowerin            :  0.0
     -  pv1voltage           :  0.0
     -  pv1current           :  0.0
     -  pv1watt              :  0.0
     -  pv2voltage           :  0.0
     -  pv2current           :  0.0
     -  pv2watt              :  288.0
     -  pvpowerout           :  350.0
     -  pvfrequentie         :  0.0
     -  pvgridvoltage        :  0.0
     -  pvgridcurrent        :  0.0
     -  pvgridpower          :  520.8
     -  pvgridvoltage2       :  3.0
     -  pvgridcurrent2       :  422.9
     -  pvgridpower2         :  15532531.2
     -  pvgridvoltage3       :  237.0
     -  pvgridcurrent3       :  499.4
     -  pvgridpower3         :  21.7
     -  pvenergytoday        :  1474565.7
     -  pvenergytotal        :  0.0
     -  totworktime          :  0.0
     -  pvtemperature        :  20.6
     -  pvipmtemperature     :  0.0
     -  epv1today            :  11.9
     -  epv1total            :  1885.7
     -  epv2today            :  0.0
     -  epv2total            :  0.0
     -  epvtotal             :  0.0
 - MQTT jsonmsg: 
         {"device": "RKG8CGQ013", "time": "2023-10-08T19:06:55", "buffered": "no",
         "values": {"datalogserial": "DDD0CHD07B", "pvserial": "RKG8CGQ013",
         "pvstatus": 11, "pvpowerin": 0, "pv1voltage": 0, "pv1current": 0, "pv1watt":
         0, "pv2voltage": 0, "pv2current": 0, "pv2watt": 2880, "pvpowerout": 3500,
         "pvfrequentie": 0, "pvgridvoltage": 0, "pvgridcurrent": 0, "pvgridpower":
         5208, "pvgridvoltage2": 30, "pvgridcurrent2": 4229, "pvgridpower2":
         155325312, "pvgridvoltage3": 2370, "pvgridcurrent3": 4994, "pvgridpower3":
         217, "pvenergytoday": 14745657, "pvenergytotal": 0, "totworktime": 0,
         "pvtemperature": 206, "pvipmtemperature": 0, "epv1today": 119, "epv1total":
         18857, "epv2today": 0, "epv2total": 0, "epvtotal": 0}}
 - Grott MQTT topic used : energy/growatt
 - MQTT message message sent
 - Grott Send data to PVOutput disabled 
 - Grott Send data to Influx disabled 
 - Grott extension processing disabled 
 - Growatt packet received:
      <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 34321)>
 - Data less then minimum record length, data not processed
muppet3000 commented 8 months ago

Hi Muppet, I am slowly getting there but I have the same issue as tomas. No battery state. Please see my Grott logs. I have two SPF 5000 ES inverters

    <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 38104), raddr=('47.91.67.66', 5279)>
  • Growatt original Data: \x01\x2c\x00\x06\x01\x5f\x01\x04\x03\x36\x2b\x47\x22\x3c\x30\x77\x45\x2d\x77 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72 \x3d\x3c\x26\x4c\x37\x00\x23\x5f\x46\x52\x74\x74\x47\x72\x6f\x77\x61\x74\x74 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x76\x7e\x7c\x54\x74\x58\x74\x61 \x74\x74\x6b\x72\x64\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f \x77\x61\x74\x74\x4c\x32\x6f\x77\x6c\xd8\x74\x47\x72\x6f\x77\x61\x74\x74\x53 \x2a\x6f\x69\x71\xf1\x7d\x05\x61\xef\x7e\x23\x67\xf6\x47\x72\x6f\xae\x61\x95 \x74\x7e\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\xb9\x61\x88\x74\x4b\x72\x6d\x77 \x61\x78\x44\x47\x72\x63\x7e\x61\x74\x74\x47\x72\x6f\x77\x61\x3a\xfd\x47\x5f \x6f\x2e\x68\xde\x74\x47\x72\x6f\x77\x61\x74\x03\x47\x72\x26\xde\x61\x74\x74 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x67\xce\x74\x47\x72\x5c\x77\x61 \x78\xd6\x47\x72\x6f\x6a\x61\x74\x28\x35\x72\x6f\x77\x61\x7a\xce\x47\x72\x7e \x6b\x61\x74\x74\x47\x72\x6f\x77\x61\x8b\x8b\xb8\xee\x6f\x77\x61\x74\x74\x47 \x72\x74\x77\x60\x74\x74\x47\x72\x6f\xf3\x61\x74\x78\x97\x72\x6f\x77\x3b\x74 \xf2\x47\x75\x6f\x76\x31\x7c\x7d\x05\x61\xe8\x73\xab\x72\xe8\x47\x72\x6f\x39 \x72\xf8\x74\x57\x72\x6e\x77\x60\x74\x74\x47\x77\x6f\xcb\x61\xda\x74\xea\x8d \x90\x7b\xa0\x78\xb5\x4b\xb0\x63\xd8\x6d\xc6\x78\xf6\x7e\xc8\x7b\xcd\x78\xdd \x4b\xd4\x63\xd9\x6d\xd8\x78\xec\x7e\xdc\x7b\xce\x74\x74\x47\x72\x6f\x77\x61 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\xe8\xb5
  • Grott automatic protocol detection
  • Grott data record length 359
  • layout : T060104
  • no matching record layout found, try generic
  • Record layout used : T06NNNN
  • Growatt data decrypted V2
  • Grott Growatt data decrypted
  • Growatt plain data: 012c0006015f01044444443043484430374200000000000000000000000000000000000000005 24b47384347513031330000000000000000000000000000000000000000170a08130637030000 002c000b0000000000000000000000000000000000000b4000000dac000000000000000014580 01e10850942138009421382000000d900e10039000000000000000000ce00fc000c000200000c 3000000c0900000000000000004e89002d005909aa0000000000000077000049a900000000000 0000000000000000006ba0000003300000ca20000001d00005c72000000000eba0000111c0000 000000000000ffffff9c000000000000001b000100000000008400000cd00000005a008600070 00150080942138704ca069c0000004e138c0010000100010000000500bc00ae00adffff0cc10c c10cc20caf0cb20cb10ca70cac0ca90ca60cae0cac0cab0cb30caf00000000000000000000000 0000000000000000000009cf2
  • Possible Inverter serial RKG8CGQ013
  • Inverter serial not recognised - using inverter type default
  • Growatt new layout processing
    • decrypt : True
    • offset : 6
    • record layout : T06NNNN
  • Grott data record date/time processing started
  • date-time: 2023-10-08T19:06:55
  • Grott values retrieved:
    • datalogserial : DDD0CHD07B
    • pvserial : RKG8CGQ013
    • pvstatus : 11
    • pvpowerin : 0.0
    • pv1voltage : 0.0
    • pv1current : 0.0
    • pv1watt : 0.0
    • pv2voltage : 0.0
    • pv2current : 0.0
    • pv2watt : 288.0
    • pvpowerout : 350.0
    • pvfrequentie : 0.0
    • pvgridvoltage : 0.0
    • pvgridcurrent : 0.0
    • pvgridpower : 520.8
    • pvgridvoltage2 : 3.0
    • pvgridcurrent2 : 422.9
    • pvgridpower2 : 15532531.2
    • pvgridvoltage3 : 237.0
    • pvgridcurrent3 : 499.4
    • pvgridpower3 : 21.7
    • pvenergytoday : 1474565.7
    • pvenergytotal : 0.0
    • totworktime : 0.0
    • pvtemperature : 20.6
    • pvipmtemperature : 0.0
    • epv1today : 11.9
    • epv1total : 1885.7
    • epv2today : 0.0
    • epv2total : 0.0
    • epvtotal : 0.0
  • MQTT jsonmsg: {"device": "RKG8CGQ013", "time": "2023-10-08T19:06:55", "buffered": "no", "values": {"datalogserial": "DDD0CHD07B", "pvserial": "RKG8CGQ013", "pvstatus": 11, "pvpowerin": 0, "pv1voltage": 0, "pv1current": 0, "pv1watt": 0, "pv2voltage": 0, "pv2current": 0, "pv2watt": 2880, "pvpowerout": 3500, "pvfrequentie": 0, "pvgridvoltage": 0, "pvgridcurrent": 0, "pvgridpower": 5208, "pvgridvoltage2": 30, "pvgridcurrent2": 4229, "pvgridpower2": 155325312, "pvgridvoltage3": 2370, "pvgridcurrent3": 4994, "pvgridpower3": 217, "pvenergytoday": 14745657, "pvenergytotal": 0, "totworktime": 0, "pvtemperature": 206, "pvipmtemperature": 0, "epv1today": 119, "epv1total": 18857, "epv2today": 0, "epv2total": 0, "epvtotal": 0}}
  • Grott MQTT topic used : energy/growatt
  • MQTT message message sent
  • Grott Send data to PVOutput disabled
  • Grott Send data to Influx disabled
  • Grott extension processing disabled
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 34321)>
  • Data less then minimum record length, data not processed

You need to specific your invtype as sph in your grott.ini file that should make the battery info (and loads of other stuff) appear.

julianjosias commented 8 months ago

If I change it to spf in the grott.ini I only get 8 sensors per datalogger. here is the logs.

     -  Inv_Curr             :  0.1
     -  AC_InWatt            :  276.0
     -  AC_InVA              :  262.1
     -  faultBit             :  0
     -  warningBit           :  0
     -  faultValue           :  0
     -  warningValue         :  0
     -  constantPowerOK      :  2440
     -  epvtoday             :  12.4
     -  pvenergytoday        :  12.4
     -  epvtotal             :  395.6
     -  eacCharToday         :  0.0
     -  eacCharTotal         :  247.7
     -  ebatDischarToday     :  4.8
     -  ebatDischarTotal     :  771.7
     -  eacDischarToday      :  2.9
     -  eacDischarTotal      :  1977.2
     -  ACCharCurr           :  0.0
     -  ACDischarWatt        :  279.0
     -  ACDischarVA          :  319.0
     -  BatDischarWatt       :  0.0
     -  BatDischarVA         :  0.0
     -  BatWatt              :  -20.0
 - MQTT jsonmsg: 
         {"device": "RKG8CGQ0LR", "time": "2023-10-08T19:55:52", "buffered": "no",
         "values": {"datalogserial": "DDD0CHD1MJ", "pvserial": "RKG8CGQ0LR",
         "pvstatus": 11, "vpv1": 0, "vpv2": 0, "ppv1": 0, "ppv2": 0, "buck1curr": 0,
         "buck2curr": 0, "op_watt": 2840, "pvpowerout": 2840, "op_va": 867840,
         "acchr_watt": 0, "acchr_VA": 0, "bat_Volt": 5208, "batterySoc": 29,
         "bus_volt": 4374, "grid_volt": 2383, "line_freq": 4992, "outputvolt": 2383,
         "pvgridvoltage": 2383, "outputfreq": 4996, "invtemp": 221, "dcdctemp": 222,
         "loadpercent": 56, "buck1_ntc": 206, "buck2_ntc": 248, "OP_Curr": 11,
         "Inv_Curr": 1, "AC_InWatt": 2760, "AC_InVA": 2621, "faultBit": 0,
         "warningBit": 0, "faultValue": 0, "warningValue": 0, "constantPowerOK":
         2440, "epvtoday": 124, "pvenergytoday": 124, "epvtotal": 3956,
         "eacCharToday": 0, "eacCharTotal": 2477, "ebatDischarToday": 48,
         "ebatDischarTotal": 7717, "eacDischarToday": 29, "eacDischarTotal": 19772,
         "ACCharCurr": 0, "ACDischarWatt": 2790, "ACDischarVA": 3190,
         "BatDischarWatt": 0, "BatDischarVA": 0, "BatWatt": -200}}
 - Grott MQTT topic used : energy/growatt
 - MQTT message message sent
 - Grott Send data to PVOutput disabled 
 - Grott Send data to Influx disabled 
 - Grott extension processing disabled 
 - Growatt packet received:
      <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
 - Data less then minimum record length, data not processed
 - Growatt packet received:
      <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
 - Data less then minimum record length, data not processed
muppet3000 commented 8 months ago

If I change it to spf in the grott.ini I only get 8 sensors per datalogger. here is the logs.

   -  Inv_Curr             :  0.1
   -  AC_InWatt            :  276.0
   -  AC_InVA              :  262.1
   -  faultBit             :  0
   -  warningBit           :  0
   -  faultValue           :  0
   -  warningValue         :  0
   -  constantPowerOK      :  2440
   -  epvtoday             :  12.4
   -  pvenergytoday        :  12.4
   -  epvtotal             :  395.6
   -  eacCharToday         :  0.0
   -  eacCharTotal         :  247.7
   -  ebatDischarToday     :  4.8
   -  ebatDischarTotal     :  771.7
   -  eacDischarToday      :  2.9
   -  eacDischarTotal      :  1977.2
   -  ACCharCurr           :  0.0
   -  ACDischarWatt        :  279.0
   -  ACDischarVA          :  319.0
   -  BatDischarWatt       :  0.0
   -  BatDischarVA         :  0.0
   -  BatWatt              :  -20.0
  • MQTT jsonmsg: {"device": "RKG8CGQ0LR", "time": "2023-10-08T19:55:52", "buffered": "no", "values": {"datalogserial": "DDD0CHD1MJ", "pvserial": "RKG8CGQ0LR", "pvstatus": 11, "vpv1": 0, "vpv2": 0, "ppv1": 0, "ppv2": 0, "buck1curr": 0, "buck2curr": 0, "op_watt": 2840, "pvpowerout": 2840, "op_va": 867840, "acchr_watt": 0, "acchr_VA": 0, "bat_Volt": 5208, "batterySoc": 29, "bus_volt": 4374, "grid_volt": 2383, "line_freq": 4992, "outputvolt": 2383, "pvgridvoltage": 2383, "outputfreq": 4996, "invtemp": 221, "dcdctemp": 222, "loadpercent": 56, "buck1_ntc": 206, "buck2_ntc": 248, "OP_Curr": 11, "Inv_Curr": 1, "AC_InWatt": 2760, "AC_InVA": 2621, "faultBit": 0, "warningBit": 0, "faultValue": 0, "warningValue": 0, "constantPowerOK": 2440, "epvtoday": 124, "pvenergytoday": 124, "epvtotal": 3956, "eacCharToday": 0, "eacCharTotal": 2477, "ebatDischarToday": 48, "ebatDischarTotal": 7717, "eacDischarToday": 29, "eacDischarTotal": 19772, "ACCharCurr": 0, "ACDischarWatt": 2790, "ACDischarVA": 3190, "BatDischarWatt": 0, "BatDischarVA": 0, "BatWatt": -200}}
  • Grott MQTT topic used : energy/growatt
  • MQTT message message sent
  • Grott Send data to PVOutput disabled
  • Grott Send data to Influx disabled
  • Grott extension processing disabled
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed

Ok it looks like your Grott values aren't yet supported by my integration, the output you provided above though is perfect as I can add those mappings in when I'm next working on the integration. It's strange because I have an SPH inverter myself and all the values appear without problems. I assume it's because yours is a 5000 and mine is a 6000 so the mappings are slightly different. Bear with me and I'll try and add them in over the next few days.

julianjosias commented 8 months ago

Legend thanks muppet. beers coming your way!

muppet3000 commented 8 months ago

Legend thanks muppet. beers coming your way!

Don't go issuing beers until I've come through on my promise! 😜

julianjosias commented 8 months ago

You get 50% now and the final payment once the task has been completed 😆

julianjosias commented 8 months ago

If I change it to spf in the grott.ini I only get 8 sensors per datalogger. here is the logs.

   -  Inv_Curr             :  0.1
   -  AC_InWatt            :  276.0
   -  AC_InVA              :  262.1
   -  faultBit             :  0
   -  warningBit           :  0
   -  faultValue           :  0
   -  warningValue         :  0
   -  constantPowerOK      :  2440
   -  epvtoday             :  12.4
   -  pvenergytoday        :  12.4
   -  epvtotal             :  395.6
   -  eacCharToday         :  0.0
   -  eacCharTotal         :  247.7
   -  ebatDischarToday     :  4.8
   -  ebatDischarTotal     :  771.7
   -  eacDischarToday      :  2.9
   -  eacDischarTotal      :  1977.2
   -  ACCharCurr           :  0.0
   -  ACDischarWatt        :  279.0
   -  ACDischarVA          :  319.0
   -  BatDischarWatt       :  0.0
   -  BatDischarVA         :  0.0
   -  BatWatt              :  -20.0
  • MQTT jsonmsg: {"device": "RKG8CGQ0LR", "time": "2023-10-08T19:55:52", "buffered": "no", "values": {"datalogserial": "DDD0CHD1MJ", "pvserial": "RKG8CGQ0LR", "pvstatus": 11, "vpv1": 0, "vpv2": 0, "ppv1": 0, "ppv2": 0, "buck1curr": 0, "buck2curr": 0, "op_watt": 2840, "pvpowerout": 2840, "op_va": 867840, "acchr_watt": 0, "acchr_VA": 0, "bat_Volt": 5208, "batterySoc": 29, "bus_volt": 4374, "grid_volt": 2383, "line_freq": 4992, "outputvolt": 2383, "pvgridvoltage": 2383, "outputfreq": 4996, "invtemp": 221, "dcdctemp": 222, "loadpercent": 56, "buck1_ntc": 206, "buck2_ntc": 248, "OP_Curr": 11, "Inv_Curr": 1, "AC_InWatt": 2760, "AC_InVA": 2621, "faultBit": 0, "warningBit": 0, "faultValue": 0, "warningValue": 0, "constantPowerOK": 2440, "epvtoday": 124, "pvenergytoday": 124, "epvtotal": 3956, "eacCharToday": 0, "eacCharTotal": 2477, "ebatDischarToday": 48, "ebatDischarTotal": 7717, "eacDischarToday": 29, "eacDischarTotal": 19772, "ACCharCurr": 0, "ACDischarWatt": 2790, "ACDischarVA": 3190, "BatDischarWatt": 0, "BatDischarVA": 0, "BatWatt": -200}}
  • Grott MQTT topic used : energy/growatt
  • MQTT message message sent
  • Grott Send data to PVOutput disabled
  • Grott Send data to Influx disabled
  • Grott extension processing disabled
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed

Ok it looks like your Grott values aren't yet supported by my integration, the output you provided above though is perfect as I can add those mappings in when I'm next working on the integration. It's strange because I have an SPH inverter myself and all the values appear without problems. I assume it's because yours is a 5000 and mine is a 6000 so the mappings are slightly different. Bear with me and I'll try and add them in over the next few days.

Also just to clarify it is an spf inverter not SPH as mentioned above

muppet3000 commented 8 months ago

If I change it to spf in the grott.ini I only get 8 sensors per datalogger. here is the logs.

   -  Inv_Curr             :  0.1
   -  AC_InWatt            :  276.0
   -  AC_InVA              :  262.1
   -  faultBit             :  0
   -  warningBit           :  0
   -  faultValue           :  0
   -  warningValue         :  0
   -  constantPowerOK      :  2440
   -  epvtoday             :  12.4
   -  pvenergytoday        :  12.4
   -  epvtotal             :  395.6
   -  eacCharToday         :  0.0
   -  eacCharTotal         :  247.7
   -  ebatDischarToday     :  4.8
   -  ebatDischarTotal     :  771.7
   -  eacDischarToday      :  2.9
   -  eacDischarTotal      :  1977.2
   -  ACCharCurr           :  0.0
   -  ACDischarWatt        :  279.0
   -  ACDischarVA          :  319.0
   -  BatDischarWatt       :  0.0
   -  BatDischarVA         :  0.0
   -  BatWatt              :  -20.0
  • MQTT jsonmsg: {"device": "RKG8CGQ0LR", "time": "2023-10-08T19:55:52", "buffered": "no", "values": {"datalogserial": "DDD0CHD1MJ", "pvserial": "RKG8CGQ0LR", "pvstatus": 11, "vpv1": 0, "vpv2": 0, "ppv1": 0, "ppv2": 0, "buck1curr": 0, "buck2curr": 0, "op_watt": 2840, "pvpowerout": 2840, "op_va": 867840, "acchr_watt": 0, "acchr_VA": 0, "bat_Volt": 5208, "batterySoc": 29, "bus_volt": 4374, "grid_volt": 2383, "line_freq": 4992, "outputvolt": 2383, "pvgridvoltage": 2383, "outputfreq": 4996, "invtemp": 221, "dcdctemp": 222, "loadpercent": 56, "buck1_ntc": 206, "buck2_ntc": 248, "OP_Curr": 11, "Inv_Curr": 1, "AC_InWatt": 2760, "AC_InVA": 2621, "faultBit": 0, "warningBit": 0, "faultValue": 0, "warningValue": 0, "constantPowerOK": 2440, "epvtoday": 124, "pvenergytoday": 124, "epvtotal": 3956, "eacCharToday": 0, "eacCharTotal": 2477, "ebatDischarToday": 48, "ebatDischarTotal": 7717, "eacDischarToday": 29, "eacDischarTotal": 19772, "ACCharCurr": 0, "ACDischarWatt": 2790, "ACDischarVA": 3190, "BatDischarWatt": 0, "BatDischarVA": 0, "BatWatt": -200}}
  • Grott MQTT topic used : energy/growatt
  • MQTT message message sent
  • Grott Send data to PVOutput disabled
  • Grott Send data to Influx disabled
  • Grott extension processing disabled
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.0', 52836), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=6, family=2, type=1, proto=0, laddr=('172.30.33.0', 52848), raddr=('47.91.67.66', 5279)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=5, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.9', 1195)>
  • Data less then minimum record length, data not processed
  • Growatt packet received: <socket.socket fd=7, family=2, type=1, proto=0, laddr=('172.30.33.0', 5279), raddr=('192.168.1.15', 4987)>
  • Data less then minimum record length, data not processed

Ok it looks like your Grott values aren't yet supported by my integration, the output you provided above though is perfect as I can add those mappings in when I'm next working on the integration. It's strange because I have an SPH inverter myself and all the values appear without problems. I assume it's because yours is a 5000 and mine is a 6000 so the mappings are slightly different. Bear with me and I'll try and add them in over the next few days.

Also just to clarify it is an spf inverter not SPH as mentioned above

Ok that makes more sense, so the logs you provided above was when the config setting was spf right? I don't think I've added any of those values yet because you're possibly the first person to try it. Perfect, leave it with me, I'll need some feedback on accuracy of mapping when I've done it.

julianjosias commented 8 months ago

Correct. Thanks muppet ill be happy to give feedback.

sidequest-tomas commented 8 months ago

Sorry, attached logs for Grott 😊

~      SideQuest      ~
~          Sweden AB            ~

Från: Chris @.> Skickat: den 6 oktober 2023 21:45 Till: @.> Kopia: @.>; @.> Ämne: Re: [muppet3000/homeassistant-grott] State of charge for batteries not showing (Issue #49)

Those are your home assistant logs. I need the logs from wherever you're running Grott itself, do you run the grott addon? Your logs would look something like this:

             -  epvtotal             :  15299.5

             -  epv1today            :  13.6

             -  epv1total            :  9090.8

             -  epv2today            :  6.2

             -  epv2total            :  4747.4

             -  pvtemperature        :  37.1

             -  pvipmtemperature     :  35.2

             -  pvboosttemp          :  34.1

             -  bat_dsp              :  52.2

             -  eacharge_today       :  7.1

             -  eacharge_total       :  5833.4

             -  batterytype          :  1

             -  uwsysworkmode        :  6

             -  systemfaultword0     :  0

             -  systemfaultword1     :  0

             -  systemfaultword2     :  0

             -  systemfaultword3     :  0

             -  systemfaultword4     :  32

             -  systemfaultword5     :  0

             -  systemfaultword6     :  0

             -  systemfaultword7     :  0

             -  pdischarge1          :  1200.0

             -  p1charge1            :  0.0

             -  vbat                 :  52.0

             -  SOC                  :  0.4

             -  pactouserr           :  0.0

             -  pactousertot         :  0.0

             -  pactogridr           :  0.0

             -  pactogridtot         :  0.0

             -  plocaloadr           :  1200.0

             -  plocaloadtot         :  1200.0

             -  spdspstatus          :  0.6

             -  spbusvolt            :  290.7

             -  etouser_tod          :  11.6

             -  etouser_tot          :  13946.8

             -  etogrid_tod          :  4.0

             -  etogrid_tot          :  31142.0

             -  edischarge1_tod      :  11.1

             -  edischarge1_tot      :  9162.2

             -  eharge1_tod          :  11.7

             -  eharge1_tot          :  8359.4

             -  elocalload_tod       :  26.8

             -  elocalload_tot       :  429495636.7

     - MQTT jsonmsg:

                     {"device": "NWCPA47006", "time": "2023-10-06T20:45:09", "buffered": "no",

                     "values": {"datalogserial": "NAC3915162", "pvserial": "NWCPA47006",

                     "pvstatus": 6, "pvpowerin": 0, "pv1voltage": 0, "pv1current": 0, "pv1watt":

                     0, "pv2voltage": 0, "pv2current": 0, "pv2watt": 0, "pvpowerout": 9999,

                     "pvfrequentie": 5011, "pvgridvoltage": 2450, "pvgridcurrent": 43,

                     "pvgridpower": 10074, "pvgridvoltage2": 0, "pvgridcurrent2": 0,

                     "pvgridpower2": 0, "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3":

                     0, "totworktime": 149358954, "eactoday": 220, "pvenergytoday": 220,

                     "eactotal": 189860, "epvtotal": 152995, "epv1today": 136, "epv1total":

                     90908, "epv2today": 62, "epv2total": 47474, "pvtemperature": 371,

                     "pvipmtemperature": 352, "pvboosttemp": 341, "bat_dsp": 522,

                     "eacharge_today": 71, "eacharge_total": 58334, "batterytype": 1,

                     "uwsysworkmode": 6, "systemfaultword0": 0, "systemfaultword1": 0,

                     "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 32,

                     "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 0,

                     "pdischarge1": 12000, "p1charge1": 0, "vbat": 520, "SOC": 38, "pactouserr":

                     0, "pactousertot": 0, "pactogridr": 0, "pactogridtot": 0, "plocaloadr":

                     12000, "plocaloadtot": 12000, "spdspstatus": 6, "spbusvolt": 2907,

                     "etouser_tod": 116, "etouser_tot": 139468, "etogrid_tod": 40, "etogrid_tot":

                     311420, "edischarge1_tod": 111, "edischarge1_tot": 91622, "eharge1_tod":

                     117, "eharge1_tot": 83594, "elocalload_tod": 268, "elocalload_tot":

                     4294956367}}

     - Grott MQTT topic used : energy/growatt

     - MQTT message message sent

     - Grott Send data to PVOutput disabled

     - Grott Send data to Influx disabled

     - Grott extension processing started :  grotcsv

     - Grott extension module entered

csvfile: /tmp/grottlog/2023-minute/20231006.csv

csvheader: device,time,datalogserial,pvserial,pvstatus,pvpowerin,pv1voltage,pv1current,pv1watt,pv2voltage,pv2current,pv2watt,pvpowerout,pvfrequentie,pvgridvoltage,pvgridcurrent,pvgridpower,pvgridvoltage2,pvgridcurrent2,pvgridpower2,pvgridvoltage3,pvgridcurrent3,pvgridpower3,totworktime,eactoday,pvenergytoday,eactotal,epvtotal,epv1today,epv1total,epv2today,epv2total,pvtemperature,pvipmtemperature,pvboosttemp,bat_dsp,eacharge_today,eacharge_total,batterytype,uwsysworkmode,systemfaultword0,systemfaultword1,systemfaultword2,systemfaultword3,systemfaultword4,systemfaultword5,systemfaultword6,systemfaultword7,pdischarge1,p1charge1,vbat,SOC,pactouserr,pactousertot,pactogridr,pactogridtot,plocaloadr,plocaloadtot,spdspstatus,spbusvolt,etouser_tod,etouser_tot,etogrid_tod,etogrid_tot,edischarge1_tod,edischarge1_tot,eharge1_tod,eharge1_tot,elocalload_tod,elocalload_tot

csvline: NWCPA47006,2023-10-06T20:45:09,NAC3915162,NWCPA47006,6,0.0,0.0,0.0,0.0,0.0,0.0,0.0,999.9,50.11,245.0,4.3,1007.4,0.0,0.0,0.0,0.0,0.0,0.0,20744.3,22.0,22.0,18986.0,15299.5,13.6,9090.8,6.2,4747.4,37.1,35.2,34.1,52.2,7.1,5833.4,1,6,0,0,0,0,32,0,0,0,1200.0,0.0,52.0,0.38,0.0,0.0,0.0,0.0,1200.0,1200.0,0.6,290.7,11.6,13946.8,4.0,31142.0,11.1,9162.2,11.7,8359.4,26.8,429495636.7

     - Grott extension processing ended :  0

     - Growatt packet received:

              <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.0.16', 5279), raddr=('192.168.1.34', 1031)>

     - Data less then minimum record length, data not processed

— Reply to this email directly, view it on GitHubhttps://github.com/muppet3000/homeassistant-grott/issues/49#issuecomment-1751325477, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARSHBC6OCRPEQXENZI36JWLX6BNWZAVCNFSM6AAAAAA5UAIRTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGMZDKNBXG4. You are receiving this because you authored the thread.Message ID: @.***>

muppet3000 commented 8 months ago

@julianjosias - Time for that first bit of help.......

I've taken the logs you provided above and had a go at assigning them names etc. I've listed them below, I'm going to start mapping the ones through that are 'obviously' correct. But for those that have question marks on, could you please take a look and compare them to values you get in your growatt dashboard/app and confirm if I've made the correct suggestions. If any of them are wrong I can easily change them, it's just easier to get the feedback now rather than later.

Note (hopefully and obvious one) the values below are from your capture the other day and therefore won't be the same as what you see in Growatt dashboards now.

"datalogserial": "DDD0CHD1MJ", - Already Mapped
"pvserial": "RKG8CGQ0LR", - Already Mapped
"pvstatus": 11, - Already Mapped
"vpv1": 0, - PV1 Voltage (Volt)
"vpv2": 0, - PV2 Voltage (Volt)
"ppv1": 0, - PV1 Power (Watt)
"ppv2": 0, - PV2 Power (Watt)
"buck1curr": 0, - ????
"buck2curr": 0, - ????
"op_watt": 2840, - ????
"pvpowerout": 2840, - Already Mapped as 'Output Power'
"op_va": 867840, - ????
"acchr_watt": 0, - Battery AC Charge Power (Watt)
"acchr_VA": 0, - Battery AC Charge Voltage (Volt)
"bat_Volt": 5208, - Battery Voltage (Volt)
"batterySoc": 29, - State of Charge (Percentage)
"bus_volt": 4374, - Bus Voltage (Volt)
"grid_volt": 2383, - Grid Voltage (Volt)
"line_freq": 4992, - Line Frequency (Hertz)
"outputvolt": 2383, - Inverter Output Voltage (Volt)
"pvgridvoltage": 2383, - Already Mapped as 'Inverter Output Voltage (Single/First Phase)'
"outputfreq": 4996, - Output Frequency (Hertz)
"invtemp": 221, - Inverter Temperature (Celsius)
"dcdctemp": 222, - DC Temperature (Celsius)
"loadpercent": 56, - ????
"buck1_ntc": 206, - ????
"buck2_ntc": 248, - ????
"OP_Curr": 11, - ????
"Inv_Curr": 1, - ????
"AC_InWatt": 2760, - Load Consumption Power (Watt) - Unsure about this - TODO
"AC_InVA": 2621, - Load Consumption Voltage (Volt) - Unsure about this - TODO
"faultBit": 0, - Fault Bit (number) - TODO
"warningBit": 0, - Warning Bit (number) - TODO
"faultValue": 0, - Fault Value (number) - TODO
"warningValue": 0, - Warning Value (number) - TODO
"constantPowerOK": 2440, - ????
"epvtoday": 124, - Duplicate of pvenergytoday
"pvenergytoday": 124, - Already Mapped as 'Power Generation - Today (pvenergytoday)'
"epvtotal": 3956, - Already Mapped as 'PV-All Energy - Total'
"eacCharToday": 0, - Battery AC Charge Energy - Today (KWH)
"eacCharTotal": 2477, - Battery AC Charge Energy - Total (KWH)
"ebatDischarToday": 48, - Battery Discharged Energy - Today (KWH)
"ebatDischarTotal": 7717, - Battery Discharged Energy - Total (KWH)
"eacDischarToday": 29, - ???? - Maybe this is the battery discharge instead - TODO
"eacDischarTotal": 19772, - ???? - Maybe this is the battery discharge instead - TODO
"ACCharCurr": 0, - AC Charge Current (AMPERE)
"ACDischarWatt": 2790, - ????
"ACDischarVA": 3190, - ????
"BatDischarWatt": 0, - Battery Discharging Power (Watt)
"BatDischarVA": 0, - - Battery Discharging Voltage (Volt)
"BatWatt": -200 - ???? 
muppet3000 commented 8 months ago

@julianjosias @sidequest-tomas - I've just pushed a commit that contains a load of the mappings from my previous comment. Please would you try and pull the latest dev/main build available in HACS for this integration and let me know what values start appearing and whether they have the correct values?

image

image

image

Don't forget to restart HA afterwards for the change to take affect.

Good luck, let me know what's missing and/or what needs to be fixed.

julianjosias commented 8 months ago

@julianjosias - Time for that first bit of help.......

I've taken the logs you provided above and had a go at assigning them names etc. I've listed them below, I'm going to start mapping the ones through that are 'obviously' correct. But for those that have question marks on, could you please take a look and compare them to values you get in your growatt dashboard/app and confirm if I've made the correct suggestions. If any of them are wrong I can easily change them, it's just easier to get the feedback now rather than later.

Note (hopefully and obvious one) the values below are from your capture the other day and therefore won't be the same as what you see in Growatt dashboards now.

"datalogserial": "DDD0CHD1MJ", - Already Mapped
"pvserial": "RKG8CGQ0LR", - Already Mapped
"pvstatus": 11, - Already Mapped
"vpv1": 0, - PV1 Voltage (Volt)
"vpv2": 0, - PV2 Voltage (Volt)
"ppv1": 0, - PV1 Power (Watt)
"ppv2": 0, - PV2 Power (Watt)
"buck1curr": 0, - ????
"buck2curr": 0, - ????
"op_watt": 2840, - ????
"pvpowerout": 2840, - Already Mapped as 'Output Power'
"op_va": 867840, - ????
"acchr_watt": 0, - Battery AC Charge Power (Watt)
"acchr_VA": 0, - Battery AC Charge Voltage (Volt)
"bat_Volt": 5208, - Battery Voltage (Volt)
"batterySoc": 29, - State of Charge (Percentage)
"bus_volt": 4374, - Bus Voltage (Volt)
"grid_volt": 2383, - Grid Voltage (Volt)
"line_freq": 4992, - Line Frequency (Hertz)
"outputvolt": 2383, - Inverter Output Voltage (Volt)
"pvgridvoltage": 2383, - Already Mapped as 'Inverter Output Voltage (Single/First Phase)'
"outputfreq": 4996, - Output Frequency (Hertz)
"invtemp": 221, - Inverter Temperature (Celsius)
"dcdctemp": 222, - DC Temperature (Celsius)
"loadpercent": 56, - ????
"buck1_ntc": 206, - ????
"buck2_ntc": 248, - ????
"OP_Curr": 11, - ????
"Inv_Curr": 1, - ????
"AC_InWatt": 2760, - Load Consumption Power (Watt) - Unsure about this - TODO
"AC_InVA": 2621, - Load Consumption Voltage (Volt) - Unsure about this - TODO
"faultBit": 0, - Fault Bit (number) - TODO
"warningBit": 0, - Warning Bit (number) - TODO
"faultValue": 0, - Fault Value (number) - TODO
"warningValue": 0, - Warning Value (number) - TODO
"constantPowerOK": 2440, - ????
"epvtoday": 124, - Duplicate of pvenergytoday
"pvenergytoday": 124, - Already Mapped as 'Power Generation - Today (pvenergytoday)'
"epvtotal": 3956, - Already Mapped as 'PV-All Energy - Total'
"eacCharToday": 0, - Battery AC Charge Energy - Today (KWH)
"eacCharTotal": 2477, - Battery AC Charge Energy - Total (KWH)
"ebatDischarToday": 48, - Battery Discharged Energy - Today (KWH)
"ebatDischarTotal": 7717, - Battery Discharged Energy - Total (KWH)
"eacDischarToday": 29, - ???? - Maybe this is the battery discharge instead - TODO
"eacDischarTotal": 19772, - ???? - Maybe this is the battery discharge instead - TODO
"ACCharCurr": 0, - AC Charge Current (AMPERE)
"ACDischarWatt": 2790, - ????
"ACDischarVA": 3190, - ????
"BatDischarWatt": 0, - Battery Discharging Power (Watt)
"BatDischarVA": 0, - - Battery Discharging Voltage (Volt)
"BatWatt": -200 - ???? 

Hi Muppet, have a look at the paste below, a few of those I couldn't find on the dashboard but found some documentation that could help? chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://watts247.com/manuals/gw/GrowattModBusProtocol.pdf. Ill try the latest dev/main tonight after work. Thanks again Muppet!

"datalogserial": "DDD0CHD1MJ", - Already Mapped "pvserial": "RKG8CGQ0LR", - Already Mapped "pvstatus": 11, - Already Mapped "vpv1": 0, - PV1 Voltage (Volt) "vpv2": 0, - PV2 Voltage (Volt) "ppv1": 0, - PV1 Power (Watt) "ppv2": 0, - PV2 Power (Watt) "buck1curr": 0, - ???? Buck1 current (Amp) "buck2curr": 0, - ???? Buck2 current (Amp) "op_watt": 2840, - ???? Output active power (Watt) "pvpowerout": 2840, - Already Mapped as 'Output Power' "op_va": 867840, - ???? Output apparent power (VA) "acchr_watt": 0, - Battery AC Charge Power (Watt) "acchr_VA": 0, - Battery AC Charge Voltage (Volt) "bat_Volt": 5208, - Battery Voltage (Volt) "batterySoc": 29, - State of Charge (Percentage) "bus_volt": 4374, - Bus Voltage (Volt) "grid_volt": 2383, - Grid Voltage (Volt) "line_freq": 4992, - Line Frequency (Hertz) "outputvolt": 2383, - Inverter Output Voltage (Volt) "pvgridvoltage": 2383, - Already Mapped as 'Inverter Output Voltage (Single/First Phase)' "outputfreq": 4996, - Output Frequency (Hertz) "invtemp": 221, - Inverter Temperature (Celsius) "dcdctemp": 222, - DC Temperature (Celsius) "loadpercent": 56, - ???? Load percentage (%) "buck1_ntc": 206, - ???? Buck1 temprature (C) "buck2_ntc": 248, - ???? Buck2 temprature (C) "OP_Curr": 11, - ???? Output current (Amp) "Inv_Curr": 1, - ???? Inverter current (Amp) "AC_InWatt": 2760, - Load Consumption Power (Watt) - Unsure about this - TODO "AC_InVA": 2621, - Load Consumption Voltage (Volt) - Unsure about this - TODO "faultBit": 0, - Fault Bit (number) - TODO "warningBit": 0, - Warning Bit (number) - TODO "faultValue": 0, - Fault Value (number) - TODO "warningValue": 0, - Warning Value (number) - TODO "constantPowerOK": 2440, - ???? Constant power OK flag (I think? documentation says 0: Not OK; 1:OK) "epvtoday": 124, - Duplicate of pvenergytoday "pvenergytoday": 124, - Already Mapped as 'Power Generation - Today (pvenergytoday)' "epvtotal": 3956, - Already Mapped as 'PV-All Energy - Total' "eacCharToday": 0, - Battery AC Charge Energy - Today (KWH) "eacCharTotal": 2477, - Battery AC Charge Energy - Total (KWH) "ebatDischarToday": 48, - Battery Discharged Energy - Today (KWH) "ebatDischarTotal": 7717, - Battery Discharged Energy - Total (KWH) "eacDischarToday": 29, - ???? - Maybe this is the battery discharge instead - TODO AC discharge energy today (AC bypass) (kwh) "eacDischarTotal": 19772, - ???? - Maybe this is the battery discharge instead - TODO AC discharge energy totat (AC bypass) (kwh) "ACCharCurr": 0, - AC Charge Current (AMPERE) "ACDischarWatt": 2790, - ???? AC discharge watt (Watt) (consumption power/load power) "ACDischarVA": 3190, - ???? AC discharge apparent power (VA) "BatDischarWatt": 0, - Battery Discharging Power (Watt) "BatDischarVA": 0, - - Battery Discharging Voltage (Volt) "BatWatt": -200 - ???? Batt watt - Positive:Battery discharge power; Negative: Battery charge power.

julianjosias commented 8 months ago

Hi again muppet, Just checked the values and they all look good apart from the battery voltage, the decimal point needs to move over 1 to the left. Other than that great work so far! image

muppet3000 commented 8 months ago

Thanks @julianjosias for all the feedback, I'll have a go at mapping through the extra values and correcting the voltage tonight. If you notice any other values that aren't right please let me know and I'll correct them.

sidequest-tomas commented 8 months ago

Hi,

Did install ”main” and restarted. No Battery information in my serial device DFK…. But i get state-of-charge. Logs attached

😊 /tomas

~      SideQuest      ~
~          Sweden AB            ~

Från: Chris @.> Skickat: den 10 oktober 2023 22:23 Till: @.> Kopia: @.>; @.> Ämne: Re: [muppet3000/homeassistant-grott] State of charge for batteries not showing (Issue #49)

@julianjosiashttps://github.com/julianjosias @sidequest-tomashttps://github.com/sidequest-tomas - I've just pushed a commit that contains a load of the mappings from my previous comment. Please would you try and pull the latest dev/main build available in HACS for this integration and let me know what values start appearing and whether they have the correct values?

[image]https://user-images.githubusercontent.com/10612068/274055000-eaaa2fb5-ec3f-40b6-9b4d-88b657cb2c7b.png

[image]https://user-images.githubusercontent.com/10612068/274055070-626b0a50-e2e8-4b31-9c0c-93c0e3ff65cf.png

[image]https://user-images.githubusercontent.com/10612068/274055187-ed8ebc87-77b6-4480-b808-d2904dacf5ab.png

Don't forget to restart HA afterwards for the change to take affect.

Good luck, let me know what's missing and/or what needs to be fixed.

— Reply to this email directly, view it on GitHubhttps://github.com/muppet3000/homeassistant-grott/issues/49#issuecomment-1756167643, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARSHBCZYY4POE6PKHOIFLZDX6WVENAVCNFSM6AAAAAA5UAIRTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGE3DONRUGM. You are receiving this because you were mentioned.Message ID: @.***>

muppet3000 commented 8 months ago

@sidequest-tomas - You haven't attached any logs, you can't do that via email, please log into github and attach them to a comment directly.

Also, please confirm what type of system you have and that you have set the relevant invtype in the grott.ini file.

sidequest-tomas commented 8 months ago

Hi, sorry for that. And maby i have some missmatch in my setup with different Grott stuff tried out... HACS Grott or Add On Grott HA

I looked into /config/grott/grott.ini which was completely empty. But in HA it looks like this: image

The logs: 8ce4abae_grott-current_2023-10-11T09-36-31.084Z.log

sidequest-tomas commented 8 months ago

also some log i found:

T02NNNN : {'decrypt': {'value': 'False'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text'}, 'date': {'value': 56, 'divide': 10}, 'recortype1': {'value': 70, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 74, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'isof': {'value': 210, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'gfcif': {'value': 214, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'dcif': {'value': 218, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vpvfault': {'value': 222, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vacfault': {'value': 226, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'facfault': {'value': 230, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'tmpfault': {'value': 234, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'faultcode': {'value': 238, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'nbusvolt': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}, 'rac': {'value': 318, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eractoday': {'value': 326, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eractotal': {'value': 334, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}} T05NNNN : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text'}, 'date': {'value': 56, 'divide': 10}, 'recortype1': {'value': 70, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 74, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'isof': {'value': 210, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'gfcif': {'value': 214, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'dcif': {'value': 218, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vpvfault': {'value': 222, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vacfault': {'value': 226, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'facfault': {'value': 230, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'tmpfault': {'value': 234, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'faultcode': {'value': 238, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'nbusvolt': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}, 'rac': {'value': 318, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eractoday': {'value': 326, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eractotal': {'value': 334, 'length': 4, 'type': 'num', 'divide': 1, 'incl': 'no'}} T06NNNN : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'recortype1': {'value': 150, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 154, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 202, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 210, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 230, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 238, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 254, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 262, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 278, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 286, 'length': 2, 'type': 'num', 'divide': 10}, 'isof': {'value': 290, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'gfcif': {'value': 294, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'dcif': {'value': 298, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vpvfault': {'value': 302, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'vacfault': {'value': 306, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'facfault': {'value': 310, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'tmpfault': {'value': 314, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'faultcode': {'value': 318, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'pvipmtemperature': {'value': 322, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 326, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'nbusvolt': {'value': 330, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epv1today': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 366, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 374, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 382, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 390, 'length': 4, 'type': 'num', 'divide': 10}} T05NNNNX : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text'}, 'date': {'value': 56, 'divide': 10}, 'recortype1': {'value': 70, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 74, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 170, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 178, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 182, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 198, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 202, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 206, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 266, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvenergytoday': {'value': 274, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 282, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 290, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 298, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 306, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 314, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 322, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 450, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 466, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 470, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'nbusvolt': {'value': 474, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}} T06NNNNX : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'recortype1': {'value': 150, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 154, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 250, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 258, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 278, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 282, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 294, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 298, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 346, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvenergytoday': {'value': 354, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 362, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 386, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 546, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 550, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'nbusvolt': {'value': 554, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'battery1soc': {'value': 852, 'length': 1, 'type': 'num', 'divide': 1}} T06NNNNXSPH : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'recortype1': {'value': 150, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 154, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 298, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 306, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 310, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 314, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 318, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 326, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 330, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 334, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 342, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 346, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 350, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 386, 'length': 4, 'type': 'num', 'divide': 7200}, 'eactoday': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'eactotal': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 522, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 410, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 418, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 534, 'length': 2, 'type': 'num', 'divide': 10}, 'pvboosttemp': {'value': 538, 'length': 2, 'type': 'num', 'divide': 10}, 'bat_dsp': {'value': 546, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 550, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#nbusvolt': {'value': 554, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#ipf': {'value': 558, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#realoppercent': {'value': 562, 'length': 2, 'type': 'num', 'divide': 100, 'incl': 'no'}, '#opfullwatt': {'value': 566, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#deratingmode': {'value': 574, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eacharge_today': {'value': 606, 'length': 4, 'type': 'num', 'divide': 10}, 'eacharge_total': {'value': 614, 'length': 4, 'type': 'num', 'divide': 10}, 'batterytype': {'value': 634, 'length': 2, 'type': 'num', 'divide': 1}, 'uwsysworkmode': {'value': 666, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword0': {'value': 670, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword1': {'value': 674, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword2': {'value': 678, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword3': {'value': 682, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword4': {'value': 686, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword5': {'value': 690, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword6': {'value': 694, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword7': {'value': 698, 'length': 2, 'type': 'num', 'divide': 1}, 'pdischarge1': {'value': 702, 'length': 4, 'type': 'num', 'divide': 10}, 'p1charge1': {'value': 710, 'length': 4, 'type': 'num', 'divide': 10}, 'vbat': {'value': 718, 'length': 2, 'type': 'num', 'divide': 10}, 'SOC': {'value': 722, 'length': 2, 'type': 'num', 'divide': 1}, 'pactouserr': {'value': 726, 'length': 4, 'type': 'num', 'divide': 10}, '#pactousers': {'value': 734, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#pactousert': {'value': 742, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pactousertot': {'value': 750, 'length': 4, 'type': 'num', 'divide': 10}, 'pactogridr': {'value': 758, 'length': 4, 'type': 'num', 'divide': 10}, '#pactogrids': {'value': 766, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#pactogridt': {'value': 774, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pactogridtot': {'value': 782, 'length': 4, 'type': 'num', 'divide': 10}, 'plocaloadr': {'value': 790, 'length': 4, 'type': 'num', 'divide': 10}, '#plocaloads': {'value': 798, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#plocaloadt': {'value': 806, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'plocaloadtot': {'value': 814, 'length': 4, 'type': 'num', 'divide': 10}, '#ipm': {'value': 822, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#battemp': {'value': 826, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'spdspstatus': {'value': 830, 'length': 2, 'type': 'num', 'divide': 10}, 'spbusvolt': {'value': 834, 'length': 2, 'type': 'num', 'divide': 10}, 'etouser_tod': {'value': 842, 'length': 4, 'type': 'num', 'divide': 10}, 'etouser_tot': {'value': 850, 'length': 4, 'type': 'num', 'divide': 10}, 'etogrid_tod': {'value': 858, 'length': 4, 'type': 'num', 'divide': 10}, 'etogrid_tot': {'value': 866, 'length': 4, 'type': 'num', 'divide': 10}, 'edischarge1_tod': {'value': 874, 'length': 4, 'type': 'num', 'divide': 10}, 'edischarge1_tot': {'value': 882, 'length': 4, 'type': 'num', 'divide': 10}, 'eharge1_tod': {'value': 890, 'length': 4, 'type': 'num', 'divide': 10}, 'eharge1_tot': {'value': 898, 'length': 4, 'type': 'num', 'divide': 10}, 'elocalload_tod': {'value': 906, 'length': 4, 'type': 'num', 'divide': 10}, 'elocalload_tot': {'value': 914, 'length': 4, 'type': 'num', 'divide': 10}} T05NNNNSPF : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'divide': 10, 'incl': 'yes'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text'}, 'date': {'value': 56, 'divide': 10}, 'recortype1': {'value': 70, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 74, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'vpv1': {'value': 82, 'length': 2, 'type': 'num', 'divide': 10}, 'vpv2': {'value': 86, 'length': 2, 'type': 'num', 'divide': 10}, 'ppv1': {'value': 90, 'length': 4, 'type': 'num', 'divide': 10}, 'ppv2': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'buck1curr': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'buck2curr': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'op_watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'op_va': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'acchr_watt': {'value': 130, 'length': 4, 'type': 'num', 'divide': 10}, 'acchr_VA': {'value': 138, 'length': 4, 'type': 'num', 'divide': 10}, 'bat_Volt': {'value': 146, 'length': 2, 'type': 'num', 'divide': 100}, 'batterySoc': {'value': 150, 'length': 2, 'type': 'num', 'divide': 1}, 'bus_volt': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'grid_volt': {'value': 158, 'length': 2, 'type': 'num', 'divide': 10}, 'line_freq': {'value': 162, 'length': 2, 'type': 'num', 'divide': 100}, 'outputvolt': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridvoltage': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'outputfreq': {'value': 170, 'length': 2, 'type': 'num', 'divide': 100}, 'invtemp': {'value': 178, 'length': 2, 'type': 'num', 'divide': 10}, 'dcdctemp': {'value': 182, 'length': 2, 'type': 'num', 'divide': 10}, 'loadpercent': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'buck1_ntc': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'buck2_ntc': {'value': 210, 'length': 2, 'type': 'num', 'divide': 10}, 'OP_Curr': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'Inv_Curr': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'AC_InWatt': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'AC_InVA': {'value': 230, 'length': 4, 'type': 'num', 'divide': 10}, 'faultBit': {'value': 238, 'length': 2, 'type': 'num', 'divide': 1}, 'warningBit': {'value': 242, 'length': 2, 'type': 'num', 'divide': 1}, 'faultValue': {'value': 246, 'length': 2, 'type': 'num', 'divide': 1}, 'warningValue': {'value': 250, 'length': 2, 'type': 'num', 'divide': 1}, 'constantPowerOK': {'value': 266, 'length': 2, 'type': 'num', 'divide': 1}, 'epv1tod': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epv1tot': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epvToday': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2tod': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'epvTotal': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2tot': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'eacCharToday': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}, 'eacCharTotal': {'value': 318, 'length': 4, 'type': 'num', 'divide': 10}, 'ebatDischarToday': {'value': 326, 'length': 4, 'type': 'num', 'divide': 10}, 'ebatDischarTotal': {'value': 334, 'length': 4, 'type': 'num', 'divide': 10}, 'eacDischarToday': {'value': 342, 'length': 4, 'type': 'num', 'divide': 10}, 'eacDischarTotal': {'value': 350, 'length': 4, 'type': 'num', 'divide': 10}, 'ACCharCurr': {'value': 358, 'length': 2, 'type': 'num', 'divide': 10}, 'ACDischarWatt': {'value': 362, 'length': 4, 'type': 'num', 'divide': 10}, 'ACDischarVA': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'BatDischarWatt': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'BatDischarVA': {'value': 386, 'length': 4, 'type': 'num', 'divide': 10}, 'BatWatt': {'value': 394, 'length': 4, 'type': 'numx', 'divide': 10}} T06NNNNSPF : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'recortype1': {'value': 150, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 154, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'vpv1': {'value': 162, 'length': 2, 'type': 'num', 'divide': 10}, 'vpv2': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'ppv1': {'value': 170, 'length': 4, 'type': 'num', 'divide': 10}, 'ppv2': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'buck1curr': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'buck2curr': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'op_watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'op_va': {'value': 204, 'length': 4, 'type': 'num', 'divide': 10}, 'acchr_watt': {'value': 210, 'length': 4, 'type': 'num', 'divide': 10}, 'acchr_VA': {'value': 218, 'length': 4, 'type': 'num', 'divide': 10}, 'bat_Volt': {'value': 226, 'length': 2, 'type': 'num', 'divide': 100}, 'batterySoc': {'value': 230, 'length': 2, 'type': 'num', 'divide': 1}, 'bus_volt': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'grid_volt': {'value': 238, 'length': 2, 'type': 'num', 'divide': 10}, 'line_freq': {'value': 242, 'length': 2, 'type': 'num', 'divide': 100}, 'outputvolt': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridvoltage': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'outputfreq': {'value': 250, 'length': 2, 'type': 'num', 'divide': 100}, 'invtemp': {'value': 258, 'length': 2, 'type': 'num', 'divide': 10}, 'dcdctemp': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'loadpercent': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'buck1_ntc': {'value': 286, 'length': 2, 'type': 'num', 'divide': 10}, 'buck2_ntc': {'value': 290, 'length': 2, 'type': 'num', 'divide': 10}, 'OP_Curr': {'value': 294, 'length': 2, 'type': 'num', 'divide': 10}, 'Inv_Curr': {'value': 298, 'length': 2, 'type': 'num', 'divide': 10}, 'AC_InWatt': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'AC_InVA': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}, 'faultBit': {'value': 318, 'length': 2, 'type': 'num', 'divide': 1}, 'warningBit': {'value': 322, 'length': 2, 'type': 'num', 'divide': 1}, 'faultValue': {'value': 326, 'length': 2, 'type': 'num', 'divide': 1}, 'warningValue': {'value': 330, 'length': 2, 'type': 'num', 'divide': 1}, 'constantPowerOK': {'value': 346, 'length': 2, 'type': 'num', 'divide': 1}, 'epvtoday': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 366, 'length': 4, 'type': 'num', 'divide': 10}, 'eacCharToday': {'value': 390, 'length': 4, 'type': 'num', 'divide': 10}, 'eacCharTotal': {'value': 398, 'length': 4, 'type': 'num', 'divide': 10}, 'ebatDischarToday': {'value': 406, 'length': 4, 'type': 'num', 'divide': 10}, 'ebatDischarTotal': {'value': 414, 'length': 4, 'type': 'num', 'divide': 10}, 'eacDischarToday': {'value': 422, 'length': 4, 'type': 'num', 'divide': 10}, 'eacDischarTotal': {'value': 430, 'length': 4, 'type': 'num', 'divide': 10}, 'ACCharCurr': {'value': 438, 'length': 2, 'type': 'num', 'divide': 10}, 'ACDischarWatt': {'value': 442, 'length': 4, 'type': 'num', 'divide': 10}, 'ACDischarVA': {'value': 450, 'length': 4, 'type': 'num', 'divide': 10}, 'BatDischarWatt': {'value': 458, 'length': 4, 'type': 'num', 'divide': 10}, 'BatDischarVA': {'value': 466, 'length': 4, 'type': 'num', 'divide': 10}, 'BatWatt': {'value': 474, 'length': 4, 'type': 'numx', 'divide': 10}} T06NNNNXTL3 : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'recortype1': {'value': 150, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 154, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pv3voltage': {'value': 202, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pv3current': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pv3watt': {'value': 210, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pvpowerout': {'value': 298, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 306, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 310, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 314, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 318, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 326, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 330, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 334, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 342, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 346, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 350, 'length': 4, 'type': 'num', 'divide': 10}, 'Vac_RS': {'value': 358, 'length': 2, 'type': 'num', 'divide': 10}, 'Vac_ST': {'value': 362, 'length': 2, 'type': 'num', 'divide': 10}, 'Vac_TR': {'value': 366, 'length': 2, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 386, 'length': 4, 'type': 'num', 'divide': 7200}, 'epv1today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 410, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 418, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 522, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 534, 'length': 2, 'type': 'num', 'divide': 10}, 'pvboottemperature': {'value': 538, 'length': 2, 'type': 'num', 'divide': 10}, 'temp4': {'value': 542, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'uwBatVolt_DSP': {'value': 546, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 550, 'length': 2, 'type': 'num', 'divide': 1}, 'nbusvolt': {'value': 554, 'length': 2, 'type': 'num', 'divide': 1}} T060120 : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text'}, 'date': {'value': 136, 'divide': 10}, 'voltage_l1': {'value': 160, 'length': 4, 'type': 'num', 'divide': 10}, 'voltage_l2': {'value': 168, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'voltage_l3': {'value': 176, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'Current_l1': {'value': 184, 'length': 4, 'type': 'num', 'divide': 10}, 'Current_l2': {'value': 192, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'Current_l3': {'value': 200, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'act_power_l1': {'value': 208, 'length': 4, 'type': 'numx', 'divide': 10}, 'act_power_l2': {'value': 216, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'act_power_l3': {'value': 224, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'app_power_l1': {'value': 232, 'length': 4, 'type': 'numx', 'divide': 10}, 'app_power_l2': {'value': 240, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'app_power_l3': {'value': 248, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'react_power_l1': {'value': 256, 'length': 4, 'type': 'numx', 'divide': 10}, 'react_power_l2': {'value': 264, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'react_power_l3': {'value': 272, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'powerfactor_l1': {'value': 280, 'length': 4, 'type': 'numx', 'divide': 1000}, 'powerfactor_l2': {'value': 288, 'length': 4, 'type': 'numx', 'divide': 1000, 'incl': 'yes'}, 'powerfactor_l3': {'value': 296, 'length': 4, 'type': 'numx', 'divide': 1000, 'incl': 'yes'}, 'pos_rev_act_power': {'value': 304, 'length': 4, 'type': 'numx', 'divide': 10}, 'pos_act_power': {'value': 304, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'rev_act_power': {'value': 304, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'yes'}, 'app_power': {'value': 312, 'length': 4, 'type': 'numx', 'divide': 10}, 'react_power': {'value': 320, 'length': 4, 'type': 'numx', 'divide': 10}, 'powerfactor': {'value': 328, 'length': 4, 'type': 'numx', 'divide': 1000}, 'frequency': {'value': 336, 'length': 4, 'type': 'num', 'divide': 10}, 'L1-2_voltage': {'value': 344, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'L2-3_voltage': {'value': 352, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'L3-1_voltage': {'value': 360, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'yes'}, 'pos_act_energy': {'value': 368, 'length': 4, 'type': 'numx', 'divide': 10}, 'rev_act_energy': {'value': 376, 'length': 4, 'type': 'numx', 'divide': 10}, 'pos_act_energy_kvar': {'value': 384, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'no'}, 'rev_act_energy_kvar': {'value': 392, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'no'}, 'app_energy_kvar': {'value': 400, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'no'}, 'act_energy_kwh': {'value': 408, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'no'}, 'react_energy_kvar': {'value': 416, 'length': 4, 'type': 'numx', 'divide': 10, 'incl': 'no'}} T06501b : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'device': {'value': 'SDM630', 'type': 'def', 'incl': 'no'}, 'logstart': {'value': 96, 'type': 'def', 'incl': 'no'}, 'active_energy': {'pos': 1, 'type': 'log'}, 'reactive_energy': {'pos': 2, 'type': 'log'}, 'activePowerL1': {'pos': 3, 'type': 'log'}, 'activePowerL2': {'pos': 4, 'type': 'log'}, 'activePowerL3': {'pos': 5, 'type': 'log'}, 'reactivePowerL1': {'pos': 6, 'type': 'log'}, 'reactivePowerL2': {'pos': 7, 'type': 'log'}, 'reactivePowerL3': {'pos': 8, 'type': 'log'}, 'apperentPowerL1': {'pos': 9, 'type': 'log'}, 'apperentPowerL2': {'pos': 10, 'type': 'log'}, 'apperentPowerL3': {'pos': 11, 'type': 'log'}, 'powerFactorL1': {'pos': 12, 'type': 'log'}, 'powerFactorL2': {'pos': 13, 'type': 'log'}, 'powerFactorL3': {'pos': 14, 'type': 'log'}, 'voltageL1': {'pos': 15, 'type': 'log'}, 'voltageL2': {'pos': 16, 'type': 'log'}, 'voltageL3': {'pos': 17, 'type': 'log'}, 'currentL1': {'pos': 18, 'type': 'log'}, 'currentL2': {'pos': 19, 'type': 'log'}, 'currentL3': {'pos': 20, 'type': 'log'}, 'power': {'pos': 21, 'type': 'log'}, 'active_power': {'pos': 21, 'type': 'logpos'}, 'reverse_active_power': {'pos': 21, 'type': 'logneg'}, 'apparent_power': {'pos': 22, 'type': 'log'}, 'reactive_power': {'pos': 23, 'type': 'log'}, 'power_factor': {'pos': 24, 'type': 'log'}, 'frequency': {'pos': 25, 'type': 'log'}, 'posiActivePower': {'pos': 26, 'type': 'log'}, 'reverActivePower': {'pos': 27, 'type': 'log'}, 'posiReactivePower': {'pos': 28, 'type': 'log'}, 'reverReactivePower': {'pos': 29, 'type': 'log'}, 'apparentEnergy': {'pos': 30, 'type': 'log'}, 'totalActiveEnergyL1': {'pos': 31, 'type': 'log'}, 'totalActiveEnergyL2': {'pos': 32, 'type': 'log'}, 'totalActiveEnergyL3': {'pos': 33, 'type': 'log'}, 'totalRectiveEnergyL1': {'pos': 34, 'type': 'log'}, 'totalRectiveEnergyL2': {'pos': 35, 'type': 'log'}, 'totalRectiveEnergyL3': {'pos': 36, 'type': 'log'}, 'total_energy': {'pos': 37, 'type': 'log'}, 'l1Voltage2': {'pos': 38, 'type': 'log'}, 'l2Voltage3': {'pos': 39, 'type': 'log'}, 'l3Voltage1': {'pos': 40, 'type': 'log'}, 'pos41': {'pos': 41, 'type': 'log', 'incl': 'no'}, 'pos42': {'pos': 42, 'type': 'log', 'incl': 'no'}, 'pos43': {'pos': 43, 'type': 'log', 'incl': 'no'}, 'pos44': {'pos': 44, 'type': 'log', 'incl': 'no'}, 'pos45': {'pos': 45, 'type': 'log', 'incl': 'no'}, 'pos46': {'pos': 46, 'type': 'log', 'incl': 'no'}, 'pos47': {'pos': 47, 'type': 'log', 'incl': 'no'}, 'pos48': {'pos': 48, 'type': 'log', 'incl': 'no'}, 'pos49': {'pos': 49, 'type': 'log', 'incl': 'no'}, 'pos50': {'pos': 50, 'type': 'log', 'incl': 'no'}, 'pos51': {'pos': 51, 'type': 'log', 'incl': 'no'}, 'pos52': {'pos': 52, 'type': 'log', 'incl': 'no'}, 'pos53': {'pos': 53, 'type': 'log', 'incl': 'no'}, 'pos54': {'pos': 54, 'type': 'log', 'incl': 'no'}, 'pos55': {'pos': 55, 'type': 'log', 'incl': 'no'}, 'pos56': {'pos': 56, 'type': 'log', 'incl': 'no'}, 'pos57': {'pos': 57, 'type': 'log', 'incl': 'no'}, 'pos58': {'pos': 58, 'type': 'log', 'incl': 'no'}, 'pos59': {'pos': 59, 'type': 'log', 'incl': 'no'}, 'pos60': {'pos': 60, 'type': 'log', 'incl': 'no'}, 'pos61': {'pos': 61, 'type': 'log', 'incl': 'no'}, 'pos62': {'pos': 62, 'type': 'log', 'incl': 'no'}, 'pos63': {'pos': 63, 'type': 'log', 'incl': 'no'}, 'pos64': {'pos': 64, 'type': 'log', 'incl': 'no'}, 'pos65': {'pos': 65, 'type': 'log', 'incl': 'no'}, 'pos66': {'pos': 66, 'type': 'log', 'incl': 'no'}} T05NNNNXSPH : {'decrypt': {'value': 'True'}, 'datalogserial': {'value': 16, 'length': 10, 'type': 'text', 'incl': 'yes'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text'}, 'date': {'value': 56, 'divide': 10}, 'recortype1': {'value': 70, 'length': 2, 'type': 'num', 'incl': 'no'}, 'recortype2': {'value': 74, 'length': 2, 'type': 'num', 'incl': 'no'}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 218, 'length': 4, 'type': 'numx', 'divide': 10}, 'pvfrequentie': {'value': 226, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 230, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 238, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 254, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 306, 'length': 4, 'type': 'num', 'divide': 7200}, 'eactoday': {'value': 290, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 290, 'length': 4, 'type': 'num', 'divide': 10}, 'eactotal': {'value': 298, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 442, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 314, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 322, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 330, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 338, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 450, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 454, 'length': 2, 'type': 'num', 'divide': 10}, 'pvboosttemp': {'value': 458, 'length': 2, 'type': 'num', 'divide': 10}, 'bat_dsp': {'value': 466, 'length': 2, 'type': 'num', 'divide': 10}, 'pbusvolt': {'value': 470, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#nbusvolt': {'value': 474, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#ipf': {'value': 478, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#realoppercent': {'value': 482, 'length': 2, 'type': 'num', 'divide': 100, 'incl': 'no'}, '#opfullwatt': {'value': 486, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#deratingmode': {'value': 494, 'length': 2, 'type': 'num', 'divide': 1, 'incl': 'no'}, 'eacharge_today': {'value': 526, 'length': 4, 'type': 'num', 'divide': 10}, 'eacharge_total': {'value': 534, 'length': 4, 'type': 'num', 'divide': 10}, 'batterytype': {'value': 554, 'length': 2, 'type': 'num', 'divide': 1}, 'uwsysworkmode': {'value': 586, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword0': {'value': 590, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword1': {'value': 594, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword2': {'value': 588, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword3': {'value': 602, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword4': {'value': 606, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword5': {'value': 610, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword6': {'value': 614, 'length': 2, 'type': 'num', 'divide': 1}, 'systemfaultword7': {'value': 618, 'length': 2, 'type': 'num', 'divide': 1}, 'pdischarge1': {'value': 622, 'length': 4, 'type': 'num', 'divide': 10}, 'p1charge1': {'value': 630, 'length': 4, 'type': 'num', 'divide': 10}, 'vbat': {'value': 738, 'length': 2, 'type': 'num', 'divide': 10}, 'SOC': {'value': 742, 'length': 2, 'type': 'num', 'divide': 1}, 'pactouserr': {'value': 746, 'length': 4, 'type': 'num', 'divide': 10}, '#pactousers': {'value': 654, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#pactousert': {'value': 662, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pactousertot': {'value': 670, 'length': 4, 'type': 'num', 'divide': 10}, 'pactogridr': {'value': 678, 'length': 4, 'type': 'num', 'divide': 10}, '#pactogrids': {'value': 686, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#pactogridt': {'value': 694, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'pactogridtot': {'value': 702, 'length': 4, 'type': 'num', 'divide': 10}, 'plocaloadr': {'value': 710, 'length': 4, 'type': 'num', 'divide': 10}, '#plocaloads': {'value': 718, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#plocaloadt': {'value': 726, 'length': 4, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'plocaloadtot': {'value': 734, 'length': 4, 'type': 'num', 'divide': 10}, '#ipm': {'value': 742, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, '#battemp': {'value': 746, 'length': 2, 'type': 'num', 'divide': 10, 'incl': 'no'}, 'spdspstatus': {'value': 750, 'length': 2, 'type': 'num', 'divide': 10}, 'spbusvolt': {'value': 754, 'length': 2, 'type': 'num', 'divide': 10}, 'etouser_tod': {'value': 762, 'length': 4, 'type': 'num', 'divide': 10}, 'etouser_tot': {'value': 770, 'length': 4, 'type': 'num', 'divide': 10}, 'etogrid_tod': {'value': 778, 'length': 4, 'type': 'num', 'divide': 10}, 'etogrid_tot': {'value': 786, 'length': 4, 'type': 'num', 'divide': 10}, 'edischarge1_tod': {'value': 794, 'length': 4, 'type': 'num', 'divide': 10}, 'edischarge1_tot': {'value': 802, 'length': 4, 'type': 'num', 'divide': 10}, 'eharge1_tod': {'value': 810, 'length': 4, 'type': 'num', 'divide': 10}, 'eharge1_tot': {'value': 818, 'length': 4, 'type': 'num', 'divide': 10}, 'elocalload_tod': {'value': 826, 'length': 4, 'type': 'num', 'divide': 10}, 'elocalload_tot': {'value': 834, 'length': 4, 'type': 'num', 'divide': 10}} Grott external record whitelist 'recwl.txt' not found Grott records whitelisted : {'5016', '5216', '5104', '5019', '0116', '5150', '501b', '5219', '5004', '0150', '5229', '5003', '0103', '0119', '0104', '5129', '0120', '5116', '5250', '5050', '5105', '5119', '0105', '5005', '5103'} Grott settings: _Generic: version: 2.7.8 verbose: True trace: False config file: /config/grott/grott.ini minrecl: 100 decrypt: True compat: False invtype: tl3 invtypemap: {} include_all: False blockcmd: False noipf: False time: auto sendbuf: True timezone: local valueoffset: 6 offset: 6 inverterid: automatic mode: proxy grottip default grottport 5279 _MQTT: nomqtt False mqttip: 172.30.33.0 mqttport: 1883 mqtttopic: energy/growatt mqttmtopic: False mqttmtopicname: energy/meter mqttinverterintopic: False mqtttretain: False mqtttauth: True mqttuser: addons mqttpsw: secret _Growatt server: growattip: 47.91.67.66 growattport: 5279 _PVOutput: pvoutput: False pvdisv1: False pvtemp: False pvurl: https://pvoutput.org/service/r2/addstatus.jsp pvapikey: yourapikey pvinverters: 1 pvsystemid: systemid1 _Influxdb: influx: False influx2: False database: grottdb ip: localhost port: 8086 user: grott password: secret organization: grottorg bucket: grottdb token: secret _Extension: extension: True extname: grott_ha extvar: {'ha_mqtt_host': 'core-mosquitto', 'ha_mqtt_port': '1883', 'ha_mqtt_user': 'addons', 'ha_mqtt_password': 'ieghohveem8Xooweequah4phah3UQuaiK7eixie7OoTunei5quoPheiNah3ahc6u', 'ha_mqtt_retain': True} Grott proxy mode started


 - Grott - libscrc not installed, no CRC checking only record validation on length!
 **********************************************************************************

Hostname : 8ce4abae-grott-current IP : 172.30.33.7 , port : 5279

muppet3000 commented 8 months ago

Thanks @sidequest-tomas so it looks like you've configured as a TL3 system is that correct? The logs you have provided are just the startup of grott. If that's all the logs then maybe it doesn't output anything more once it's running. You could take a different approach and turn on debug logging for the homeassistant-grott integration and then post the output here as it would output all of the values that are being sent to MQTT that it attempts to process.

sidequest-tomas commented 8 months ago

yes i have a TL3 system, and changed the default to tl3.

i also have a MQTT explorer where i can se both my serials and values. Will look at it and see if i can get more in the log file also. image

some of what i managed to grab at startup while pressing "refresh log" grott Current version: b6f2f24 (Changelog)

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting

Add-on: grott The Growatt inverter monitor with current HA plugin integrated

Add-on version: b6f2f24 You are running the latest version of this add-on. System: Home Assistant OS 10.5 (aarch64 / raspberrypi4-64) Home Assistant Core: 2023.10.1 Home Assistant Supervisor: 2023.10.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [12:52:00] INFO: Preparing to start...

muppet3000 commented 8 months ago

From the looks of it you 2 lots of information being published:

- datalogserial : XGD5BJHARY
- pvserial : DFK0CE301T
- voltage_l1 : 236.5
- voltage_l2 : 233.6
- voltage_l3 : 232.0
- Current_l1 : 0.8
- Current_l2 : 1.3
- Current_l3 : 1.4
- act_power_l1 : -105.1
- act_power_l2 : -169.8
- act_power_l3 : 177.9
- app_power_l1 : 0.0
- app_power_l2 : 0.0
- app_power_l3 : 0.0
- react_power_l1 : -113.6
- react_power_l2 : -190.3
- react_power_l3 : -238.2
- powerfactor_l1 : -0.6
- powerfactor_l2 : -0.6
- powerfactor_l3 : 0.5
- pos_rev_act_power : -96.9
- pos_act_power : -96.9
- rev_act_power : -96.9
- app_power : 0.0
- react_power : -542.2
- powerfactor : -0.1
- frequency : 49.9
- L1-2_voltage : 407.1
- L2-3_voltage : 403.2
- L3-1_voltage : 405.7
- pos_act_energy : 12445.7
- rev_act_energy : 4253.4

and this one:

-  datalogserial        :  XGD5BJHARY
-  pvserial             :  DFK0CE301T
-  pvstatus             :  1
-  pvpowerin            :  1065.8
-  pv1voltage           :  411.8
-  pv1current           :  1.4
-  pv1watt              :  576.5
-  pv2voltage           :  349.5
-  pv2current           :  1.4
-  pv2watt              :  489.3
-  pvpowerout           :  111411.2
-  pvfrequentie         :  39.7
-  pvgridvoltage        :  404.3
-  pvgridcurrent        :  405.7
-  pvgridpower          :  26358579.2
-  pvgridvoltage2       :  0.0
-  pvgridcurrent2       :  0.0
-  pvgridpower2         :  0.0
-  pvgridvoltage3       :  1064.8
-  pvgridcurrent3       :  61.3
-  pvgridpower3         :  302035763.2
-  Vac_RS               :  2.9
-  Vac_ST               :  0.1
-  Vac_TR               :  4252.7
-  pvenergytoday        :  10328.5
-  pvenergytotal        :  1.4
-  totworktime          :  9.1
-  epv1today            :  1.3
-  epv1total            :  3781.4
-  epv2today            :  0.0
-  epv2total            :  0.0
-  epvtotal             :  649.1
-  pvtemperature        :  33.5
-  pvipmtemperature     :  48.1
-  pvboottemperature    :  31.7
-  uwBatVolt_DSP        :  37.7
-  pbusvolt             :  3281
-  nbusvolt             :  3207

I don't really understand how you've got two lots being published, is one from the inverter and one from a 'meter'? Also, none of those values appear to be related to a Battery. I didn't think TL3 systems supported batteries?

Edit - I asked for you to publish a load of information you already had, I've deleted that.

If you can't see which of the above statistics is related to your battery then you'll have to log a bug over in https://github.com/johanmeijer/grott/issues to see if Johan can implement it for you.

Have you tried running it as an "SPH" system to see if it 'just works'?

sidequest-tomas commented 8 months ago

sure thing. I don't understand either :) DFK... is the inverter. XGD... is ShineWifi data logger. Dont know why both show

image

image

image

image

image

muppet3000 commented 8 months ago

ok, could you just try setting the invtype to sph even if it's not the correct one, I wonder if it will give you the relevant information. Failing that - you'd have to log something in the https://github.com/johanmeijer/grott/issues area to see what Johan recommends.

muppet3000 commented 8 months ago

@julianjosias - I've just pushed another change with the stats change and the updated sensor mappings. When you're able could you please pull the changes (same way you did before) and then let me know if everything is as you expect, including the accuracy of the values themselves?

julianjosias commented 8 months ago

@muppet3000 - Thanks mate, I will look at these tonight once home and give you feedback. Cheers!

julianjosias commented 8 months ago

@muppet3000 - Managed to have a quick look and have the following; Battery charging power power at 0.0w (also the same for V). Is there any way to use the Battery power - positive: Battery discharge power; Negative: Battery charge power in these sensors? Edit - Discharging power is working but the voltage seems incorrect.

There seems to be no battery charged today & battery charged total which should be power generation + AC charge energy (see attached system diagram). Not sure if something you do or someone else? Battery charge   Discharge Battery Charged today   total Power

julianjosias commented 8 months ago

@muppet3000 - Update, battery charge power is working with grid charge but not PV charge (epvtoday/total) so probably just need to add that? Who am I kidding I don't know, I'm just a builder haha. Hope this makes sense. image

muppet3000 commented 8 months ago

@sidequest-tomas - Thanks for the response and the investigations. Could you give me a bullet point list of what is/isn't working?

To be clear, what this integration does is read the values from MQTT and then given them nice human readable names and manipulates them slightly by dividing them by either 10 or 100 to get the correct scale. There's nothing else 'special' that I do with it.

I do have some extra values though that are calculated on the fly, if you'd like to tell me which values (give me the names of the sensors you see in HA, or if they're missing, the names from the grott output) need to be summed together and what the name of the new sensor should be then I can add those in as well.

Sorry to be pedantic, I just struggle to process specific bugs/issues when they're spread over various comments and intermingled with screenshots etc. (all of the extra info is really handy, it's just helpful to have the requests in a single list).

sidequest-tomas commented 8 months ago

Hi, really appreciate your work! What i can not find in my integration is values for battery charged/discharged today. I got stat of charge value after a re-start, but even when using mqtt explorer i can not find the mapping.

muppet3000 commented 8 months ago

Hi, really appreciate your work! What i can not find in my integration is values for battery charged/discharged today. I got stat of charge value after a re-start, but even when using mqtt explorer i can not find the mapping.

Don't look in the integration, have a look in the grott output and see what it shows for the values, you'll see something like this:

"datalogserial": "DDD0CHD1MJ", - Already Mapped
"pvserial": "RKG8CGQ0LR", - Already Mapped
"pvstatus": 11, - Already Mapped
"vpv1": 0, - PV1 Voltage (Volt)
"vpv2": 0, - PV2 Voltage (Volt)
"ppv1": 0, - PV1 Power (Watt)
"ppv2": 0, - PV2 Power (Watt)
"buck1curr": 0, - ???? Buck1 current (Amp)
"buck2curr": 0, - ???? Buck2 current (Amp)
"op_watt": 2840, - ???? Output active power (Watt)
"pvpowerout": 2840, - Already Mapped as 'Output Power'
"op_va": 867840, - ???? Output apparent power (VA)
"acchr_watt": 0, - Battery AC Charge Power (Watt)
"acchr_VA": 0, - Battery AC Charge Voltage (Volt)
"bat_Volt": 5208, - Battery Voltage (Volt)
"batterySoc": 29, - State of Charge (Percentage)
"bus_volt": 4374, - Bus Voltage (Volt)
"grid_volt": 2383, - Grid Voltage (Volt)
"line_freq": 4992, - Line Frequency (Hertz)
"outputvolt": 2383, - Inverter Output Voltage (Volt)
"pvgridvoltage": 2383, - Already Mapped as 'Inverter Output Voltage (Single/First Phase)'
"outputfreq": 4996, - Output Frequency (Hertz)
"invtemp": 221, - Inverter Temperature (Celsius)
"dcdctemp": 222, - DC Temperature (Celsius)
"loadpercent": 56, - ???? Load percentage (%)
"buck1_ntc": 206, - ???? Buck1 temprature (C)
"buck2_ntc": 248, - ???? Buck2 temprature (C)
"OP_Curr": 11, - ???? Output current (Amp)
"Inv_Curr": 1, - ???? Inverter current (Amp)
"AC_InWatt": 2760, - Load Consumption Power (Watt) - Unsure about this - TODO
"AC_InVA": 2621, - Load Consumption Voltage (Volt) - Unsure about this - TODO
"faultBit": 0, - Fault Bit (number) - TODO
"warningBit": 0, - Warning Bit (number) - TODO
"faultValue": 0, - Fault Value (number) - TODO
"warningValue": 0, - Warning Value (number) - TODO
"constantPowerOK": 2440, - ???? Constant power OK flag (I think? documentation says 0: Not OK; 1:OK)
"epvtoday": 124, - Duplicate of pvenergytoday
"pvenergytoday": 124, - Already Mapped as 'Power Generation - Today (pvenergytoday)'
"epvtotal": 3956, - Already Mapped as 'PV-All Energy - Total'
"eacCharToday": 0, - Battery AC Charge Energy - Today (KWH)
"eacCharTotal": 2477, - Battery AC Charge Energy - Total (KWH)
"ebatDischarToday": 48, - Battery Discharged Energy - Today (KWH)
"ebatDischarTotal": 7717, - Battery Discharged Energy - Total (KWH)
"eacDischarToday": 29, - ???? - Maybe this is the battery discharge instead - TODO AC discharge energy today (AC bypass) (kwh)
"eacDischarTotal": 19772, - ???? - Maybe this is the battery discharge instead - TODO AC discharge energy totat (AC bypass) (kwh)
"ACCharCurr": 0, - AC Charge Current (AMPERE)
"ACDischarWatt": 2790, - ???? AC discharge watt (Watt) (consumption power/load power)
"ACDischarVA": 3190, - ???? AC discharge apparent power (VA)
"BatDischarWatt": 0, - Battery Discharging Power (Watt)
"BatDischarVA": 0, - - Battery Discharging Voltage (Volt)
"BatWatt": -200 - ???? Batt watt - Positive:Battery discharge power; Negative: Battery charge power.

Like we were using for discussions the other day, what one shows the correct values that you're missing and I can hunt them down, it's a very manual task to map them through so it's possible I've made a typo somewhere.

sidequest-tomas commented 8 months ago

When I switch back to default inverter type, i get the sensors at least. But with unknown state. Screenshot_20231016_153114_Home Assistant

muppet3000 commented 8 months ago

When I switch back to default inverter type, i get the sensors at least. But with unknown state. Screenshot_20231016_153114_Home Assistant

That integration you're showing is the MQTT integration, nothing to do with this one.

julianjosias commented 8 months ago

Hi muppet, any update with my sensors?

muppet3000 commented 8 months ago

@sidequest-tomas - Thanks for the response and the investigations. Could you give me a bullet point list of what is/isn't working?

To be clear, what this integration does is read the values from MQTT and then given them nice human readable names and manipulates them slightly by dividing them by either 10 or 100 to get the correct scale. There's nothing else 'special' that I do with it.

I do have some extra values though that are calculated on the fly, if you'd like to tell me which values (give me the names of the sensors you see in HA, or if they're missing, the names from the grott output) need to be summed together and what the name of the new sensor should be then I can add those in as well.

Sorry to be pedantic, I just struggle to process specific bugs/issues when they're spread over various comments and intermingled with screenshots etc. (all of the extra info is really handy, it's just helpful to have the requests in a single list).

@julianjosias I sent you this message last week, however I tagged the wrong person, really sorry. Could you give it a read and respond accordingly?

julianjosias commented 8 months ago

Hi muppet, no worries mate I understand I'm just thankful there are people like you in this community doing the great work! I laid it out as best I can in the below and understand if it is not something your integration does but thought it would make it easier if it can be implemented for anyone else that uses it for the SPF system. image

muppet3000 commented 8 months ago

Hi muppet, no worries mate I understand I'm just thankful there are people like you in this community doing the great work! I laid it out as best I can in the below and understand if it is not something your integration does but thought it would make it easier if it can be implemented for anyone else that uses it for the SPF system. image

Thanks, that's nice and clear.

Can you please do some manual checks for me to make sure that the values are actually being plumbed through from Grott for these. e.g. is the output in the Grott logs showing that BatWatt has a value? I'm sure I plumbed that one through that's call.

The extra calculated ones I'll try and plumb through for you soon.

julianjosias commented 8 months ago

BatWatt has a value I believe you assigned it to Battery Power in the Grott Integration. It shows positive and negative values. I might just be being pedantic and could probably just work with that. Its weird there is Battery Discharge Power (watt), Battery Discharging Voltage (voltage), Battery Discharged Energy - Today, and Battery Discharged Energy - Total available but not the sensors in the above table. It also doesn't show it in the Growatt documentation so I am guessing it will need to be added manually.

rabbadab commented 8 months ago

So I got help from Johan with my Grott setup for my MOD 10KTL3-XH Inverter and battery and smart meter. Now I get battery state of charged but it's not showing in the grott HA integration so probably some mapping needed? What I was told to change in grott for me was to run the latest beta 2.8.2 and use min as the inverter. This is the data I now get for the inverter:

` - pvserial : QDL1CKK12G

{"device": "QDL1CKK12G", "time": "2023-10-19T13:38:45", "buffered": "no", "values": {"pvserial": "QDL1CKK12G", "pvstatus": 1, "pvpowerin": 13235, "pv1voltage": 5084, "pv1current": 13, "pv1watt": 6609, "pv2voltage": 5097, "pv2current": 13, "pv2watt": 6626, "pv3voltage": 0, "pv3current": 0, "pv3watt": 0, "pv4voltage": 0, "pv4current": 0, "pv4watt": 0, "pvpowerout": 15062, "pvfrequentie": 5000, "pvgridvoltage": 2293, "pvgridcurrent": 22, "pvgridpower": 5044, "pvgridvoltage2": 2318, "pvgridcurrent2": 22, "pvgridpower2": 5099, "pvgridvoltage3": 2282, "pvgridcurrent3": 22, "pvgridpower3": 5020, "vacrs": 3952, "vacst": 3952, "vactr": 3981, "ptousertotal": 0, "ptogridtotal": 657, "ptoloadtotal": 12968, "totworktime": 33733621, "pvenergytoday": 62, "pvenergytotal": 67901, "epvtotal ": 66720, "epv1today ": 31, "epv1total": 34152, "epv2today": 28, "epv2total": 32568, "epv3today": 0, "epv3total": 0, "etousertoday": 238, "etousertotal": 50251, "etogridtoday": 1, "etogridtotal": 13784, "eloadtoday": 290, "eloadtotal": 101127, "deratingmode": 0, "iso": 65530, "dcir": 202, "dcis": 407, "dcit": 1009, "gfci": 71669, "pvtemperature": 203, "pvipmtemperature": 378, "temp3": 194, "temp4": 0, "temp5": 242, "pbusvoltage": 3092, "nbusvoltage": 3039, "ipf": 20000, "realoppercent": 15, "opfullwatt": 100000, "standbyflag": 0, "faultcode": 0, "warningcode": 0, "systemfaultword0": 0, "systemfaultword1": 0, "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 0, "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 0, "invstartdelaytime": 180, "bdconoffstate": 1, "drycontactstate": 0, "edischrtoday": 10, "edischrtotal": 14883, "echrtoday": 16, "echrtotal": 16943, "eacchrtoday": 6, "eacchrtotal": 1247, "priority": 0, "epsfac": 0, "epsvac1": 0, "epsiac1": 0, "epspac1": 0, "epsvac2": 0, "epsiac2": 0, "epspac2": 0, "epsvac3": 0, "epsiac3": 0, "epspac3": 0, "epspac": 0, "loadpercent": 0, "pf": 10000, "dcv": 0, "bdc1_sysstatemode": 513, "bdc1_faultcode": 0, "bdc1_warncode": 701, "bdc1_vbat": 21265, "bdc1_ibat": 1, "bdc1_soc": 12, "bdc1_vbus1": 6136, "bdc1_vbus2": 2990, "bdc1_ibb": 2, "bdc1_illc": 2, "bdc1_tempa": 197, "bdc1_tempb": 0, "bdc1_pdischr": 400, "bdc1_pchr": 0, "bdc1_edischrtotal": 14883, "bdc1_echrtotal": 16943, "bdc1_flag": 1, "bdc2_sysstatemode": 41, "bdc2_faultcode": 48, "bdc2_warncode": 0, "bdc2_vbat": 111, "bdc2_ibat": 85, "bdc2_soc": 1, "bdc2_vbus1": 13, "bdc2_vbus2": 0, "bdc2_ibb": 0, "bdc2_illc": 1, "bdc2_tempa": 0, "bdc2_tempb": 46, "bdc2_pdischr": 3014656, "bdc2_pchr": 0, "bdc2_edischrtotal": 0, "bdc2_echrtotal": 0, "bdc2_flag": 0, "bms_status": 4, "bms_error": 0, "bms_warninfo": 0, "bms_soc": 12, "bms_batteryvolt": 21110, "bms_batterycurr": 65516, "bms_batterytemp": 293, "bms_maxcurr": 1500, "bms_deltavolt": 2500, "bms_cyclecnt": 0, "bms_soh": 100, "bms_constantvolt": 22720, "bms_bms_info": 18880, "bms_packinfo": 0, "bms_usingcap": 0, "bms_fw": 10471, "bms_mcuversion": 0, "bms_commtype": 0}}

muppet3000 commented 8 months ago

BatWatt has a value I believe you assigned it to Battery Power in the Grott Integration. It shows positive and negative values. I might just be being pedantic and could probably just work with that. Its weird there is Battery Discharge Power (watt), Battery Discharging Voltage (voltage), Battery Discharged Energy - Today, and Battery Discharged Energy - Total available but not the sensors in the above table. It also doesn't show it in the Growatt documentation so I am guessing it will need to be added manually.

Sorry @julianjosias I missed this response, I'll take a look, I've also been asked about something similar here: #57 do maybe there's some duplication in the requests? I'll update when there's another push?

muppet3000 commented 8 months ago

So I got help from Johan with my Grott setup for my MOD 10KTL3-XH Inverter and battery and smart meter. Now I get battery state of charged but it's not showing in the grott HA integration so probably some mapping needed? What I was told to change in grott for me was to run the latest beta 2.8.2 and use min as the inverter. This is the data I now get for the inverter:

` - pvserial : QDL1CKK12G

  • pvstatus : 1
  • pvpowerin : 1323.5
  • pv1voltage : 508.4
  • pv1current : 1.3
  • pv1watt : 660.9
  • pv2voltage : 509.7
  • pv2current : 1.3
  • pv2watt : 662.6
  • pv3voltage : 0.0
  • pv3current : 0.0
  • pv3watt : 0.0
  • pv4voltage : 0.0
  • pv4current : 0.0
  • pv4watt : 0.0
  • pvpowerout : 1506.2
  • pvfrequentie : 50.0
  • pvgridvoltage : 229.3
  • pvgridcurrent : 2.2
  • pvgridpower : 504.4
  • pvgridvoltage2 : 231.8
  • pvgridcurrent2 : 2.2
  • pvgridpower2 : 509.9
  • pvgridvoltage3 : 228.2
  • pvgridcurrent3 : 2.2
  • pvgridpower3 : 502.0
  • vacrs : 395.2
  • vacst : 395.2
  • vactr : 398.1
  • ptousertotal : 0.0
  • ptogridtotal : 65.7
  • ptoloadtotal : 1296.8
  • totworktime : 4685.2
  • pvenergytoday : 6.2
  • pvenergytotal : 6790.1
  • epvtotal : 6672.0
  • epv1today : 3.1
  • epv1total : 3415.2
  • epv2today : 2.8
  • epv2total : 3256.8
  • epv3today : 0.0
  • epv3total : 0.0
  • etousertoday : 23.8
  • etousertotal : 5025.1
  • etogridtoday : 0.1
  • etogridtotal : 1378.4
  • eloadtoday : 29.0
  • eloadtotal : 10112.7
  • deratingmode : 0
  • iso : 65530
  • dcir : 20.2
  • dcis : 40.7
  • dcit : 100.9
  • gfci : 71669
  • pvtemperature : 20.3
  • pvipmtemperature : 37.8
  • temp3 : 19.4
  • temp4 : 0.0
  • temp5 : 24.2
  • pbusvoltage : 309.2
  • nbusvoltage : 303.9
  • ipf : 20000
  • realoppercent : 15
  • opfullwatt : 10000.0
  • standbyflag : 0
  • faultcode : 0
  • warningcode : 0
  • systemfaultword0 : 0
  • systemfaultword1 : 0
  • systemfaultword2 : 0
  • systemfaultword3 : 0
  • systemfaultword4 : 0
  • systemfaultword5 : 0
  • systemfaultword6 : 0
  • systemfaultword7 : 0
  • invstartdelaytime : 180
  • bdconoffstate : 1
  • drycontactstate : 0
  • edischrtoday : 1.0
  • edischrtotal : 1488.3
  • echrtoday : 1.6
  • echrtotal : 1694.3
  • eacchrtoday : 0.6
  • eacchrtotal : 124.7
  • priority : 0
  • epsfac : 0.0
  • epsvac1 : 0.0
  • epsiac1 : 0.0
  • epspac1 : 0.0
  • epsvac2 : 0.0
  • epsiac2 : 0.0
  • epspac2 : 0.0
  • epsvac3 : 0.0
  • epsiac3 : 0.0
  • epspac3 : 0.0
  • epspac : 0.0
  • loadpercent : 0.0
  • pf : 1000.0
  • dcv : 0
  • bdc1_sysstatemode : 513
  • bdc1_faultcode : 0
  • bdc1_warncode : 701
  • bdc1_vbat : 212.7
  • bdc1_ibat : 0.1
  • bdc1_soc : 12
  • bdc1_vbus1 : 613.6
  • bdc1_vbus2 : 299.0
  • bdc1_ibb : 0.2
  • bdc1_illc : 0.2
  • bdc1_tempa : 19.7
  • bdc1_tempb : 0.0
  • bdc1_pdischr : 40.0
  • bdc1_pchr : 0.0
  • bdc1_edischrtotal : 1488.3
  • bdc1_echrtotal : 1694.3
  • bdc1_flag : 1
  • bdc2_sysstatemode : 41
  • bdc2_faultcode : 48
  • bdc2_warncode : 0
  • bdc2_vbat : 1.1
  • bdc2_ibat : 8.5
  • bdc2_soc : 1
  • bdc2_vbus1 : 1.3
  • bdc2_vbus2 : 0.0
  • bdc2_ibb : 0.0
  • bdc2_illc : 0.1
  • bdc2_tempa : 0.0
  • bdc2_tempb : 4.6
  • bdc2_pdischr : 301465.6
  • bdc2_pchr : 0.0
  • bdc2_edischrtotal : 0.0
  • bdc2_echrtotal : 0.0
  • bdc2_flag : 0
  • bms_status : 4
  • bms_error : 0
  • bms_warninfo : 0
  • bms_soc : 12
  • bms_batteryvolt : 211.1
  • bms_batterycurr : 655.2
  • bms_batterytemp : 29.3
  • bms_maxcurr : 15.0
  • bms_deltavolt : 25.0
  • bms_cyclecnt : 0
  • bms_soh : 100
  • bms_constantvolt : 227.2
  • bms_bms_info : 18880
  • bms_packinfo : 0
  • bms_usingcap : 0
  • bms_fw : 10471
  • bms_mcuversion : 0
  • bms_commtype : 0`

{"device": "QDL1CKK12G", "time": "2023-10-19T13:38:45", "buffered": "no", "values": {"pvserial": "QDL1CKK12G", "pvstatus": 1, "pvpowerin": 13235, "pv1voltage": 5084, "pv1current": 13, "pv1watt": 6609, "pv2voltage": 5097, "pv2current": 13, "pv2watt": 6626, "pv3voltage": 0, "pv3current": 0, "pv3watt": 0, "pv4voltage": 0, "pv4current": 0, "pv4watt": 0, "pvpowerout": 15062, "pvfrequentie": 5000, "pvgridvoltage": 2293, "pvgridcurrent": 22, "pvgridpower": 5044, "pvgridvoltage2": 2318, "pvgridcurrent2": 22, "pvgridpower2": 5099, "pvgridvoltage3": 2282, "pvgridcurrent3": 22, "pvgridpower3": 5020, "vacrs": 3952, "vacst": 3952, "vactr": 3981, "ptousertotal": 0, "ptogridtotal": 657, "ptoloadtotal": 12968, "totworktime": 33733621, "pvenergytoday": 62, "pvenergytotal": 67901, "epvtotal ": 66720, "epv1today ": 31, "epv1total": 34152, "epv2today": 28, "epv2total": 32568, "epv3today": 0, "epv3total": 0, "etousertoday": 238, "etousertotal": 50251, "etogridtoday": 1, "etogridtotal": 13784, "eloadtoday": 290, "eloadtotal": 101127, "deratingmode": 0, "iso": 65530, "dcir": 202, "dcis": 407, "dcit": 1009, "gfci": 71669, "pvtemperature": 203, "pvipmtemperature": 378, "temp3": 194, "temp4": 0, "temp5": 242, "pbusvoltage": 3092, "nbusvoltage": 3039, "ipf": 20000, "realoppercent": 15, "opfullwatt": 100000, "standbyflag": 0, "faultcode": 0, "warningcode": 0, "systemfaultword0": 0, "systemfaultword1": 0, "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 0, "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 0, "invstartdelaytime": 180, "bdconoffstate": 1, "drycontactstate": 0, "edischrtoday": 10, "edischrtotal": 14883, "echrtoday": 16, "echrtotal": 16943, "eacchrtoday": 6, "eacchrtotal": 1247, "priority": 0, "epsfac": 0, "epsvac1": 0, "epsiac1": 0, "epspac1": 0, "epsvac2": 0, "epsiac2": 0, "epspac2": 0, "epsvac3": 0, "epsiac3": 0, "epspac3": 0, "epspac": 0, "loadpercent": 0, "pf": 10000, "dcv": 0, "bdc1_sysstatemode": 513, "bdc1_faultcode": 0, "bdc1_warncode": 701, "bdc1_vbat": 21265, "bdc1_ibat": 1, "bdc1_soc": 12, "bdc1_vbus1": 6136, "bdc1_vbus2": 2990, "bdc1_ibb": 2, "bdc1_illc": 2, "bdc1_tempa": 197, "bdc1_tempb": 0, "bdc1_pdischr": 400, "bdc1_pchr": 0, "bdc1_edischrtotal": 14883, "bdc1_echrtotal": 16943, "bdc1_flag": 1, "bdc2_sysstatemode": 41, "bdc2_faultcode": 48, "bdc2_warncode": 0, "bdc2_vbat": 111, "bdc2_ibat": 85, "bdc2_soc": 1, "bdc2_vbus1": 13, "bdc2_vbus2": 0, "bdc2_ibb": 0, "bdc2_illc": 1, "bdc2_tempa": 0, "bdc2_tempb": 46, "bdc2_pdischr": 3014656, "bdc2_pchr": 0, "bdc2_edischrtotal": 0, "bdc2_echrtotal": 0, "bdc2_flag": 0, "bms_status": 4, "bms_error": 0, "bms_warninfo": 0, "bms_soc": 12, "bms_batteryvolt": 21110, "bms_batterycurr": 65516, "bms_batterytemp": 293, "bms_maxcurr": 1500, "bms_deltavolt": 2500, "bms_cyclecnt": 0, "bms_soh": 100, "bms_constantvolt": 22720, "bms_bms_info": 18880, "bms_packinfo": 0, "bms_usingcap": 0, "bms_fw": 10471, "bms_mcuversion": 0, "bms_commtype": 0}}

Thanks for the information, this is exactly what I need to be able to implement new statistics. Can you tell me what sensors are missing? I need to know what the name of the stat is in the grott output and what it is in 'human readable' terms and also what unit of measurement they're supposed to be e.g. Watt. Bonus points for doing it as a tick list like below so I can tick them off as I fix them. e.g.