OpenBeken Support for Tuya 3 Phase Powermeter (ZGMISMART-SPM02)
thx to divadiow, John_SolderWick and Egzi for the infos!
Autoexec.bat
raw id´s:
json out:
thx to divadiow, John_SolderWick and Egzi for the infos!
Autoexec.bat
startDriver TuyaMCU
startDriver httpButtons
// emulate being connected to cloud
tuyaMCU_defWiFiState 4
setChannelLabel 1 "Energy Forward Total"
setChannelType 1 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 1 val 1
setChannelLabel 2 "Energy Reverse Total"
setChannelType 2 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 23 val 2
setChannelLabel 3 "Frequency"
setChannelType 3 Frequency_div100
linkTuyaMCUOutputToChannel 32 val 3
setChannelLabel 4 "Current Unbalance"
setChannelType 4 ReadOnly_div100
linkTuyaMCUOutputToChannel 130 val 4
setChannelLabel 5 "Power Total"
setChannelType 5 Power
linkTuyaMCUOutputToChannel 29 val 5
setChannelLabel 6 "Power Factor"
setChannelType 6 PowerFactor_div100
linkTuyaMCUOutputToChannel 50 val 6
setChannelLabel 7 "L1 Voltage"
setChannelType 7 Voltage_div10
linkTuyaMCUOutputToChannel 103 val 7
setChannelLabel 8 "L2 Voltage"
setChannelType 8 Voltage_div10
linkTuyaMCUOutputToChannel 112 val 8
setChannelLabel 9 "L3 Voltage"
setChannelType 9 Voltage_div10
linkTuyaMCUOutputToChannel 121 val 9
setChannelLabel 10 "L1 Current"
setChannelType 10 Current_div1000
linkTuyaMCUOutputToChannel 104 val 10
setChannelLabel 11 "L2 Current"
setChannelType 11 Current_div1000
linkTuyaMCUOutputToChannel 113 val 11
setChannelLabel 12 "L3 Current"
setChannelType 12 Current_div1000
linkTuyaMCUOutputToChannel 122 val 12
setChannelLabel 13 "L1 Power"
setChannelType 13 Power
linkTuyaMCUOutputToChannel 105 val 13
setChannelLabel 14 "L2 Power"
setChannelType 14 Power
linkTuyaMCUOutputToChannel 114 val 14
setChannelLabel 15 "L3 Power"
setChannelType 15 Power
linkTuyaMCUOutputToChannel 123 val 15
setChannelLabel 16 "L1 Power Factor"
setChannelType 16 PowerFactor_div100
linkTuyaMCUOutputToChannel 108 val 16
setChannelLabel 17 "L2 Power Factor"
setChannelType 17 PowerFactor_div100
linkTuyaMCUOutputToChannel 117 val 17
setChannelLabel 18 "L3 Power Factor"
setChannelType 18 PowerFactor_div100
linkTuyaMCUOutputToChannel 126 val 18
setChannelLabel 19 "L1 Energy Forward Total"
setChannelType 19 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 109 val 19
setChannelLabel 20 "L2 Energy Forward Total"
setChannelType 20 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 118 val 20
setChannelLabel 21 "L3 Energy Forward Total"
setChannelType 21 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 127 val 21
setChannelLabel 22 "L1 Energy Reverse Total"
setChannelType 22 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 110 val 22
setChannelLabel 23 "L2 Energy Reverse Total"
setChannelType 23 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 119 val 23
setChannelLabel 24 "L3 Energy Reverse Total"
setChannelType 24 EnergyTotal_kWh_div100
linkTuyaMCUOutputToChannel 128 val 24
setChannelLabel 25 "Data Report Duration"
setChannelType 25 TextField
linkTuyaMCUOutputToChannel 102 val 25
setChannelLabel 26 "Device Locating"
setChannelType 26 Toggle
linkTuyaMCUOutputToChannel 101 val 26
setButtonEnabled 1 1
setButtonLabel 1 "Query State"
setButtonCommand 1 tuyaMcu_sendQueryState
setButtonEnabled 2 1
setButtonLabel 2 "Refresh"
setButtonCommand 2 "tuyaMcu_sendState 35 enum 0"
setButtonEnabled 3 1
setButtonLabel 3 "Clear Counters"
setButtonCommand 3 "tuyaMcu_sendState 12 bool 1"raw id´s:
6: [0-raw] 0x090A000000000000
7: [0-raw] 0x090A000000000000
8: [0-raw] 0x090A000000000000
9:[5-bitmap] (1000-phaseloss) (0100-overcurrent)
17: [0-raw] Raw V=0x7000019 (high power alarm, 0x70uvvvv - u=0 for disabled u=1 for enabled, vvvv-2bytes power value 1-65535kW)
18: [0-raw] Raw V=01 01 00 3F 02 00 00 0F 03 01 00 FD 04 00 00 B4 05 00 00 00 07 00 00 00
alarms: 6 values of format - 1-byte setting id, 1-byte enabled=0x01/disabled=0x00, 2-bytes parameter value
id 01 - overcurrent (1-65535A)
id 02 - unbalanced load (1-100%)
id 03 - overvoltage (1-65535V)
id 04 - undervoltage (1-65535V)
id 05 - phase loss (no parameter)
id 07 - negative active power (no parameter)
19: [3-str] "vow25010001" - device idjson out:
{
"result": {
"model": {
"modelId": "g5n4t0",
"services": [
{
"actions": [],
"code": "",
"description": "",
"events": [],
"name": "默认服务 (Default service)",
"properties": [
{
"abilityId": 1,
"accessMode": "ro",
"code": "forward_energy_total",
"description": "",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1152"
},
"name": "累计正向有功电能 (Cumulative forward active energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 6,
"accessMode": "ro",
"code": "phase_a",
"description": "1,A相电压,电流及功率 (Phase A voltage, current and power)\\n2,大端模式,HEX格式,共8个字节 (Big-endian, HEX format, total 8 bytes)\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。A相有功功率,3字节,单位0.0001kW (Unit precision: Voltage 2 bytes, 0.1V; Current 3 bytes, 0.001A; Phase A active power 3 bytes, 0.0001kW)\\n4,报文格式 (Message format)\\n举例:08 80 00 03 E8 00 27 10 表示A相217.6V,A相电流1.000A,A相功率10.000KW (Example: 08 80 00 03 E8 00 27 10 means Phase A 217.6V, Phase A current 1.000A, Phase A power 10.000KW)\\n5,通信逻辑: (Communication logic:)\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x08到电表,电表上报数据到云平台,面板拿到数据,然后展示。 注:最新WIFI支持。 (1) User enters the panel and actively queries. When user enters the panel, panel immediately sends 0x08 to the meter, meter reports data to the cloud, panel receives data and displays it. Note: supported by latest WiFi.)\\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。 (2) Meter reports data periodically. Suggestion: in WiFi mode, report every 15 seconds; in NB mode, report every 1 hour.)",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1152"
},
"name": "X相电压,电流及功率 (X-phase voltage, current and power)",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 7,
"accessMode": "ro",
"code": "phase_b",
"description": "1,B相电压,电流及功率 (Phase B voltage, current and power)\\n2,大端模式,HEX格式,共8个字节 (Big-endian, HEX format, total 8 bytes)\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。B相有功功率,3字节,单位0.0001kW (Unit precision: Voltage 2 bytes, 0.1V; Current 3 bytes, 0.001A; Phase B active power 3 bytes, 0.0001kW)\\n4,报文格式 (Message format)\\n举例:08 80 00 03 E8 00 27 10 表示B相217.6V,B相电流1.000A,B相功率10.000KW (Example: 08 80 00 03 E8 00 27 10 means Phase B 217.6V, Phase B current 1.000A, Phase B power 10.000KW)\\n5,通信逻辑: (Communication logic:)\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x00到电表,电表上报数据到云平台,面板拿到数据,然后展示。 (1) User enters the panel and actively queries. When user enters the panel, panel immediately sends 0x00 to the meter, meter reports data to the cloud, panel receives data and displays it.)\\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。 (2) Meter reports data periodically. Suggestion: in WiFi mode, report every 15 seconds; in NB mode, report every 1 hour.)",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1152"
},
"name": "Y相电压,电流及功率 (Y-phase voltage, current and power)",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 8,
"accessMode": "ro",
"code": "phase_c",
"description": "1,C相电压,电流及功率 (Phase C voltage, current and power)\\n2,大端模式,HEX格式,共8个字节 (Big-endian, HEX format, total 8 bytes)\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。C相有功功率,3字节,单位0.0001kW (Unit precision: Voltage 2 bytes, 0.1V; Current 3 bytes, 0.001A; Phase C active power 3 bytes, 0.0001kW)\\n4,报文格式 (Message format)\\n举例:08 80 00 03 E8 00 27 10 表示C相217.6V,C相电流1.000A,C相功率10.000KW (Example: 08 80 00 03 E8 00 27 10 means Phase C 217.6V, Phase C current 1.000A, Phase C power 10.000KW)\\n5,通信逻辑: (Communication logic:)\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x08到电表,电表上报数据到云平台,面板拿到数据,然后展示。 (1) User enters the panel and actively queries. When user enters the panel, panel immediately sends 0x08 to the meter, meter reports data to the cloud, panel receives data and displays it.)\\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。 (2) Meter reports data periodically. Suggestion: in WiFi mode, report every 15 seconds; in NB mode, report every 1 hour.)",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1152"
},
"name": "Z相电压,电流及功率 (Z-phase voltage, current and power)",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 9,
"accessMode": "ro",
"code": "fault",
"description": "1,告警 (Alarm)\\n2,大端模式,HEX,4字节 (Big-endian, HEX, 4 bytes)\\n3,报文格式 (Message format)\\n按照完整4个字节,对应的告警位上报告警;bit位,1表示有告警,0表示无告警;如果没用的告警位,补0。高位无定义,也补0; (Use full 4 bytes; report alarm bits accordingly: bit=1 means alarm present, bit=0 means no alarm. Unused alarm bits fill with 0. High bits undefined also fill with 0.)\\n举例:0X00 00 00 09,表示当前发生了漏电自检不正常告警和短路告警,无其它告警。 (Example: 0x00 00 00 09 means leakage self-test abnormal alarm and short circuit alarm occurred, no other alarms.)\\n4,通信逻辑 (Communication logic)\\n只要有1个告警发生,就完整4个字节上报给面板;只要有1个告警关闭,就完整4个字节上报给面板,更新面板显示。 (If any alarm occurs, report full 4 bytes to panel; if any alarm clears, report full 4 bytes to panel to update display.)",
"extensions": {
"iconName": "icon-baojing",
"scope": "fault",
"attribute": "1664"
},
"name": "故障告警 (Fault alarm)",
"typeSpec": {
"type": "bitmap",
"label": [
"short_circuit_alarm",
"surge_alarm",
"overload_alarm",
"leakagecurr_alarm",
"temp_dif_fault",
"fire_alarm",
"high_power_alarm",
"self_test_alarm",
"ov_cr",
"unbalance_alarm",
"ov_vol",
"undervoltage_alarm",
"miss_phase_alarm",
"outage_alarm",
"magnetism_alarm",
"credit_alarm",
"no_balance_alarm"
],
"maxlen": 17
}
},
{
"abilityId": 12,
"accessMode": "rw",
"code": "clear_energy",
"description": "",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1024"
},
"name": "电能清零 (Reset energy)",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 17,
"accessMode": "rw",
"code": "alarm_set_1",
"description": "1,告警阈值使能控制及设置1 (Alarm threshold enable control & setting 1)\\n2,HEX格式,大端模式, 总告警的数量*4字节= 设置告警总长度。 (HEX format, big-endian; total alarms * 4 bytes = total setting length)\\n3,报文格式 (Message format)\\n每个告警由4个字节组成,第1个字节(表示该告警存在);第2个字节(发生此告警时,断路器控制模式(0X01拉闸,0X00不动作只告警);第3、4字节:设置告警阈值。 (Each alarm uses 4 bytes: byte1 indicates alarm exists; byte2 is breaker control mode on alarm (0x01 trip, 0x00 no action only alarm); bytes3-4 set threshold.)\\n举例:0X01 01 00 00 03 01 00 14,表示该断路器支持短路告警,发生该告警时,自动跳闸,阀值补0。支持过载告警,发生该告警时,拉闸动作,动作阀值20KW。无其它告警功能。注:没有的告警,就不要上报字节。 (Example: 0x01 01 00 00 03 01 00 14 means short circuit alarm supported and trips (threshold 0), overload alarm supported and trips at 20kW. No other alarms. Note: do not report bytes for unsupported alarms.)\\n4,通信逻辑 (Communication logic)\\nA,配网成功后,按照上面的格式,主动上报给云平台,面板知道哪些告警是断路器当前支持的。设置不成功,重新配网再上报。 (A: After pairing, report supported alarms to cloud; if setup fails, re-pair and report again.)\\nB,断路器上电时,也上报一次。 (B: Report once on power-up.)\\nC,面板根据协议下发告警设置。 (C: Panel sends alarm settings according to protocol.)\\n5 APP面板支持第一字节能力清单:01短路告警,02浪涌告警,03过载告警,04漏电告警,05高温告警,06打火告警,07功率过高告警,08漏电自检异常告警 (APP panel byte1 capability list: 01 short circuit, 02 surge, 03 overload, 04 leakage, 05 high temp, 06 arcing, 07 high power, 08 leakage self-test abnormal)",
"extensions": {
"iconName": "icon-dp_warming",
"attribute": "1024"
},
"name": "告警设置1 (Alarm settings 1)",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 18,
"accessMode": "rw",
"code": "alarm_set_2",
"description": "1,告警阈值使能控制及设置2 (Alarm threshold enable control & setting 2)\\n2,HEX格式,大端模式 (HEX format, big-endian)\\n3,报文格式 (Message format)\\n每个告警由4个字节组成,第1个字节(表示该告警存在);第2个字节(发生此告警时,断路器控制模式(0X01拉闸,0X00不动作只告警);第3、4字节:设置告警阈值 (Each alarm uses 4 bytes: byte1 indicates alarm exists; byte2 is breaker control mode (0x01 trip, 0x00 no action only alarm); bytes3-4 set threshold)\\n举例:0X01 01 00 3C 03 01 00 F5,表示该断路器支持过流告警,发生该告警时,拉闸动作,动作阀值60A。支持过压告警,发生该告警时,拉闸动作,动作阀值245V (Example: 0x01 01 00 3C 03 01 00 F5 means over-current alarm supported and trips at 60A; over-voltage alarm supported and trips at 245V)\\n4,通信逻辑 (Communication logic)\\nA,配网成功后,按照上面的格式,主动上报给云平台,面板知道哪些告警是断路器当前支持的。设置不成功,重新配网再上报。 (A: After pairing, report supported alarms to cloud; if setup fails, re-pair and report again.)\\nB,断路器上电时,也上报一次。 (B: Report once on power-up.)\\nC,面板根据协议下发告警设置。 (C: Panel sends alarm settings according to protocol.)",
"extensions": {
"iconName": "icon-dp_warming",
"attribute": "1152"
},
"name": "告警设置2 (Alarm settings 2)",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 19,
"accessMode": "ro",
"code": "breaker_id",
"description": "1,设备号 (Device ID)\\n2,大端模式,字符串型 (Big-endian, string type)\\n3,单位精度 (Unit precision)\\n4,报文格式 (Message format)\\n5,通信逻辑 (Communication logic)\\nA,配网时上报三次,以确保上报成功。如果配对成功,面板有显示设备号。 (A: Report 3 times during pairing to ensure success; if paired successfully, panel shows device ID.)\\nB,如果配对成功,面板没有显示设备号,需要移除设备,再配置一遍。 (B: If paired but panel does not show device ID, remove device and configure again.)\\nC,每次断路器上电,也上报一次。 (C: Report once each time breaker powers on.)",
"extensions": {
"iconName": "icon-dp_mode",
"attribute": "1152"
},
"name": "设备号显示 (Device ID display)",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 23,
"accessMode": "ro",
"code": "reverse_energy_total",
"description": "",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1024"
},
"name": "累计反向有功电能 (Cumulative reverse active energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 29,
"accessMode": "rw",
"code": "active_power",
"description": "",
"extensions": {
"iconName": "icon-dianliang",
"attribute": "1152"
},
"name": "总有功功率 (Total active power)",
"typeSpec": {
"type": "value",
"max": 200000,
"min": -200000,
"scale": 3,
"step": 1,
"unit": "kW"
}
},
{
"abilityId": 32,
"accessMode": "ro",
"code": "supply_frequency",
"description": "",
"extensions": {
"iconName": "icon-dp_lightning",
"attribute": "1152"
},
"name": "频率 (Frequency)",
"typeSpec": {
"type": "value",
"max": 9999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "Hz"
}
},
{
"abilityId": 35,
"accessMode": "rw",
"code": "online_state",
"description": "可用于APP交互更新机制,例如进入面板点击刷新按钮会下发online,设备感知后立即上报一次最新的例如电流电压功率等希望及时更新展示的数据dp。 (Can be used for APP interactive update mechanism; for example entering the panel and pressing refresh sends 'online'; device then immediately reports the latest data DPs such as current/voltage/power for timely update and display.)",
"extensions": {
"iconName": "icon-dp_updown"
},
"name": "面板在线 (Panel online)",
"typeSpec": {
"type": "enum",
"range": [
"online",
"offline"
]
}
},
{
"abilityId": 50,
"accessMode": "rw",
"code": "power_factor",
"description": "",
"extensions": {
"iconName": "icon-dp_lightning"
},
"name": "总功率因数 (Total power factor)",
"typeSpec": {
"type": "value",
"max": 100,
"min": -100,
"scale": 2,
"step": 1,
"unit": ""
}
},
{
"abilityId": 101,
"accessMode": "rw",
"code": "device_locating",
"description": "开启后LED绿灯闪烁一定时间后恢复 (After enabling, the green LED blinks for a period of time then restores)",
"extensions": {
"scope": ""
},
"name": "设备定位 (Device locating)",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 102,
"accessMode": "rw",
"code": "data_report_duration",
"description": "数据多久上报一次 (How often data is reported)",
"extensions": {
"scope": ""
},
"name": "数据上报间隔时间 (Data report interval time)",
"typeSpec": {
"type": "value",
"max": 3600,
"min": 225,
"scale": 0,
"step": 1,
"unit": "seconds"
}
},
{
"abilityId": 103,
"accessMode": "ro",
"code": "cur_voltage_x",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相电压 (X-phase voltage)",
"typeSpec": {
"type": "value",
"max": 5000,
"min": 0,
"scale": 1,
"step": 1,
"unit": "V"
}
},
{
"abilityId": 104,
"accessMode": "ro",
"code": "cur_current_x",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相电流 (X-phase current)",
"typeSpec": {
"type": "value",
"max": 1000000,
"min": -1000000,
"scale": 3,
"step": 1,
"unit": "A"
}
},
{
"abilityId": 105,
"accessMode": "ro",
"code": "cur_power_x",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相有功功率 (X-phase active power)",
"typeSpec": {
"type": "value",
"max": 200000,
"min": -200000,
"scale": 3,
"step": 1,
"unit": "kW"
}
},
{
"abilityId": 108,
"accessMode": "ro",
"code": "power_factor_x",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相功率因数 (X-phase power factor)",
"typeSpec": {
"type": "value",
"max": 100,
"min": -100,
"scale": 2,
"step": 1,
"unit": ""
}
},
{
"abilityId": 109,
"accessMode": "ro",
"code": "x_total_import_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相正向电能 (X-phase forward energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 110,
"accessMode": "ro",
"code": "x_total_export_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "X相反向电能 (X-phase reverse energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 112,
"accessMode": "ro",
"code": "cur_voltage_y",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相电压 (Y-phase voltage)",
"typeSpec": {
"type": "value",
"max": 5000,
"min": 0,
"scale": 1,
"step": 1,
"unit": "V"
}
},
{
"abilityId": 113,
"accessMode": "ro",
"code": "cur_current_y",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相电流 (Y-phase current)",
"typeSpec": {
"type": "value",
"max": 1000000,
"min": -1000000,
"scale": 3,
"step": 1,
"unit": "A"
}
},
{
"abilityId": 114,
"accessMode": "ro",
"code": "cur_power_y",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相有功功率 (Y-phase active power)",
"typeSpec": {
"type": "value",
"max": 200000,
"min": -200000,
"scale": 3,
"step": 1,
"unit": "kW"
}
},
{
"abilityId": 117,
"accessMode": "ro",
"code": "power_factor_y",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相功率因数 (Y-phase power factor)",
"typeSpec": {
"type": "value",
"max": 100,
"min": -100,
"scale": 2,
"step": 1,
"unit": ""
}
},
{
"abilityId": 118,
"accessMode": "ro",
"code": "y_total_import_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相正向电能 (Y-phase forward energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 119,
"accessMode": "ro",
"code": "y_total_export_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "Y相反向电能 (Y-phase reverse energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 121,
"accessMode": "ro",
"code": "cur_voltage_z",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相电压 (Z-phase voltage)",
"typeSpec": {
"type": "value",
"max": 5000,
"min": 0,
"scale": 1,
"step": 1,
"unit": "V"
}
},
{
"abilityId": 122,
"accessMode": "ro",
"code": "cur_current_z",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相电流 (Z-phase current)",
"typeSpec": {
"type": "value",
"max": 1000000,
"min": -1000000,
"scale": 3,
"step": 1,
"unit": "A"
}
},
{
"abilityId": 123,
"accessMode": "ro",
"code": "cur_power_z",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相有功功率 (Z-phase active power)",
"typeSpec": {
"type": "value",
"max": 200000,
"min": -200000,
"scale": 3,
"step": 1,
"unit": "kW"
}
},
{
"abilityId": 126,
"accessMode": "ro",
"code": "power_factor_z",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相功率因数 (Z-phase power factor)",
"typeSpec": {
"type": "value",
"max": 100,
"min": -100,
"scale": 2,
"step": 1,
"unit": ""
}
},
{
"abilityId": 127,
"accessMode": "ro",
"code": "z_total_import_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相正向电能 (Z-phase forward energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 128,
"accessMode": "ro",
"code": "z_total_export_energy",
"description": "",
"extensions": {
"scope": ""
},
"name": "Z相反向电能 (Z-phase reverse energy)",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 2,
"step": 1,
"unit": "kW.h"
}
},
{
"abilityId": 130,
"accessMode": "ro",
"code": "current_unbalance",
"description": "",
"extensions": {
"scope": ""
},
"name": "三相电流不平衡度 (Three-phase current unbalance degree)",
"typeSpec": {
"type": "value",
"max": 1000,
"min": 0,
"scale": 0,
"step": 1,
"unit": "%"
}
}
]
}
]
}
},
"success": true,
"t": 1769361910024,
"tid": "ccafff18fa1211f0b748aa353f4c03b2"
}