Autor Thema: Neues Modul: 37_RCT für RCT-Power Systeme  (Gelesen 3334 mal)

Offline peter-s

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #30 am: 10 Mai 2021, 19:24:55 »
Nabend zusammen!

nachdem meine RCT-Abfrage (incl. Logging via InfluxDBLogger) mehrere Wochen stabil und Problemlos lief, habe ich die Firmware des Wechselrichters von 2.3.5291 auf 2.3.5369 upgedated.
Seit dem bekomme ich nur unregelmäßig Daten von der Anlage, das FHEM-log ist voll mit so was:
Timeout for RCT::DoGetData reached, terminated process 8998

Kann das jemand bestätigen oder dementieren?
Gibt es eine Möglichkeit die RCT-Firmware zu downgraden um den Verdacht zu verifizieren?

LG Peter

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #31 am: 10 Mai 2021, 19:45:45 »
Mein Gerät läuft auch auf der neusten Firmware 2.3.5369. Probleme gibt es immer dann, wenn 2 Clients gleichzeitig auf die serielle Schnittstelle zugreifen. Wenn also irgendwo die App läuft wird man seltener erster sein und oft keine Daten bekommen.

Was passiert denn, wenn du per RCT Client CLI direkt auf der Konsole Daten holst?

Offline peter-s

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #32 am: 10 Mai 2021, 20:36:51 »
Die App benutze ich kaum. Dein FHEM-Modul ist eigentlich der einzige Client der die Schnittstelle benutzt.

Von der CLI bekomme ich (fast) immer eine Antwort. Es sei denn ich versuche das Problem zu provozieren und rufe den rctclient mehrfach sehr schnell hintereinander auf.

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #33 am: 10 Mai 2021, 21:22:10 »
Wie sieht denn deine Config aus? Insbesondere das Attribut values? Wenn du da zu viel auf einmal ausliest, gibt es Probleme.

Was sagt das Log? Verbose 5...

Offline peter-s

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #34 am: 10 Mai 2021, 22:13:05 »
Config:

Internals:
   DEF        192.168.241.77
   FUUID      60804d04-f33f-24d0-3d96-af621cd27a39c7a8
   HOST       192.168.241.77
   INTERVAL   20
   MID        da39a3ee5e6dfjkdl348d434b0d3255bfef95601890afd80709
   NAME       pv
   NOTIFYDEV  global
   NR         307
   NTFY_ORDER 14-pv
   PORT       8899
   STATE      active
   TYPE       RCT
   VERSION    0.2.6
   READINGS:
     2021-05-10 19:38:58   battery_efficiency 0.92
     2021-05-10 21:44:55   battery_soc     46.2
     2021-05-10 21:44:55   battery_soc_target 97.0
     2021-05-10 21:39:27   battery_soc_target_low 97.0
     2021-05-10 19:38:58   battery_soh     100
     2021-05-10 21:44:55   battery_temperature 23.7
     2021-05-10 19:38:58   battery_used_energy 93496
     2021-05-10 20:07:26   energy_day      3746
     2021-05-10 20:07:26   energy_day_external 0
     2021-05-10 20:07:26   energy_day_grid_feed_in -609
     2021-05-10 20:07:26   energy_day_grid_load 218
     2021-05-10 20:07:26   energy_day_household 3355
     2021-05-10 20:07:26   energy_day_solarA 2937
     2021-05-10 20:07:26   energy_day_solarB 3177
     2021-05-10 20:07:26   energy_month    141418
     2021-05-10 20:07:26   energy_month_external 0
     2021-05-10 20:07:26   energy_month_grid_feed_in -68949
     2021-05-10 20:07:26   energy_month_grid_load 9767
     2021-05-10 20:07:26   energy_month_household 82241
     2021-05-10 20:07:26   energy_month_solarA 72025
     2021-05-10 20:07:26   energy_month_solarB 88522
     2021-05-10 20:07:26   energy_total    473759
     2021-05-10 20:07:26   energy_total_external 0
     2021-05-10 20:07:26   energy_total_grid_feed_in -282996
     2021-05-10 20:07:26   energy_total_grid_load 16599
     2021-05-10 20:07:26   energy_total_household 207361
     2021-05-10 20:07:26   energy_total_solarA 257046
     2021-05-10 20:07:26   energy_total_solarB 266143
     2021-05-10 20:07:26   energy_year     473757
     2021-05-10 20:07:26   energy_year_external 0
     2021-05-10 20:07:26   energy_year_grid_feed_in -282996
     2021-05-10 20:07:26   energy_year_grid_load 16599
     2021-05-10 20:07:26   energy_year_household 207358
     2021-05-10 20:07:26   energy_year_solarA 257046
     2021-05-10 20:07:26   energy_year_solarB 266143
     2021-05-10 21:44:55   power_ac        850
     2021-05-10 21:44:55   power_ac1       283
     2021-05-10 21:44:55   power_ac2       285
     2021-05-10 21:44:55   power_ac3       283
     2021-05-10 21:44:55   power_battery   903
     2021-05-10 21:44:55   power_grid_total 6
     2021-05-10 21:44:55   power_household_external 857
     2021-05-10 21:44:55   power_reactive  17
     2021-05-10 21:44:55   power_real      850
     2021-05-10 19:56:24   power_solarA    0
     2021-05-10 19:56:24   power_solarB    1
     2021-05-10 19:15:58   state           active
   helper:
     RETRY_COUNT 204
     counter    331
     RUNNING_PID:
       abortFn    RCT::ProcessAbortedGetData
       arg        pv
       bc_pid     973
       finishFn   RCT::ProcessGetData
       fn         RCT::DoGetData
       pid        19041
       telnet     telnetPort_127.0.0.1_47200
       timeout    60
       abortArg:
