{
    "info":{
        "protocol":["modbus_tcp","modbus_rtu"],
        "model":"ES100-2",
        "compatible":"5.312.0000",
        "vendor":"华致能源",
        "adapter":"huazhien",
		"version":"0.0.0-alpha",
        "type":"AC",
        "url":"https://drive.weixin.qq.com/s?k=AIMAewc7AAg8sBXNbX"
    },    
    "adapter":[
        {
            "function": "set_onoff",
            "value_maps": [
            {"map_in": 0,"tagname": "OnOff","map_out": 2},
            {"map_in": 1,"tagname": "OnOff","map_out": 1}
            ]
        }
    ],
    "poll_list":[
        {"scan_rate":2000,"prot":[3,	"12181",	9]},
		{"scan_rate":2000,"prot":[3,	"14091",	8]}
    ],
    "read_reg":[
        {"tag":"RunStatu",				"name":"空调工作状态",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12181",	"uint",	"AB",	0,	1,	0],"desc":"1:待机;2:运行"},
        {"tag":"IntFanSta",				"name":"空调送风机状态",		"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12182",	"uint",	"AB",	0,	1,	0],"desc":"1:待机;2:运行"},
        {"tag":"OutFanSta",				"name":"空调室外风机状态",		"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12183",	"uint",	"AB",	0,	1,	0],"desc":"1:待机;2:运行"},
        {"tag":"CompressorSta",			"name":"空调压缩机状态",		"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12184",	"uint",	"AB",	0,	1,	0],"desc":"1:待机;2:运行"},
        {"tag":"IndoorTemp",			"name":"室内温度(℃)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"12185",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"HeaterSta",				"name":"空调电加热运行状态",	"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12186",	"uint",	"AB",	0,	1,	0],"desc":"0:关;1:开"},
        {"tag":"AirAlarm1",				"name":"空调告警1",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"HighTempPoint",			"name":"高温",					"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	0,	1,	0],"desc":""},
        {"tag":"InternalFanAlarm",		"name":"内风机",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	1,	1,	0],"desc":""},
        {"tag":"IndoorTempAlarm",		"name":"室内温度",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	4,	1,	0],"desc":""},
        {"tag":"LowTempPointAlarm",		"name":"低温",					"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	6,	1,	0],"desc":""},
        {"tag":"EvaTempAlarm",			"name":"蒸发温度",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	12,	1,	0],"desc":""},
        {"tag":"CondenserTempAlarm",	"name":"冷凝温度",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	13,	1,	0],"desc":""},
        {"tag":"OutdoorTempAlarm",		"name":"户外温度",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	14,	1,	0],"desc":""},
        {"tag":"EvaporatorTempAlarm",	"name":"内盘温度",				"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12187",	"bits",	"AB",	15,	1,	0],"desc":""},
        {"tag":"AirAlarm2",				"name":"空调告警2",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12188",	"uint",	"AB",	0,	1,	0],"desc":""},
        {"tag":"HighPreAlarm",			"name":"高压",					"property":"alarm",		"history":"both",	"type":"int",	"offset":0,	"scale":1,		"prot":[3,	"12188",	"bits",	"AB",	0,	1,	0],"desc":""},
        {"tag":"IndoorHumAlarm",		"name":"室内湿度(%)",			"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,	"prot":[3,	"12189",	"int",	"AB",	0,	1,	0],"desc":""}
 ],
    "write_reg":[
        {"tag":"OnOff",					"name":"空调开关",				"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,	"no_fetch":0,  "prot":[3,	"14091",	"uint",	"AB"],"desc":"1:开;2:关"},
        {"tag":"ForcedMode",			"name":"空调强制模式",			"property":"realdata",	"history":"both",	"type":"int",	"offset":0,	"scale":1,	"no_fetch":0,  "prot":[3,	"14092",	"uint",	"AB"],"desc":"0:自动;1:强制制冷;2:强制制热;3:强制送风;4:强制待机"},
        {"tag":"RefrigerationPoint",	"name":"空调制冷温度设定(℃)",	"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14093",	"uint",	"AB"],"desc":""},
        {"tag":"RefrigerationBand",		"name":"空调制冷回差(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14094",	"uint",	"AB"],"desc":""},
        {"tag":"HeatingPoint",			"name":"空调制热温度设定(℃)",	"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14095",	"int",	"AB"],"desc":""},
        {"tag":"HeatingBand",			"name":"空调制热回差(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14096",	"uint",	"AB"],"desc":""},
        {"tag":"HighTempPoint",			"name":"空调高温告警点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14097",	"int",	"AB"],"desc":""},
        {"tag":"LowTempPoint",			"name":"空调低温告警点(℃)",		"property":"realdata",	"history":"both",	"type":"float",	"offset":0,	"scale":0.1,"no_fetch":0,  "prot":[3,	"14098",	"int",	"AB"],"desc":""}
    ]
}
