syssi / esphome-soyosource-gtn-virtual-meter

ESPHome component to simulate the current clamp to control the Soyosource GTN1200 limiter
Apache License 2.0
79 stars 22 forks source link

Add restore mode for the operation mode (display version)? #154

Closed Kobbe1 closed 1 year ago

Kobbe1 commented 1 year ago

Hi there, great project!

I think the above option misses the restore function, so when rebooting it seems to default to battery for me. Might be the inverter loosing its setting too of course, maybe someone else knows.

I can easily fix it and set it through HA automation but its not exactly elegant.

So consider this fairly low priority ...

Thanks!

-T

syssi commented 1 year ago

This is strange because the inverter is responsible for storing the operation mode. It get's retrieved from the inverter if the ESP reboots. A ESP reboot shouldn't trigger a settings update on the inverter.

Chickenbreast0 commented 1 year ago

@Kobbe1

For me your issue sounds like a damaged CPU Board. It is pretty common, that your Soyo 'forgets' it's settings, if the cpu board is damaged.

Kobbe1 commented 1 year ago

Thanks. You are right, this is something the ESP should read from the inverter. It is already a replacement board as the inverter does funny things above 700W (pretty much constantly cycles between startup and standby), so maybe that caused it. As it works otherwise and only happens very seldomly (the settings I mean) I won't do anything about it.

Chickenbreast0 commented 1 year ago

Can you post your *.yaml code here and maybe some logs? Otherwise we are diggin' in a deep, dark hole ;) Cheers

Kobbe1 commented 1 year ago

Sure. This is a silent soyo, running with a modbus limiter. I added a temperature sensor and a PWM fan (it is the light in the yaml) All works so far apart from the 700W limit (this is unrelated to limiter - it also happens when the inverter runs on its own), and sometimes the status values are not reported for some hours. Might be heat related, I think I stupidly used hotglue to hold some of the display wires ... And yes, wifi is weak, but it works suprisingly well.

substitutions:
  name: soyosource-gtn-display
  device_description: "Monitor and control the Soyosource GTN (display version) via the display port and control the power output on demand via RS485"
  external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main
  tx_pin_ttl_wifi: GPIO15
  rx_pin_ttl_wifi: GPIO13
  tx_pin_rs485: GPIO1
  rx_pin_rs485: GPIO3

output:
  - platform: esp8266_pwm
    pin: D4
    frequency: 1000 Hz
    id: pwm_output
    zero_means_zero: true 
    min_power: 0.1

light:
  - platform: monochromatic
    output: pwm_output
    name: "Extra fan"
    id: extra_fan
    restore_mode: RESTORE_DEFAULT_ON 

esphome:
  name: ${name}
  comment: ${device_description}
  project:
    name: "syssi.esphome-soyosource-gtn-virtual-meter"
    version: 2.1.2

esp8266:
  board: nodemcuv2
  restore_from_flash: true
external_components:
  - source: ${external_components_source}
 #   refresh: 0s

wifi:

  networks:
  - ssid: !secret wifi_ssid
    password: !secret wifi_password
  use_address: 192.168.178.xxx

  ap:
    ssid: "xxx"
    password: "xxx"

ota:
  safe_mode: true

logger:
  level: DEBUG
  baud_rate: 0

api:

captive_portal:
dallas:
  - pin: GPIO14
    update_interval: 60s
uart:
  - id: uart_0
    baud_rate: 9600
    tx_pin: ${tx_pin_ttl_wifi}
    rx_pin: ${rx_pin_ttl_wifi}

  - id: uart_1
    baud_rate: 4800
    tx_pin: ${tx_pin_rs485}
    rx_pin: ${rx_pin_rs485}

soyosource_modbus:
  - id: modbus0
    uart_id: uart_1
    name: firstfloor_inverter

soyosource_virtual_meter:
  - id: virtualmeter0
    soyosource_modbus_id: modbus0
    power_id: powermeter0
    power_sensor_inactivity_timeout: 200s
    power_demand_calculation: DUMB_OEM_BEHAVIOR
    min_power_demand: 0
    max_power_demand: 900
    zero_output_on_min_power_demand: false
    power_demand_divider: 1
    buffer: 10
    update_interval: 3s

