-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathmodbus.test.device.profile.yml
107 lines (105 loc) · 3.28 KB
/
modbus.test.device.profile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: "Test.Device.Modbus.Profile"
manufacturer: "Cool Automation"
model: "CoolMasterNet"
labels:
- "HVAC"
- "Air conditioner"
description: "CoolMasterNet is an unique communication bridge that seamlessly connects advanced VRF / Split Air Conditioning Systems and home automation / Building Management Systems (BMS) controllers."
deviceResources:
-
name: "SwitchA"
isHidden: true
description: "On/Off , 0-OFF 1-ON"
attributes:
{ primaryTable: "COILS", startingAddress: 0 }
properties:
valueType: "Bool"
readWrite: "RW"
scale: "1"
minimum: "0"
maximum: "1"
defaultValue: "0"
-
name: "SwitchB"
isHidden: true
description: "On/Off , 0-OFF 1-ON"
attributes:
{ primaryTable: "COILS", startingAddress: 14 }
properties:
valueType: "Bool"
readWrite: "RW"
scale: "1"
minimum: "0"
maximum: "1"
defaultValue: "0"
-
name: "OperationMode"
isHidden: true
description: "0-Cool 1-Heat 2-Auto 3-Dry 4-HAUX 5-Fan 6-HH 8-VAM Auto 9-VAM Bypass 10-VAM Heat Exc 11-VAM Normal"
attributes:
{ primaryTable: "HOLDING_REGISTERS", startingAddress: 1 }
properties:
valueType: "Int16"
readWrite: "RW"
scale: "1"
minimum: "0"
maximum: "11"
defaultValue: "0"
-
name: "FanSpeed"
isHidden: true
description: "0-Low 1-Med 2-High 3-Auto 4-Top 5-Very Lo 7-VAM Super Hi 8-VAM Lo FreshUp 9-VAMHiFreshUp"
attributes:
{ primaryTable: "HOLDING_REGISTERS", startingAddress: 2 }
properties:
valueType: "Int32"
readWrite: "RW"
scale: "1"
minimum: "0"
maximum: "9"
defaultValue: "0"
-
name: "RoomTemperature"
isHidden: false
description: "Room Temperature x10 °C (Read Only)"
attributes:
{ primaryTable: "INPUT_REGISTERS", startingAddress: 3 }
properties:
valueType: "Float32"
readWrite: "R"
scale: "1"
-
name: "Temperature"
isHidden: true
description: "Temperature x10 °C"
attributes:
{ primaryTable: "HOLDING_REGISTERS", startingAddress: 4 }
properties:
valueType: "Float64"
readWrite: "RW"
scale: "0.1"
deviceCommands:
-
name: "Switch"
readWrite: "RW"
isHidden: false
resourceOperations:
- { deviceResource: "SwitchA", mappings: {"true":"ON","false":"OFF"} }
- { deviceResource: "SwitchB", mappings: {"true":"ON","false":"OFF"} }
-
name: "Values"
readWrite: "RW"
isHidden: false
resourceOperations:
- { deviceResource: "SwitchA", mappings: {"true":"ON","false":"OFF"} }
- { deviceResource: "OperationMode", mappings: { "0":"Cool","1":"Heat","2":"Auto","3":"Dry","4":"HAUX","5":"Fan","6":"HH","8":"VAM Auto","9":"VAM Bypass","10":"VAM Heat","11":"VAM Normal"} }
- { deviceResource: "FanSpeed", mappings: { "0":"Low","1":"Med","2":"High","3":"Auto","4":"Top","5":"Very Lo","7":"VAM Super Hi","8":"VAM Lo FreshUp","9":"VAMHiFreshUp"} }
- { deviceResource: "Temperature" }
-
name: "HVACValues"
readWrite: "RW"
isHidden: false
resourceOperations:
- { deviceResource: "OperationMode", mappings: { "0":"Cool","1":"Heat","2":"Auto","3":"Dry","4":"HAUX","5":"Fan","6":"HH","8":"VAM Auto","9":"VAM Bypass","10":"VAM Heat","11":"VAM Normal"} }
- { deviceResource: "FanSpeed", mappings: { "0":"Low","1":"Med","2":"High","3":"Auto","4":"Top","5":"Very Lo","7":"VAM Super Hi","8":"VAM Lo FreshUp","9":"VAMHiFreshUp"} }
- { deviceResource: "Temperature" }