forked from wicket1001/IoT-Box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pawn_noComments.script
101 lines (99 loc) · 2.31 KB
/
pawn_noComments.script
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
<table>
name = config0
title = Configuration
<field>
name = field0
alias = RecordInterval
title = Record Interval
byteofs = 0
decpl = 0
type = u32
units = sec
min = 1
default = 60
</field>
<field>
name = field1
alias = TransmissionInterval
title = Transmission Interval
byteofs = 4
decpl = 0
type = u32
units = min
min = 1
default = 60
vscale = 0.01666666667
</field>
<field>
name = field2
alias = TransmissionMode
title = Transmission Mode
byteofs = 8
decpl = 0
type = u8
default = 0
editmask = 0=Intervall;1=Wakeup;2=Online
</field>
</table>
<split>
source = rm2mraw
target = histdata0
target=histdata1
key = 00
</split>
<table>
name = histdata0
<field>
name = ch0
alias = VoltageBattery
title = Battery Voltage
byteofs = 1
decpl = 2
type = s16
vscale = 0.001
units = V
</field>
<field>
name = ch1
alias = VoltageUSB
title = USB Voltage
byteofs = 3
decpl = 2
type = s16
vscale = 0.001
units = V
</field>
<field>
name = ch2
alias = Temperature
title = Temperature
byteofs = 5
decpl = 1
type = s16
vscale = 0.1
units = °C
</field>
<field>
name = ch3
alias = Humidity
title = Humidity
byteofs = 7
decpl = 1
type = s16
vscale = 0.1
units = %
</field>
</table>
<table>
name = histdata1
<field>
name = ch0
alias = VoltageBattery
title = Battery Voltage
byteofs = 1
decpl = 2
type = s16
vscale = 0.001
units = V
</field>
</table>