soyosource_display:
  - id: display0
    uart_id: uart_0
    protocol_version: SOYOSOURCE_DISPLAY_VERSION
    update_interval: 5s

binary_sensor:
  - platform: soyosource_display
    fan_running:
      name: "${name} fan running"
    limiter_connected:
      name: "${name} limiter connected"

button:
  - platform: soyosource_display
    restart:
      name: "${name} restart"
  - platform: safe_mode
    name: "Restart (Safe Mode)"
number:
  - platform: soyosource_virtual_meter
    soyosource_virtual_meter_id: virtualmeter0
    buffer:
      name: "${name} buffer"
      initial_value: 10
      restore_value: true
    manual_power_demand:
      name: "${name} manual power demand"
      initial_value: 600
      max_value: 900
      restore_value: true
    max_power_demand:
      name: "${name} max power demand"
      initial_value: 900
      max_value: 900
      restore_value: true
    power_demand_divider:
      name: "${name} power demand divider"
      initial_value: 1
      restore_value: true
  - platform: soyosource_display
    start_voltage:
      name: "${name} start voltage"
    shutdown_voltage:
      name: "${name} shutdown voltage"
    output_power_limit:
      name: "${name} output power limit"
    start_delay:
      name: "${name} start delay"

select:
  - platform: soyosource_display
    operation_mode:
      name: "${name} operation mode"
      optionsmap:
        1: "PV"
        17: "PV Limit"
        2: "Battery Constant Power"
        18: "Battery Limit"

sensor:
  - platform: dallas
    address: xxx
    name: "DS18B20 temp"
    resolution: 10
    on_value_range:
      - below: 15.0
        then:
          - if:
              condition:
                not:
                  api.connected:
              then:
                - light.turn_off: extra_fan
      - above: 25.0
        then:
          - if:
              condition:
                not:
                  api.connected:
              then:
                - light.turn_on: extra_fan

  - platform: wifi_signal
    name: "WiFi Signal Sensor"
    update_interval: 5s
    accuracy_decimals: 1
    filters:
    - sliding_window_moving_average:
        window_size: 20
        send_every: 60
  - platform: uptime
    name: Uptime Sensor
  - platform: soyosource_virtual_meter
    soyosource_virtual_meter_id: virtualmeter0
    power_demand:
      name: "${name} power demand"
  - platform: soyosource_display
    error_bitmask:
      name: "${name} error bitmask"
    operation_mode_id:
      name: "${name} operation mode id"
    operation_status_id:
      name: "${name} operation status id"
      id: operation_status_id0
    battery_voltage:
      name: "${name} battery voltage"
      filters:
       - throttle_average: 30s
    battery_current:
      name: "${name} battery current"
      filters:
       - throttle_average: 120s
    battery_power:
      name: "${name} battery power"
      filters:
       - throttle_average: 120s
    ac_voltage:
      name: "${name} AC voltage"
      filters:
       - throttle_average: 120s
    ac_frequency:
      name: "${name} AC frequency"
      filters:
       - throttle_average: 120s
    temperature:
      name: "${name} temperature"
      filters:
       - throttle_average: 30s
      on_value_range:
      - below: 25.0
        then:

      - above: 35.0
        then:
                - light.turn_on: extra_fan

    output_power:
      name: "${name} output power"
  - platform: homeassistant
    id: powermeter0
    name: "${name} smartmeter instantaneous power"
    entity_id: sensor.floattest
    filters:
      - throttle_average: 3s

switch:
  - platform: soyosource_virtual_meter
    soyosource_virtual_meter_id: virtualmeter0
    manual_mode:
      name: "${name} manual mode"
      restore_mode: RESTORE_DEFAULT_ON
    emergency_power_off:
      name: "${name} emergency power off"
      restore_mode: RESTORE_DEFAULT_OFF

text_sensor:
  - platform: soyosource_virtual_meter
    soyosource_virtual_meter_id: virtualmeter0
    operation_mode:
      name: "${name} limiter operation mode"

  - platform: soyosource_display
    errors:
      name: "${name} errors"
    operation_mode:
      name: "${name} operation mode"
    operation_status:
      name: "${name} operation status"

  - platform: soyosource_virtual_meter
    soyosource_virtual_meter_id: virtualmeter0
    operation_mode:
      name: "${name} limiter operation mode"
