This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Goodwe
#10
Hi @all,

Many thanks for the script it works perfectly, I getting a response as following:

Code:
SEMS 04.06.2023 12:49:42
* table:
["backUpVload_S"]
  * number: 0
["istr10"]
  * number: 670
["battary_work_mode"]
  * number: 0
["etotal"]
  * number: 61.6
["pbackup"]
  * number: 0
["istr3"]
  * number: 0
["istr15"]
  * number: -810.4
["bms_alarm"]
  * number: 0
["pre_hour_lasttotal"]
  * userdata: NULL
["bms_discharge_i_max"]
  * userdata: NULL
["sn"]
  * string: 56000DTS229R0076
["isbuettey"]
  * bool: false
["backUpPload_T"]
  * number: 0
["istr14"]
  * number: 185.2
["total_buy"]
  * number: 0
["ram"]
  * number: 53
["dataloggersn"]
  * string:
["genset_etotal"]
  * userdata: NULL
["istr16"]
  * number: 560.4
["genset_mode"]
  * userdata: NULL
["iac2"]
  * number: 5
["battery8sn"]
  * userdata: NULL
["reactive_power"]
  * number: 0
["name"]
  * string: SDT G2
["ezPro_connect_status"]
  * userdata: NULL
["backUpIload_S"]
  * number: 0
["mtActivepowerR"]
  * number: 0
["fac3"]
  * number: 50.01
["meter_type"]
  * userdata: NULL
["istr13"]
  * number: 220
["pac"]
  * number: 3457
["vpv2"]
  * number: 360.2
["mtActivepowerT"]
  * number: 0
["cts"]
  * userdata: NULL
["tempperature"]
  * number: 56.3
["eDischargeDay"]
  * number: 0
["ibattery1"]
  * number: 0
["istr6"]
  * number: 0.1
["istr8"]
  * number: 118
["istr1"]
  * number: 5.1
["yesterdaysellertotal"]
  * number: 0
["more_batterys"]
  * userdata: NULL
["outputpower"]
  * number: 3457
["mtActivepowerS"]
  * number: 0
["eTotalBuy"]
  * userdata: NULL
["master"]
  * userdata: NULL
["powerstation_id"]
  * string: fe648d7b-b84b-4427-bb5f-f4b4a5c4c17b
["istr4"]
  * number: 0
["istr7"]
  * number: 64.7
["ipv2"]
  * number: 5
["eP_connect_status_recover"]
  * userdata: NULL
["isbuetteybpu"]
  * bool: false
["buy"]
  * number: 0
["last_time"]
  * number: 1685875672648
["ipv4"]
  * number: 0
["genset_yeasterdayTotal"]
  * userdata: NULL
["iload"]
  * number: 0
["isESUOREMU"]
  * bool: false
["backUpPload_S"]
  * number: 0
["change_type"]
  * number: 0
["backUpVload_T"]
  * number: 0
["meterConnectStatus"]
  * userdata: NULL
["current_hour_pv"]
  * number: 0
["battery3sn"]
  * userdata: NULL
["pre_hour_time"]
  * userdata: NULL
["thismonthetotle"]
  * number: 43.1
["hasmeter"]
  * bool: false
["bms_warning"]
  * number: 0
["battery4sn"]
  * userdata: NULL
["yesterdayct2sellertotal"]
  * userdata: NULL
["eBatteryCharge"]
  * userdata: NULL
["pmeter"]
  * number: 0
["hour_total"]
  * number: 26
["istr9"]
  * number: 669.3
["iac3"]
  * number: 5
["battery5sn"]
  * userdata: NULL
["soh"]
  * number: 0
["isbuetteybps"]
  * bool: false
["all_eday"]
  * number: 18.5
["iac1"]
  * number: 5.1
["turnon_time"]
  * number: 1685712233090
["battery1sn"]
  * userdata: NULL
["equipment_name"]
  * userdata: NULL
["battery6sn"]
  * userdata: NULL
["vac1"]
  * number: 226.3
["vac3"]
  * number: 224.2
["genset_power"]
  * userdata: NULL