Attributes:
   DbLogExclude .*
   pollInterval 20
   room       DEV->RCT
   values     {
    "values":[
    {
      "name": "battery.soc",
      "reading": "battery_soc",
      "unit": "",
      "factor": 100,
      "intervalFactor": 1,
      "format": "%.1f"
    },
    {
      "name": "battery.soh",
      "reading": "battery_soh",
      "unit": "",
      "factor": 100,
      "intervalFactor": 10,
      "format": "%.0f"
    },
    {
      "name": "battery.soc_target",
      "reading": "battery_soc_target",
      "unit": "",
      "factor": 100,
      "intervalFactor": 5,
      "format": "%.1f"
    },
    {
      "name": "battery.soc_target_low",
      "reading": "battery_soc_target_low",
      "unit": "",
      "factor": 100,
      "intervalFactor": 11,
      "format": "%.1f"
    },
    {
      "name": "battery.temperature",
      "reading": "battery_temperature",
      "unit": "",
      "factor": 1,
      "intervalFactor": 5,
      "format": "%.1f"
    },
    {
      "name": "battery.efficiency",
      "reading": "battery_efficiency",
      "unit": "",
      "factor": 1,
      "intervalFactor": 10,
      "format": "%.2f"
    },
    {
      "name": "battery.used_energy",
      "reading": "battery_used_energy",
      "unit": "",
      "factor": 1,
      "intervalFactor": 10,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_sum",
      "reading": "power_real",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_acc_lp",
      "reading": "power_battery",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_grid_sum_lp",
      "reading": "power_grid_total",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_sum_lp",
      "reading": "power_ac",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.q_ac_sum_lp",
      "reading": "power_reactive",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[0]",
      "reading": "power_ac1",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[1]",
      "reading": "power_ac2",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[2]",
      "reading": "power_ac3",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "dc_conv.dc_conv_struct[0].p_dc_lp",
      "reading": "power_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "dc_conv.dc_conv_struct[1].p_dc_lp",
      "reading": "power_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_load_sum_lp",
      "reading": "power_household_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_day",
      "reading": "energy_day",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_day",
      "reading": "energy_day_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_day",
      "reading": "energy_day_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_day_sum",
      "reading": "energy_day_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_day",
      "reading": "energy_day_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_day[0]",
      "reading": "energy_day_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_day[1]",
      "reading": "energy_day_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_month",
      "reading": "energy_month",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_month",
      "reading": "energy_month_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_month",
      "reading": "energy_month_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_month_sum",
      "reading": "energy_month_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_month",
      "reading": "energy_month_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_month[0]",
      "reading": "energy_month_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_month[1]",
      "reading": "energy_month_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_year",
      "reading": "energy_year",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_year",
      "reading": "energy_year_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_year",
      "reading": "energy_year_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_year_sum",
      "reading": "energy_year_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_year",
      "reading": "energy_year_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_year[0]",
      "reading": "energy_year_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_year[1]",
      "reading": "energy_year_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_total",
      "reading": "energy_total",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_total",
      "reading": "energy_total_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_total",
      "reading": "energy_total_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_total_sum",
      "reading": "energy_total_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_total",
      "reading": "energy_total_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_total[0]",
      "reading": "energy_total_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_total[1]",
      "reading": "energy_total_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    }
  ]
}

Ausschnitt aus dem Logfile (grep auf "RTC"):
2021.05.10 22:05:38 4: BlockingCall (RCT::DoGetData): created child (19848), uses telnetPort to connect back
2021.05.10 22:05:38 4: RCT (pv) - Start DoGetData
2021.05.10 22:05:38 4: RCT (pv) - DoGetData with host 192.168.241.77 and port 8899
2021.05.10 22:05:38 5: RCT (pv) - JSON: {
2021.05.10 22:05:38 5: RCT (pv) - Array: $VAR1 = {
2021.05.10 22:05:38 5: RCT (pv) - RAW result: 0.41693440079689026
2021.05.10 22:05:38 5: RCT (pv) - RAW result: 681.5027465820312
2021.05.10 22:05:38 5: RCT (pv) - RAW result: 717.4089965820312
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 1.0926505327224731
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 665.8854370117188
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 21.975601196289062
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 227.55728149414062
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 223.22299194335938
2021.05.10 22:05:39 5: RCT (pv) - RAW result: 224.8013916015625
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:40 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:41 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:05:42 5: RCT (pv) - RAW result: 668.2799072265625
2021.05.10 22:05:42 5: RCT (pv) - DoGetData: {"power_household_external":{"unit":"","val":"668"},"power_battery":{"unit":"","val":"717"},"power_reactive":{"val":"22","unit":""},"power_real":{"val":"682","unit":""},"battery_soc":{"unit":"","val":"41.7"},"power_ac":{"unit":"","val":"666"},"power_ac3":{"val":"225","unit":""},"power_ac1":{"val":"228","unit":""},"power_ac2":{"unit":"","val":"223"},"power_grid_total":{"unit":"","val":"1"}}
2021.05.10 22:05:42 5: Cmd: >{RCT::ProcessGetData('pv|{"power_household_external":{"unit":"","val":"668"},"power_battery":{"unit":"","val":"717"},"power_reactive":{"val":"22","unit":""},"power_real":{"val":"682","unit":""},"battery_soc":{"unit":"","val":"41.7"},"power_ac":{"unit":"","val":"666"},"power_ac3":{"val":"225","unit":""},"power_ac1":{"val":"228","unit":""},"power_ac2":{"unit":"","val":"223"},"power_grid_total":{"unit":"","val":"1"}}')}<
2021.05.10 22:05:42 4: RCT (pv) - Start ProcessGetData
2021.05.10 22:05:42 4: RCT (pv) - ProcessGetData
2021.05.10 22:06:02 4: BlockingCall (RCT::DoGetData): created child (19896), uses telnetPort to connect back
2021.05.10 22:06:02 4: RCT (pv) - Start DoGetData
2021.05.10 22:06:02 4: RCT (pv) - DoGetData with host 192.168.241.77 and port 8899
2021.05.10 22:06:02 5: RCT (pv) - JSON: {
2021.05.10 22:06:02 5: RCT (pv) - Array: $VAR1 = {
2021.05.10 22:06:02 5: RCT (pv) - RAW result: 0.41612517833709717
2021.05.10 22:06:02 5: RCT (pv) - RAW result: 652.9436645507812
2021.05.10 22:06:02 5: RCT (pv) - RAW result: 711.2181396484375
2021.05.10 22:06:02 5: RCT (pv) - RAW result: 4.996277809143066
2021.05.10 22:06:02 5: RCT (pv) - RAW result: 653.4359130859375
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 21.80425262451172
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 221.158447265625
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 219.69056701660156
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 217.78878784179688
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:03 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:04 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:05 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:05 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:05 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:06:05 5: RCT (pv) - RAW result: 652.7509155273438
2021.05.10 22:06:05 5: RCT (pv) - RAW result: 5118.1025390625
2021.05.10 22:06:05 5: RCT (pv) - RAW result: -611.3131713867188
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 4731.576171875
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 0.0
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 225.08871459960938
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 2936.590576171875
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 3176.871337890625
2021.05.10 22:06:06 5: RCT (pv) - RAW result: 142790.0625
2021.05.10 22:06:07 5: RCT (pv) - RAW result: -68950.9375
2021.05.10 22:06:07 5: RCT (pv) - RAW result: 83617.578125
2021.05.10 22:06:07 5: RCT (pv) - RAW result: 0.0
2021.05.10 22:06:07 5: RCT (pv) - RAW result: 9773.31640625
2021.05.10 22:06:07 5: RCT (pv) - RAW result: 72025.328125
2021.05.10 22:07:02 1: Timeout for RCT::DoGetData reached, terminated process 19896
2021.05.10 22:07:12 4: BlockingCall (RCT::DoGetData): created child (19991), uses telnetPort to connect back
2021.05.10 22:07:12 4: RCT (pv) - Start DoGetData
2021.05.10 22:07:12 4: RCT (pv) - DoGetData with host 192.168.241.77 and port 8899
2021.05.10 22:07:12 5: RCT (pv) - JSON: {
2021.05.10 22:07:12 5: RCT (pv) - Array: $VAR1 = {
2021.05.10 22:07:12 5: RCT (pv) - RAW result: 0.41375988721847534
2021.05.10 22:07:12 5: RCT (pv) - RAW result: 0.9700000286102295
2021.05.10 22:07:12 5: RCT (pv) - RAW result: 23.361108779907227
2021.05.10 22:07:12 5: RCT (pv) - RAW result: 655.6719970703125
2021.05.10 22:07:12 5: RCT (pv) - RAW result: 702.1278076171875
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 8.203160285949707
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 649.2426147460938
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 22.066728591918945
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 220.14752197265625
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 222.05775451660156
2021.05.10 22:07:13 5: RCT (pv) - RAW result: 222.14370727539062
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:14 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:15 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:15 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:15 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:15 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:15 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:16 5: RCT (pv) - RAW result: 704.3789672851562
2021.05.10 22:07:16 5: RCT (pv) - DoGetData: {"power_ac1":{"val":"220","unit":""},"battery_temperature":{"unit":"","val":"23.4"},"power_ac3":{"unit":"","val":"222"},"power_ac":{"unit":"","val":"649"},"power_grid_total":{"val":"8","unit":""},"power_ac2":{"unit":"","val":"222"},"power_battery":{"unit":"","val":"702"},"power_household_external":{"unit":"","val":"704"},"battery_soc":{"val":"41.4","unit":""},"battery_soc_target":{"unit":"","val":"97.0"},"power_real":{"val":"656","unit":""},"power_reactive":{"unit":"","val":"22"}}
2021.05.10 22:07:16 5: Cmd: >{RCT::ProcessGetData('pv|{"power_ac1":{"val":"220","unit":""},"battery_temperature":{"unit":"","val":"23.4"},"power_ac3":{"unit":"","val":"222"},"power_ac":{"unit":"","val":"649"},"power_grid_total":{"val":"8","unit":""},"power_ac2":{"unit":"","val":"222"},"power_battery":{"unit":"","val":"702"},"power_household_external":{"unit":"","val":"704"},"battery_soc":{"val":"41.4","unit":""},"battery_soc_target":{"unit":"","val":"97.0"},"power_real":{"val":"656","unit":""},"power_reactive":{"unit":"","val":"22"}}')}<
2021.05.10 22:07:16 4: RCT (pv) - Start ProcessGetData
2021.05.10 22:07:16 4: RCT (pv) - ProcessGetData
2021.05.10 22:07:36 4: BlockingCall (RCT::DoGetData): created child (20059), uses telnetPort to connect back
2021.05.10 22:07:36 4: RCT (pv) - Start DoGetData
2021.05.10 22:07:36 4: RCT (pv) - DoGetData with host 192.168.241.77 and port 8899
2021.05.10 22:07:36 5: RCT (pv) - JSON: {
2021.05.10 22:07:36 5: RCT (pv) - Array: $VAR1 = {
2021.05.10 22:07:36 5: RCT (pv) - RAW result: 0.4129426181316376
2021.05.10 22:07:36 5: RCT (pv) - RAW result: 639.2818603515625
2021.05.10 22:07:36 5: RCT (pv) - RAW result: 690.782958984375
2021.05.10 22:07:36 5: RCT (pv) - RAW result: 2.6034882068634033
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 643.625732421875
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 22.472726821899414
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 214.37110900878906
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 216.23992919921875
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 220.05274963378906
2021.05.10 22:07:37 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:38 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:07:39 5: RCT (pv) - RAW result: 649.208984375
2021.05.10 22:07:40 5: RCT (pv) - RAW result: 5134.84521484375
2021.05.10 22:08:36 1: Timeout for RCT::DoGetData reached, terminated process 20059
2021.05.10 22:08:47 4: BlockingCall (RCT::DoGetData): created child (20131), uses telnetPort to connect back
2021.05.10 22:08:47 4: RCT (pv) - Start DoGetData
2021.05.10 22:08:47 4: RCT (pv) - DoGetData with host 192.168.241.77 and port 8899
2021.05.10 22:08:47 5: RCT (pv) - JSON: {
2021.05.10 22:08:47 5: RCT (pv) - Array: $VAR1 = {
2021.05.10 22:08:47 5: RCT (pv) - RAW result: 0.4105305075645447
2021.05.10 22:08:47 5: RCT (pv) - RAW result: 665.1271362304688
2021.05.10 22:08:48 5: RCT (pv) - RAW result: 702.5770263671875
2021.05.10 22:08:48 5: RCT (pv) - RAW result: -6.132660388946533
2021.05.10 22:08:48 5: RCT (pv) - RAW result: 647.30859375
2021.05.10 22:08:48 5: RCT (pv) - RAW result: 22.327533721923828
2021.05.10 22:08:48 5: RCT (pv) - RAW result: 215.01278686523438
2021.05.10 22:08:48 5: RCT (pv) - RAW result: 214.30201721191406
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 214.38336181640625
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:49 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:50 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:51 5: RCT (pv) - RAW result: 5.605193857299268e-45
2021.05.10 22:08:51 5: RCT (pv) - RAW result: 643.914306640625
2021.05.10 22:08:51 5: RCT (pv) - DoGetData: {"power_battery":{"val":"703","unit":""},"power_household_external":{"unit":"","val":"644"},"power_real":{"val":"665","unit":""},"battery_soc":{"unit":"","val":"41.1"},"power_reactive":{"val":"22","unit":""},"power_ac3":{"unit":"","val":"214"},"power_ac1":{"val":"215","unit":""},"power_ac":{"unit":"","val":"647"},"power_ac2":{"unit":"","val":"214"},"power_grid_total":{"unit":"","val":"-6"}}
2021.05.10 22:08:51 5: Cmd: >{RCT::ProcessGetData('pv|{"power_battery":{"val":"703","unit":""},"power_household_external":{"unit":"","val":"644"},"power_real":{"val":"665","unit":""},"battery_soc":{"unit":"","val":"41.1"},"power_reactive":{"val":"22","unit":""},"power_ac3":{"unit":"","val":"214"},"power_ac1":{"val":"215","unit":""},"power_ac":{"unit":"","val":"647"},"power_ac2":{"unit":"","val":"214"},"power_grid_total":{"unit":"","val":"-6"}}')}<
2021.05.10 22:08:51 4: RCT (pv) - Start ProcessGetData
2021.05.10 22:08:51 4: RCT (pv) - ProcessGetData

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #35 am: 11 Mai 2021, 06:14:12 »
Entzerre deine Config mal ein wenig. Nutze unterschiedliche Primzahlen als Intervalfaktor für etwas seltener benötigte Daten (Langzeit). Andere Vorschläge habe ich aktuell nicht.

Offline peter-s

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #36 am: 11 Mai 2021, 09:26:12 »
Ich habe die Config etwas "entzerrt" (danke für den Tipp) besonders viel geholfen hat das leider nicht.

Dafür habe ich mittlerweile eine besser Lösung gefunden:
Ich habe mich per Email beim RCT-Service gemeldet mit der Frage ob ein Firmware-Downgrade möglich wäre.
Die Jungs haben sehr schnell reagiert und mir per "Fernwartung" ein Update installiert (v2.3.5406) damit läuft der Datenabruf wieder absolut stabil!

Ich bin von RCT (sowohl von der Hardware als auch vom Service) immer mehr begeistert!

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #37 am: 11 Mai 2021, 10:03:54 »
Interessant, dass es mit meiner Anlage auch mit der "schlechten" Version gut läuft.

Welche Konfiguration verwendest du? Welcher Wechselrichter?

Bin gespannt auf das Update. Mir hat der Support ab dem nächsten Update ein weniger seltsames Verhalten der Batterie versprochen. Haben sie gesagt, wann das Update offiziell kommt?

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #38 am: 11 Mai 2021, 10:06:32 »
Achso: Das mit dem Entzerren im JSON ist trotzdem eine gute Idee. Manche Daten braucht man nur jedes x. Mal. Manche sicher sogar nur jedes 101. oder so. So kann man viele Probleme vermeiden. Genau aus dem Grund habe ich die Config so gebaut. So kann das jeder individualisieren und auch Werte raus schmeißen, die er gar nicht benötigt.

Offline peter-s

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #39 am: 11 Mai 2021, 15:57:21 »
Welche Konfiguration verwendest du? Welcher Wechselrichter?
Power Storage DC 6.0 Hybrid
21 Paneele a 360W in zwei Strings (Ost/West-Dach)
5.1kWh Speicher (3 Module)
Netzwerkanbindung über Ethernet.

Zitat
Haben sie gesagt, wann das Update offiziell kommt?
Nee, habe nur ganz kurz mit denen gemailt und war froh dass das Problem so schnell behoben war.

Gibt es irgendwo einen Changelog zu den FW-Updates? Habe nichts gefunden...

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #40 am: 12 Mai 2021, 06:17:09 »
Changelog gibt es wohl nicht. Die haben noch ein wenig Nachholbedarf in solchen Dingen.

Hier steht der 8.0 und 5 Module Speicher. Ggf. liegt es also an der unterschiedlichen Konfiguration.

Bin gespannt, wie das mit RCT weiter geht. Die Richtung ist ok. Mit einigen Dingen scheinen sie noch überfordert zu sein.

Offline Nogga

  • Full Member
  • ***
  • Beiträge: 173
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #41 am: 26 August 2021, 22:05:36 »
Habe seit heute auch eine RCT Anlage und gleich mal das Modul installiert.
Funktioniert! Prima und vielen Dank!

Eine Frage: was spricht dagegen dem User zu überlassen das Intervall auch auf <5 zu setzen?

Offline Nogga

  • Full Member
  • ***
  • Beiträge: 173
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #42 am: 26 August 2021, 23:04:13 »
Und ich weiss nicht, ob es an meiner Konfiguration liegt, aber mein Log wird mit Perl-Fehlern geflutet:
2021.08.26 22:53:06 1: Timeout for RCT::DoGetData reached, terminated process 30821
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:53:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 22:54:16 1: Timeout for RCT::DoGetData reached, terminated process 31592
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:54:26 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 22:55:26 1: Timeout for RCT::DoGetData reached, terminated process 32400
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:55:36 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 22:56:36 1: Timeout for RCT::DoGetData reached, terminated process 751
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:56:46 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 22:57:16 1: Timeout for RCT::DoGetData reached, terminated process 1206
2021.08.26 22:57:16 2: RCT (RCT_Wechselrichter) - device could not be checked after 3 retries (resuming normal operation)
2021.08.26 22:57:46 1: Timeout for RCT::DoGetData reached, terminated process 1386
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:57:56 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:57:57 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 22:58:56 1: Timeout for RCT::DoGetData reached, terminated process 2084
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 22:59:06 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 23:00:06 1: Timeout for RCT::DoGetData reached, terminated process 2859
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in hash element at ./FHEM/37_RCT.pm line 774.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 776.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 783.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 791.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 793.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value in modulus (%) at ./FHEM/37_RCT.pm line 801.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/37_RCT.pm line 807.
2021.08.26 23:00:16 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/37_RCT.pm line 813.
2021.08.26 23:01:16 1: Timeout for RCT::DoGetData reached, terminated process 3651

List:
Internals:
   CFGFN     
   DEF        192.168.178.183
   FUUID      6127b488-f33f-bfba-39a3-4d34717b5f0ed0a6
   HOST       192.168.178.183
   INTERVAL   5
   MID        da39a3ee5e6dfjkdl348d434b0d3255bfef95601890afd80709
   NAME       RCT_Wechselrichter
   NOTIFYDEV  global
   NR         370
   NTFY_ORDER 14-RCT_Wechselrichter
   PORT       8899
   STATE      Batterie-Kapazität: 41.3 %<br>
Batterie-Entladung: 282 W<br>
West-Leistung: 0 W<br>
Ost-Leistung: 0 W<br>
Netzbezug: 1 W<br>
Hausverbrauch: 244 W<br>
Gesamtertrag heute: 19 kWh
   TYPE       RCT
   VERSION    0.2.6
   Helper:
     DBLOG:
       battery_soc:
         DbLog_DB:
           TIME       1630011817.12028
           VALUE      41.3
       energy_day:
         DbLog_DB:
           TIME       1630011802.94398
           VALUE      19
       power_battery:
         DbLog_DB:
           TIME       1630011817.12028
           VALUE      282
       power_grid_total:
         DbLog_DB:
           TIME       1630011817.12028
           VALUE      1
       power_household_external:
         DbLog_DB:
           TIME       1630011817.12028
           VALUE      244
       power_solarB:
         DbLog_DB:
           TIME       1630011768.78294
           VALUE      0
   OLDREADINGS:
   READINGS:
     2021-08-26 23:03:37   battery_cycles  0.0
     2021-08-26 23:01:50   battery_efficiency 0.93
     2021-08-26 23:03:37   battery_soc     41.3
     2021-08-26 23:03:37   battery_soc_target 97.0
     2021-08-26 23:02:48   battery_soc_target_low 97.0
     2021-08-26 23:01:50   battery_soh     100
     2021-08-26 23:03:37   battery_temperature 25.0
     2021-08-26 23:01:50   battery_used_energy 5775
     2021-08-26 23:03:22   energy_day      19
     2021-08-26 23:03:22   energy_day_external 0
     2021-08-26 23:03:22   energy_day_grid_feed_in -0
     2021-08-26 23:03:22   energy_day_grid_load 0
     2021-08-26 23:03:22   energy_day_household 19
     2021-08-26 22:59:29   energy_day_solarA 3655
     2021-08-26 23:03:22   energy_day_solarB 0
     2021-08-26 23:03:22   energy_month    6853
     2021-08-26 23:03:22   energy_month_external 0
     2021-08-26 23:03:22   energy_month_grid_feed_in -3122
     2021-08-26 23:03:22   energy_month_grid_load 3073
     2021-08-26 23:03:22   energy_month_household 6804
     2021-08-26 23:03:22   energy_month_solarA 3655
     2021-08-26 23:03:22   energy_month_solarB 3232
     2021-08-26 23:03:22   energy_total    6854
     2021-08-26 23:03:22   energy_total_external 0
     2021-08-26 23:03:22   energy_total_grid_feed_in -3122
     2021-08-26 23:03:22   energy_total_grid_load 3073
     2021-08-26 23:03:22   energy_total_household 6805
     2021-08-26 23:03:22   energy_total_solarA 3655
     2021-08-26 23:03:22   energy_total_solarB 3232
     2021-08-26 23:03:22   energy_year     6853
     2021-08-26 23:03:22   energy_year_external 0
     2021-08-26 23:03:22   energy_year_grid_feed_in -3122
     2021-08-26 23:03:22   energy_year_grid_load 3073
     2021-08-26 23:03:22   energy_year_household 6805
     2021-08-26 23:03:22   energy_year_solarA 3655
     2021-08-26 23:03:22   energy_year_solarB 3232
     2021-08-26 23:03:37   power_ac        243
     2021-08-26 23:03:37   power_ac1       83
     2021-08-26 23:03:37   power_ac2       81
     2021-08-26 23:03:37   power_ac3       81
     2021-08-26 23:03:37   power_battery   282
     2021-08-26 23:03:37   power_grid_total 1
     2021-08-26 23:03:37   power_household_external 244
     2021-08-26 23:03:37   power_reactive  30
     2021-08-26 23:03:37   power_real      243
     2021-08-26 23:00:59   power_solarA    0
     2021-08-26 23:02:48   power_solarB    0
     2021-08-26 22:10:52   state           active
   helper:
     RETRY_COUNT 4
     counter    146
     RUNNING_PID:
       abortFn    RCT::ProcessAbortedGetData
       arg        RCT_Wechselrichter
       bc_pid     1733
       finishFn   RCT::ProcessGetData
       fn         RCT::DoGetData
       pid        5981
       telnet     telnetPort_127.0.0.1_45420
       timeout    60
       abortArg:
Attributes:
   DbLogInclude battery_soc,power_battery,power_solarA,power_solarB,power_grid_total,power_household_external,energy_day
   group      Gateways
   pollInterval 5
   room       System
   stateFormat Batterie-Kapazität: battery_soc %<br>
Batterie-Entladung: power_battery W<br>
West-Leistung: power_solarA W<br>
Ost-Leistung: power_solarB W<br>
Netzbezug: power_grid_total W<br>
Hausverbrauch: power_household_external W<br>
Gesamtertrag heute: energy_day kWh
   values     {
    "values":[
{
  "name": "battery.cycles",
  "reading": "battery_cycles",
  "unit": "",
  "factor": 1,
      "intervalFactor": 1,
      "format": "%.1f"
},
    {
      "name": "battery.soc",
      "reading": "battery_soc",
      "unit": "",
      "factor": 100,
      "intervalFactor": 1,
      "format": "%.1f"
    },
    {
      "name": "battery.soh",
      "reading": "battery_soh",
      "unit": "",
      "factor": 100,
      "intervalFactor": 10,
      "format": "%.0f"
    },
    {
      "name": "battery.soc_target",
      "reading": "battery_soc_target",
      "unit": "",
      "factor": 100,
      "intervalFactor": 5,
      "format": "%.1f"
    },
    {
      "name": "battery.soc_target_low",
      "reading": "battery_soc_target_low",
      "unit": "",
      "factor": 100,
      "intervalFactor": 11,
      "format": "%.1f"
    },
    {
      "name": "battery.temperature",
      "reading": "battery_temperature",
      "unit": "",
      "factor": 1,
      "intervalFactor": 5,
      "format": "%.1f"
    },
    {
      "name": "battery.efficiency",
      "reading": "battery_efficiency",
      "unit": "",
      "factor": 1,
      "intervalFactor": 10,
      "format": "%.2f"
    },
    {
      "name": "battery.used_energy",
      "reading": "battery_used_energy",
      "unit": "",
      "factor": 1,
      "intervalFactor": 10,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_sum",
      "reading": "power_real",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_acc_lp",
      "reading": "power_battery",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_grid_sum_lp",
      "reading": "power_grid_total",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_sum_lp",
      "reading": "power_ac",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.q_ac_sum_lp",
      "reading": "power_reactive",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[0]",
      "reading": "power_ac1",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[1]",
      "reading": "power_ac2",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac[2]",
      "reading": "power_ac3",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "dc_conv.dc_conv_struct[0].p_dc_lp",
      "reading": "power_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "dc_conv.dc_conv_struct[1].p_dc_lp",
      "reading": "power_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "g_sync.p_ac_load_sum_lp",
      "reading": "power_household_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 1,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_day",
      "reading": "energy_day",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_day",
      "reading": "energy_day_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_day",
      "reading": "energy_day_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_day_sum",
      "reading": "energy_day_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_day",
      "reading": "energy_day_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_day[0]",
      "reading": "energy_day_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_day[1]",
      "reading": "energy_day_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_month",
      "reading": "energy_month",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_month",
      "reading": "energy_month_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_month",
      "reading": "energy_month_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_month_sum",
      "reading": "energy_month_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_month",
      "reading": "energy_month_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_month[0]",
      "reading": "energy_month_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_month[1]",
      "reading": "energy_month_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_year",
      "reading": "energy_year",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_year",
      "reading": "energy_year_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_year",
      "reading": "energy_year_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_year_sum",
      "reading": "energy_year_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_year",
      "reading": "energy_year_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_year[0]",
      "reading": "energy_year_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_year[1]",
      "reading": "energy_year_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ac_total",
      "reading": "energy_total",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_feed_total",
      "reading": "energy_total_grid_feed_in",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_load_total",
      "reading": "energy_total_household",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_ext_total_sum",
      "reading": "energy_total_external",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_grid_load_total",
      "reading": "energy_total_grid_load",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_total[0]",
      "reading": "energy_total_solarA",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    },
    {
      "name": "energy.e_dc_total[1]",
      "reading": "energy_total_solarB",
      "unit": "",
      "factor": 1,
      "intervalFactor": 2,
      "format": "%.0f"
    }
  ]
}

Offline marvin78

  • Developer
  • Hero Member
  • ****
  • Beiträge: 5782
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #43 am: 27 August 2021, 06:56:53 »
Der Timeout ist ein Stück weit normal. Der Wechselrichter kann nur eine Verbindung auf einmal verarbeiten. Wenn man also ein zu kurzes Intervall verwendet, gleichzeitig die App geöffnet hat (auch im Hintergrund) oder weil die API einfach gerade nicht schnell genug reagiert, erhält man diesen Fehler. RCT sprach davon, Verbindungsprobleme über die Schnittstelle in einem kommenden Update zu beheben.

Das andere scheinen dann Folgefehler zu sein, die bei mir allerdings nicht auftauchen. Ich kann es aktuell nicht nachvollziehen. Es sieht so aus, als dass zwar die Parameter aus dem Speicher gelöscht wurden, der Prozess aber weiter läuft.

Ich habe eine neue Version eingecheckt, in der bei verbose 5 sowas ausgegeben werden sollte:

RCT (String: <DEVNAME>) - Start DoGetData
Falls meine Vermutung stimmt und ich da aktuell nichts ändern kann, kommt jedoch einfach ein weiterer Fehler dazu.

Kleiner Tipp: Setze mal das Pollintervall auf 10 hoch und hole gewisse, recht statische Daten seltener ab (Faktor 88 oder ähnliches)

Offline Nogga

  • Full Member
  • ***
  • Beiträge: 173
Antw:Neues Modul: 37_RCT für RCT-Power Systeme
« Antwort #44 am: 27 August 2021, 21:00:38 »
Jetzt habe ich gerade Dein Update eingespielt und zack ist mein Device in FHEM weg.
Das Logfile sagt:

2021.08.27 20:59:13 1: PERL WARNING: Subroutine RCT_Initialize redefined at ./FHEM/37_RCT.pm line 388.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Define redefined at ./FHEM/37_RCT.pm line 487.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Undefine redefined at ./FHEM/37_RCT.pm line 526.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Delete redefined at ./FHEM/37_RCT.pm line 537.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Notify redefined at ./FHEM/37_RCT.pm line 548.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Attr redefined at ./FHEM/37_RCT.pm line 568.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Set redefined at ./FHEM/37_RCT.pm line 628.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine Get redefined at ./FHEM/37_RCT.pm line 659.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine ValuesToAttribute redefined at ./FHEM/37_RCT.pm line 676.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine GetValue redefined at ./FHEM/37_RCT.pm line 691.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine RestartGetTimer redefined at ./FHEM/37_RCT.pm line 717.
2021.08.27 20:59:13 1: PERL WARNING: Subroutine StartGetData redefined at ./FHEM/37_RCT.pm line 729.
2021.08.27 20:59:13 1: reload: Error:Modul 37_RCT deactivated:
 Global symbol "$name" requires explicit package name (did you forget to declare "my $name"?) at ./FHEM/37_RCT.pm line 772.

2021.08.27 20:59:13 0: Global symbol "$name" requires explicit package name (did you forget to declare "my $name"?) at ./FHEM/37_RCT.pm line 772.

Ist mein Device weg oder kommt es wieder sobald ich eine funktionierende Version Deines Moduls installiert habe?

 

decade-submarginal