INFO Reading configuration /config/esphome-soyo.yaml...
INFO Starting log output from 192.168.178.xxx using esphome API
INFO Successfully connected to 192.168.178.xxx
[22:53:39][I][app:102]: ESPHome version 2023.4.4 compiled on Sep 16 2023, 23:02:36
[22:53:39][I][app:104]: Project syssi.esphome-soyosource-gtn-virtual-meter version 2.1.2
[22:53:39][C][wifi:505]: WiFi:
[22:53:39][C][wifi:363]:   Local MAC: xxx
[22:53:39][C][wifi:364]:   SSID: [redacted]
[22:53:39][C][wifi:365]:   IP Address: 192.168.178.xxx
[22:53:39][C][wifi:366]:   BSSID: [redacted]
[22:53:39][C][wifi:368]:   Hostname: 'soyosource-gtn-display'
[22:53:39][C][wifi:370]:   Signal strength: -88 dB ▂▄▆█
[22:53:39][C][wifi:374]:   Channel: xxx
[22:53:39][C][wifi:375]:   Subnet: 255.255.255.0
[22:53:39][C][wifi:376]:   Gateway: 192.168.178.xxx
[22:53:39][C][wifi:377]:   DNS1: 192.168.178.xxx
[22:53:39][C][wifi:378]:   DNS2: xxx
[22:53:39][C][logger:294]: Logger:
[22:53:39][C][logger:295]:   Level: DEBUG
[22:53:39][C][logger:296]:   Log Baud Rate: 0
[22:53:39][C][logger:297]:   Hardware UART: UART0
[22:53:39][C][uart.arduino_esp8266:102]: UART Bus:
[22:53:39][C][uart.arduino_esp8266:103]:   TX Pin: GPIO15
[22:53:39][C][uart.arduino_esp8266:104]:   RX Pin: GPIO13
[22:53:39][C][uart.arduino_esp8266:106]:   RX Buffer Size: 256
[22:53:39][C][uart.arduino_esp8266:108]:   Baud Rate: 9600 baud
[22:53:39][C][uart.arduino_esp8266:109]:   Data Bits: 8
[22:53:39][C][uart.arduino_esp8266:110]:   Parity: NONE
[22:53:39][C][uart.arduino_esp8266:111]:   Stop bits: 1
[22:53:39][C][uart.arduino_esp8266:113]:   Using hardware serial interface.
[22:53:39][C][uart.arduino_esp8266:102]: UART Bus:
[22:53:39][C][uart.arduino_esp8266:103]:   TX Pin: GPIO1
[22:53:39][C][uart.arduino_esp8266:104]:   RX Pin: GPIO3
[22:53:39][C][uart.arduino_esp8266:106]:   RX Buffer Size: 256
[22:53:39][C][uart.arduino_esp8266:108]:   Baud Rate: 4800 baud
[22:53:39][C][uart.arduino_esp8266:109]:   Data Bits: 8
[22:53:39][C][uart.arduino_esp8266:110]:   Parity: NONE
[22:53:39][C][uart.arduino_esp8266:111]:   Stop bits: 1
[22:53:39][C][uart.arduino_esp8266:115]:   Using software serial
[22:53:39][C][soyosource_modbus:082]: SoyosourceModbus:
[22:53:39][C][soyosource_display:451]: SoyosourceDisplay:
[22:53:39][C][soyosource_display:452]: Error bitmask 'soyosource-gtn-display error bitmask'
[22:53:39][C][soyosource_display:452]:   State Class: 'measurement'
[22:53:39][C][soyosource_display:452]:   Unit of Measurement: ''
[22:53:39][C][soyosource_display:452]:   Accuracy Decimals: 0
[22:53:39][C][soyosource_display:452]:   Icon: 'mdi:alert-circle-outline'
[22:53:39][C][soyosource_display:453]: Errors 'soyosource-gtn-display errors'
[22:53:39][C][soyosource_display:453]:   Icon: 'mdi:alert-circle-outline'
[22:53:39][C][soyosource_display:454]: Operation Mode ID 'soyosource-gtn-display operation mode id'
[22:53:39][C][soyosource_display:454]:   State Class: 'measurement'
[22:53:39][C][soyosource_display:454]:   Unit of Measurement: ''
[22:53:39][C][soyosource_display:454]:   Accuracy Decimals: 0
[22:53:39][C][soyosource_display:454]:   Icon: 'mdi:heart-pulse'
[22:53:39][C][soyosource_display:455]: Operation Mode 'soyosource-gtn-display operation mode'
[22:53:39][C][soyosource_display:455]:   Icon: 'mdi:heart-pulse'
[22:53:39][C][soyosource_display:456]: Operation Status ID 'soyosource-gtn-display operation status id'
[22:53:39][C][soyosource_display:456]:   Icon: 'mdi:heart-pulse'
[22:53:39][C][soyosource_display:457]: Operation Status 'soyosource-gtn-display operation status'
[22:53:39][C][soyosource_display:457]:   Icon: 'mdi:heart-pulse'
[22:53:39][C][soyosource_display:458]: Battery Voltage 'soyosource-gtn-display battery voltage'
[22:53:39][C][soyosource_display:458]:   Device Class: 'voltage'
[22:53:39][C][uptime.sensor:031]: Uptime Sensor 'Uptime Sensor'
[22:53:39][C][uptime.sensor:031]:   Device Class: 'duration'
[22:53:39][C][uptime.sensor:031]:   State Class: 'total_increasing'
[22:53:39][C][uptime.sensor:031]:   Unit of Measurement: 's'
[22:53:39][C][uptime.sensor:031]:   Accuracy Decimals: 0
[22:53:39][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[22:53:40][C][light:103]: Light 'Extra fan'
[22:53:40][C][light:105]:   Default Transition Length: 1.0s
[22:53:40][C][light:106]:   Gamma Correct: 2.80
[22:53:40][C][dallas.sensor:075]: DallasComponent:
[22:53:40][C][dallas.sensor:076]:   Pin: GPIO14
[22:53:40][C][dallas.sensor:077]:   Update Interval: 60.0s
[22:53:40][D][dallas.sensor:082]:   Found sensors:
[22:53:40][D][dallas.sensor:084]:     xxx
[22:53:40][C][dallas.sensor:089]:   Device 'DS18B20 temp'
[22:53:40][C][dallas.sensor:089]:     Device Class: 'temperature'
[22:53:40][C][dallas.sensor:089]:     State Class: 'measurement'
[22:53:40][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[22:53:40][C][dallas.sensor:089]:     Accuracy Decimals: 1
[22:53:40][C][dallas.sensor:097]:     Address: xxx
[22:53:40][C][dallas.sensor:098]:     Resolution: 10
[22:53:40][C][soyosource_virtual_meter:027]: SoyosourceVirtualMeter:
[22:53:40][C][soyosource_virtual_meter:028]:   Address: 0x24
[22:53:40][C][soyosource_virtual_meter:029]: Power Demand 'soyosource-gtn-display power demand'
[22:53:40][C][soyosource_virtual_meter:029]:   Device Class: 'power'
[22:53:40][C][soyosource_virtual_meter:029]:   State Class: ''
[22:53:40][C][soyosource_virtual_meter:029]:   Unit of Measurement: 'W'
[22:53:40][C][soyosource_virtual_meter:029]:   Accuracy Decimals: 0
[22:53:40][C][soyosource_display.button:010]: SoyosourceDisplay Button 'soyosource-gtn-display restart'
[22:53:40][C][soyosource_display.button:010]:   Icon: 'mdi:restart'
[22:53:40][C][safe_mode.button:022]: Safe Mode Button 'Restart (Safe Mode)'
[22:53:40][C][safe_mode.button:022]:   Icon: 'mdi:restart-alert'
[22:53:40][C][soyosource_virtual_meter.number:050]: SoyosourceVirtualMeter Number 'soyosource-gtn-display manual power demand'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Icon: 'mdi:home-lightning-bolt-outline'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Unit of Measurement: 'W'
[22:53:40][C][soyosource_virtual_meter.number:050]: SoyosourceVirtualMeter Number 'soyosource-gtn-display max power demand'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Icon: 'mdi:transmission-tower-import'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Unit of Measurement: 'W'
[22:53:40][C][soyosource_virtual_meter.number:050]: SoyosourceVirtualMeter Number 'soyosource-gtn-display buffer'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Icon: 'mdi:vector-difference'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Unit of Measurement: 'W'
[22:53:40][C][soyosource_virtual_meter.number:050]: SoyosourceVirtualMeter Number 'soyosource-gtn-display power demand divider'
[22:53:40][C][soyosource_virtual_meter.number:050]:   Icon: 'mdi:chart-arc'
[22:53:40][C][soyosource_display.number:009]: SoyosourceDisplay Number 'soyosource-gtn-display start voltage'
[22:53:40][C][soyosource_display.number:009]:   Unit of Measurement: 'V'
[22:53:40][C][soyosource_display.number:009]: SoyosourceDisplay Number 'soyosource-gtn-display shutdown voltage'
[22:53:40][C][soyosource_display.number:009]:   Unit of Measurement: 'V'
[22:53:40][C][soyosource_display.number:009]: SoyosourceDisplay Number 'soyosource-gtn-display output power limit'
[22:53:40][C][soyosource_display.number:009]:   Unit of Measurement: 'W'
[22:53:40][C][soyosource_display.number:009]: SoyosourceDisplay Number 'soyosource-gtn-display start delay'
[22:53:40][C][soyosource_display.number:009]:   Unit of Measurement: 's'
[22:53:40][C][soyosource_display.select:025]: soyosource_display.selectSoyosourceDisplay Select 'soyosource-gtn-display operation mode'
[22:53:40][C][soyosource_display.select:025]: soyosource_display.select  Icon: 'mdi:heart-pulse'
[22:53:40][C][soyosource_display.select:026]:   Select has register 10
[22:53:40][C][soyosource_display.select:027]:   Options are:
[22:53:40][C][soyosource_display.select:030]:     1: PV
[22:53:40][C][soyosource_display.select:030]:     17: PV Limit
[22:53:40][C][soyosource_display.select:030]:     2: Battery Constant Power
[22:53:40][C][soyosource_display.select:030]:     18: Battery Limit
[22:53:40][C][soyosource_virtual_meter.switch:075]: SoyosourceVirtualMeter Switch 'soyosource-gtn-display manual mode'
[22:53:40][C][soyosource_virtual_meter.switch:077]:   Icon: 'mdi:auto-fix'
[22:53:40][C][soyosource_virtual_meter.switch:097]:   Restore Mode: restore defaults to OFF
[22:53:40][C][soyosource_virtual_meter.switch:052]:   Restore Mode: Restore (Defaults to ON)
[22:53:40][C][soyosource_virtual_meter.switch:075]: SoyosourceVirtualMeter Switch 'soyosource-gtn-display emergency power off'
[22:53:40][C][soyosource_virtual_meter.switch:077]:   Icon: 'mdi:power'
[22:53:40][C][soyosource_virtual_meter.switch:097]:   Restore Mode: restore defaults to OFF
[22:53:40][C][soyosource_virtual_meter.switch:052]:   Restore Mode: Restore (Defaults to OFF)
[22:53:40][C][captive_portal:088]: Captive Portal:
[22:53:40][C][mdns:108]: mDNS:
[22:53:40][C][mdns:109]:   Hostname: soyosource-gtn-display
[22:53:40][C][ota:093]: Over-The-Air Updates:
[22:53:40][C][ota:094]:   Address: 192.168.178.xxx
[22:53:40][C][api:138]: API Server:
[22:53:40][C][api:139]:   Address: 192.168.178.xxx
[22:53:40][C][api:143]:   Using noise encryption: NO
[22:53:40][C][wifi_signal.sensor:009]: WiFi Signal 'WiFi Signal Sensor'
[22:53:40][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[22:53:40][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[22:53:40][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[22:53:40][C][wifi_signal.sensor:009]:   Accuracy Decimals: 1
[22:53:40][C][homeassistant.sensor:030]: Homeassistant Sensor 'soyosource-gtn-display smartmeter instantaneous power'
[22:53:40][C][homeassistant.sensor:030]:   State Class: ''
[22:53:40][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[22:53:40][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[22:53:40][C][homeassistant.sensor:031]:   Entity ID: 'sensor.floattest'
[22:53:40][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:40][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:40][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:40][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:41][D][soyosource_display:514]: Send command: 55.01.00.00.00.FE (6)
[22:53:41][I][soyosource_display:235]: Status frame (Soyo, 15 bytes) received
[22:53:41][D][soyosource_display:236]:   A6.02.8A.61.42.00.00.00.00.00.DE.64.01.F6.97 (15)
[22:53:41][D][sensor:109]: 'soyosource-gtn-display output power': Sending state 0.00000 W with 0 decimals of accuracy
[22:53:41][D][sensor:109]: 'soyosource-gtn-display operation mode id': Sending state 6.00000  with 0 decimals of accuracy
[22:53:41][D][text_sensor:064]: 'soyosource-gtn-display operation mode': Sending state 'PV'
[22:53:41][D][sensor:109]: 'soyosource-gtn-display operation status id': Sending state 2.00000  with 0 decimals of accuracy
[22:53:41][D][text_sensor:064]: 'soyosource-gtn-display operation status': Sending state 'Standby'
[22:53:41][D][sensor:109]: 'soyosource-gtn-display error bitmask': Sending state 2.00000  with 0 decimals of accuracy
[22:53:41][D][text_sensor:064]: 'soyosource-gtn-display errors': Sending state 'DC voltage too low'
[22:53:41][D][soyosource_display:514]: Send command: 55.03.00.00.00.FC (6)
[22:53:42][I][soyosource_display:386]: Settings (Soyo, 15 bytes):
[22:53:42][D][soyosource_display:387]:   A6.02.8A.63.42.D2.18.1E.16.00.DE.64.5A.03.11 (15)
[22:53:42][I][soyosource_display:399]:   Operation mode setting: 1 (0x01)
[22:53:42][D][select:015]: 'soyosource-gtn-display operation mode': Sending state PV (index 0)
[22:53:42][I][soyosource_display:412]:   Device model: 1000 W (210)
[22:53:42][I][soyosource_display:415]:   Device type: PV 26-56V / BAT 24V (24)
[22:53:42][I][soyosource_display:419]:   Start voltage: 30 V
[22:53:42][D][number:012]: 'soyosource-gtn-display start voltage': Sending state 30.000000
[22:53:42][I][soyosource_display:425]:   Shutdown voltage: 22 V
[22:53:42][D][number:012]: 'soyosource-gtn-display shutdown voltage': Sending state 22.000000
[22:53:42][I][soyosource_display:439]:   Output power limit: 900 W
[22:53:42][D][number:012]: 'soyosource-gtn-display output power limit': Sending state 900.000000
[22:53:42][I][soyosource_display:445]:   Start delay: 3 s
[22:53:42][D][number:012]: 'soyosource-gtn-display start delay': Sending state 3.000000
[22:53:43][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:43][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:43][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:43][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:46][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:46][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:46][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:46][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:46][D][soyosource_display:514]: Send command: 55.01.00.00.00.FE (6)
[22:53:46][I][soyosource_display:235]: Status frame (Soyo, 15 bytes) received
[22:53:46][D][soyosource_display:236]:   A6.02.8A.61.42.00.00.00.00.00.DB.64.01.F6.9A (15)
[22:53:46][D][sensor:109]: 'soyosource-gtn-display output power': Sending state 0.00000 W with 0 decimals of accuracy
[22:53:46][D][sensor:109]: 'soyosource-gtn-display operation mode id': Sending state 6.00000  with 0 decimals of accuracy
[22:53:46][D][text_sensor:064]: 'soyosource-gtn-display operation mode': Sending state 'PV'
[22:53:46][D][sensor:109]: 'soyosource-gtn-display operation status id': Sending state 2.00000  with 0 decimals of accuracy
[22:53:46][D][text_sensor:064]: 'soyosource-gtn-display operation status': Sending state 'Standby'
[22:53:46][D][sensor:109]: 'soyosource-gtn-display error bitmask': Sending state 2.00000  with 0 decimals of accuracy
[22:53:46][D][text_sensor:064]: 'soyosource-gtn-display errors': Sending state 'DC voltage too low'
[22:53:46][D][soyosource_display:514]: Send command: 55.03.00.00.00.FC (6)
[22:53:47][I][soyosource_display:386]: Settings (Soyo, 15 bytes):
[22:53:47][D][soyosource_display:387]:   A6.02.8A.63.42.D2.18.1E.16.00.DB.64.5A.03.14 (15)
[22:53:47][I][soyosource_display:399]:   Operation mode setting: 1 (0x01)
[22:53:47][D][select:015]: 'soyosource-gtn-display operation mode': Sending state PV (index 0)
[22:53:47][I][soyosource_display:412]:   Device model: 1000 W (210)
[22:53:47][I][soyosource_display:415]:   Device type: PV 26-56V / BAT 24V (24)
[22:53:47][I][soyosource_display:419]:   Start voltage: 30 V
[22:53:47][D][number:012]: 'soyosource-gtn-display start voltage': Sending state 30.000000
[22:53:47][I][soyosource_display:425]:   Shutdown voltage: 22 V
[22:53:47][D][number:012]: 'soyosource-gtn-display shutdown voltage': Sending state 22.000000
[22:53:47][I][soyosource_display:439]:   Output power limit: 900 W
[22:53:47][D][number:012]: 'soyosource-gtn-display output power limit': Sending state 900.000000
[22:53:47][I][soyosource_display:445]:   Start delay: 3 s
[22:53:47][D][number:012]: 'soyosource-gtn-display start delay': Sending state 3.000000
[22:53:49][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:49][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:49][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:49][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:51][D][soyosource_display:514]: Send command: 55.01.00.00.00.FE (6)
[22:53:51][I][soyosource_display:235]: Status frame (Soyo, 15 bytes) received
[22:53:51][D][soyosource_display:236]:   A6.02.8A.61.42.00.00.00.00.00.DC.64.01.F7.98 (15)
[22:53:51][D][sensor:109]: 'soyosource-gtn-display output power': Sending state 0.00000 W with 0 decimals of accuracy
[22:53:51][D][sensor:109]: 'soyosource-gtn-display operation mode id': Sending state 6.00000  with 0 decimals of accuracy
[22:53:51][D][text_sensor:064]: 'soyosource-gtn-display operation mode': Sending state 'PV'
[22:53:51][D][sensor:109]: 'soyosource-gtn-display operation status id': Sending state 2.00000  with 0 decimals of accuracy
[22:53:51][D][text_sensor:064]: 'soyosource-gtn-display operation status': Sending state 'Standby'
[22:53:51][D][sensor:109]: 'soyosource-gtn-display error bitmask': Sending state 2.00000  with 0 decimals of accuracy
[22:53:51][D][text_sensor:064]: 'soyosource-gtn-display errors': Sending state 'DC voltage too low'
[22:53:51][D][soyosource_display:514]: Send command: 55.03.00.00.00.FC (6)
[22:53:51][I][soyosource_display:386]: Settings (Soyo, 15 bytes):
[22:53:51][D][soyosource_display:387]:   A6.02.8A.63.42.D2.18.1E.16.00.DC.64.5A.03.13 (15)
[22:53:51][I][soyosource_display:399]:   Operation mode setting: 1 (0x01)
[22:53:51][D][select:015]: 'soyosource-gtn-display operation mode': Sending state PV (index 0)
[22:53:51][I][soyosource_display:412]:   Device model: 1000 W (210)
[22:53:51][I][soyosource_display:415]:   Device type: PV 26-56V / BAT 24V (24)
[22:53:51][I][soyosource_display:419]:   Start voltage: 30 V
[22:53:51][D][number:012]: 'soyosource-gtn-display start voltage': Sending state 30.000000
[22:53:51][I][soyosource_display:425]:   Shutdown voltage: 22 V
[22:53:51][D][number:012]: 'soyosource-gtn-display shutdown voltage': Sending state 22.000000
[22:53:51][I][soyosource_display:439]:   Output power limit: 900 W
[22:53:51][D][number:012]: 'soyosource-gtn-display output power limit': Sending state 900.000000
[22:53:51][I][soyosource_display:445]:   Start delay: 3 s
[22:53:51][D][number:012]: 'soyosource-gtn-display start delay': Sending state 3.000000
[22:53:52][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:52][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:52][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:52][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:55][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:55][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:55][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:55][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:56][D][sensor:109]: 'soyosource-gtn-display battery voltage': Sending state 0.00000 V with 1 decimals of accuracy
[22:53:56][D][soyosource_display:514]: Send command: 55.01.00.00.00.FE (6)
[22:53:56][I][soyosource_display:235]: Status frame (Soyo, 15 bytes) received
[22:53:56][D][soyosource_display:236]:   A6.02.8A.61.42.00.00.00.00.00.DE.64.01.F5.98 (15)
[22:53:56][D][sensor:109]: 'soyosource-gtn-display output power': Sending state 0.00000 W with 0 decimals of accuracy
[22:53:56][D][sensor:109]: 'soyosource-gtn-display operation mode id': Sending state 6.00000  with 0 decimals of accuracy
[22:53:56][D][text_sensor:064]: 'soyosource-gtn-display operation mode': Sending state 'PV'
[22:53:56][D][sensor:109]: 'soyosource-gtn-display operation status id': Sending state 2.00000  with 0 decimals of accuracy
[22:53:56][D][text_sensor:064]: 'soyosource-gtn-display operation status': Sending state 'Standby'
[22:53:56][D][sensor:109]: 'soyosource-gtn-display error bitmask': Sending state 2.00000  with 0 decimals of accuracy
[22:53:56][D][text_sensor:064]: 'soyosource-gtn-display errors': Sending state 'DC voltage too low'
[22:53:56][D][soyosource_display:514]: Send command: 55.03.00.00.00.FC (6)
[22:53:56][I][soyosource_display:386]: Settings (Soyo, 15 bytes):
[22:53:56][D][soyosource_display:387]:   A6.02.8A.63.42.D2.18.1E.16.00.DE.64.5A.03.11 (15)
[22:53:56][I][soyosource_display:399]:   Operation mode setting: 1 (0x01)
[22:53:56][D][select:015]: 'soyosource-gtn-display operation mode': Sending state PV (index 0)
[22:53:56][I][soyosource_display:412]:   Device model: 1000 W (210)
[22:53:56][I][soyosource_display:415]:   Device type: PV 26-56V / BAT 24V (24)
[22:53:56][I][soyosource_display:419]:   Start voltage: 30 V
[22:53:56][D][number:012]: 'soyosource-gtn-display start voltage': Sending state 30.000000
[22:53:56][I][soyosource_display:425]:   Shutdown voltage: 22 V
[22:53:56][D][number:012]: 'soyosource-gtn-display shutdown voltage': Sending state 22.000000
[22:53:56][I][soyosource_display:439]:   Output power limit: 900 W
[22:53:56][D][number:012]: 'soyosource-gtn-display output power limit': Sending state 900.000000
[22:53:56][I][soyosource_display:445]:   Start delay: 3 s
[22:53:56][D][number:012]: 'soyosource-gtn-display start delay': Sending state 3.000000
[22:53:58][D][soyosource_virtual_meter:072]: 'firstfloor_inverter': Setting the limiter to 650 watts per inverter (650 in total)
[22:53:58][D][sensor:109]: 'soyosource-gtn-display power demand': Sending state 650.00000 W with 0 decimals of accuracy
[22:53:58][D][text_sensor:064]: 'soyosource-gtn-display limiter operation mode': Sending state 'Manual'
[22:53:58][D][sensor:109]: 'soyosource-gtn-display smartmeter instantaneous power': Sending state nan  with 1 decimals of accuracy
[22:53:59][D][sensor:109]: 'Uptime Sensor': Sending state 37731.44531 s with 0 decimals of accuracy
[22:53:59][D][dallas.sensor:143]: 'DS18B20 temp': Got Temperature=19.2°C
[22:53:59][D][sensor:109]: 'DS18B20 temp': Sending state 19.25000 °C with 1 decimals of accuracy
kev300 commented 1 year ago

You can set the settings yourself via the esp directly, if you want (better then HA automation) Here's my examle in the interval section (starting from line 62): https://github.com/kev300/HA_with_EspHome/blob/main/esp-home_config/garage.yaml

syssi commented 1 year ago

Is this issue resolved? In my opinion there is no room for improvements.

Kobbe1 commented 1 year ago

Yes, it did not happen anymore with above workaround.