["status"]
  * number: 1
["itotal"]
  * number: 7.392
["battery_count"]
  * userdata: NULL
["total_pbattery"]
  * number: 0
["workmode"]
  * number: 1
["inverter_type"]
  * number: 0
["parallel_code"]
  * userdata: NULL
["vpv3"]
  * number: 0
["vpv1"]
  * number: 346
["eBatteryDischarge"]
  * userdata: NULL
["deratingMode"]
  * userdata: NULL
["safetyConutry"]
  * number: 79
["errors"]
  * table:
["extend_properties"]
  * userdata: NULL
["istr5"]
  * number: 0.1
["genset_eday"]
  * number: 0
["check_code"]
  * string: 045109
["isoLimit"]
  * number: 0
["eday"]
  * number: 18.5
["eDayBuy"]
  * number: 0
["battery7sn"]
  * userdata: NULL
["yesterdaybuytotal"]
  * number: 0
["model_type"]
  * string: GW6K-DT
["vac2"]
  * number: 225.1
["fault_messge"]
  * number: 0
["soc"]
  * number: 44
["genset_start_mode"]
  * userdata: NULL
["yesterdayetotalload"]
  * number: 0
["yesterdayetotal"]
  * userdata: NULL
["yesterdaylastime"]
  * number: 0
["vbattery1"]
  * number: 0
["bms_charge_i_max"]
  * number: 3
["total_sell"]
  * number: 0
["pv_power"]
  * number: 0
["iday"]
  * number: 2.22
["lastmonthetotle"]
  * number: 0.4
["eChargeDay"]
  * number: 0
["backUpIload_T"]
  * number: 0
["vpv4"]
  * number: 0
["battStrings"]
  * userdata: NULL
["istr12"]
  * number: 220
["seller"]
  * number: 0
["firmwareversion"]
  * number: 1515
["istr11"]
  * number: 0
["istr2"]
  * number: 5
["change_time"]
  * number: 0
["fac1"]
  * number: 50.01
["capacity"]
  * number: 6
["bmssoftwareversion"]
  * userdata: NULL
["ct_solution_type"]
  * number: 0
["leakage_current"]
  * userdata: NULL
["pf"]
  * number: 0
["ipv3"]
  * number: 0
["ipv1"]
  * number: 5.1
["fac2"]
  * number: 50.01
["vload"]
  * number: 0
["battery2sn"]
  * userdata: NULL
["eP_connect_status_happen"]
  * userdata: NULL

How can I pick a variable out of the table? 

For example I want to pick out “pac” and write this value to a group address. How would this work?

Many thanks!

Best Regards 
Steffen
Reply


Messages In This Thread
Goodwe - by Danny - 06.10.2022, 13:34
RE: Goodwe - by admin - 07.10.2022, 06:36
RE: Goodwe - by Danny - 07.10.2022, 07:06
RE: Goodwe - by admin - 07.10.2022, 08:31
RE: Goodwe - by Danny - 07.10.2022, 10:33
RE: Goodwe - by admin - 07.10.2022, 10:44
RE: Goodwe - by admin - 10.10.2022, 10:07
RE: Goodwe - by Danny - 10.10.2022, 12:10
RE: Goodwe - by pioneersteffen - 07.01.2023, 19:35
RE: Goodwe - by pioneersteffen - 04.06.2023, 11:03
RE: Goodwe - by admin - 05.06.2023, 06:13
RE: Goodwe - by pioneersteffen - 10.06.2023, 07:53
RE: Goodwe - by Amelie - 13.06.2023, 18:28
RE: Goodwe - by admin - 14.06.2023, 07:02
RE: Goodwe - by Amelie - 17.06.2023, 13:48
RE: Goodwe - by admin - 19.06.2023, 08:04
RE: Goodwe - by Amelie - 19.06.2023, 19:29
RE: Goodwe - by admin - 20.06.2023, 07:10
RE: Goodwe - by Amelie - 23.06.2023, 11:20
RE: Goodwe - by admin - 26.06.2023, 08:59

Forum Jump: