node-red-contrib-periph-adc-dac 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,8 +16,18 @@ npm install node-red-contrib-periph-adc-dac
16
16
 
17
17
  | Node | Kind | Description |
18
18
  |------|------|-------------|
19
- | `mcp4725-device` | config | I²C bus and address for an MCP4725 |
20
- | `periph-mcp4725` | output | Write a voltage to the MCP4725 12-bit DAC |
19
+ | `ad7705-device` | config | Bus configuration for an AD7705 |
20
+ | `periph-ad7705` | input | Reads voltage from a 2-channel, 16-bit sigma-delta AD7705 ADC over SPI. The driver uses the chip's two-phase register-access protocol and polls DRDY over SPI, so only SCLK/DIN/DOUT/CS are needed (no dedicated DRDY GPIO). |
21
+ | `ad7706-device` | config | Bus configuration for an AD7706 |
22
+ | `periph-ad7706` | input | Reads voltage from a 3-channel, 16-bit sigma-delta AD7706 ADC over SPI. The driver uses the chip's two-phase register-access protocol and polls DRDY over SPI, so only SCLK/DIN/DOUT/CS are needed (no dedicated DRDY GPIO). All three channels share a single COMMON reference pin. |
23
+ | `periph-hx710a` | input | Reads weight from an HX710A 24-bit ADC connected to a load cell via two GPIO pins. Also exposes the chip's on-chip temperature sensor as a raw ADC code. |
24
+ | `periph-hx710b` | input | Reads weight from an HX710B 24-bit ADC connected to a load cell via two GPIO pins. Also exposes the chip's DVDD-AVDD supply-voltage-difference channel as a raw ADC code for battery-monitoring applications. |
25
+ | `periph-hx711` | input | Reads weight from an HX711 24-bit ADC connected to a load cell via two GPIO pins. |
26
+ | `mcp4725-device` | config | I²C bus and address for a MCP4725 |
27
+ | `periph-mcp4725` | output | Sets the output voltage of an MCP4725 12-bit DAC over I²C. |
28
+ | `mcp4728-device` | config | I²C bus and address for a MCP4728 |
29
+ | `periph-mcp4728` | output | Sets the output voltage of one channel (A–D) of an MCP4728 quad-channel 12-bit DAC over I²C. |
30
+ | `periph-pcf8591` | input | Reads the four analog inputs of a PCF8591 8-bit ADC/DAC over I²C. Default address is 0x48 ; any address in the range 0x48 – 0x4F is valid depending on the A0/A1/A2 pin states. |
21
31
 
22
32
  ## Links
23
33
 
@@ -0,0 +1,108 @@
1
+ [
2
+ {
3
+ "id": "tab-ad7705-demo",
4
+ "type": "tab",
5
+ "label": "AD7705 ADC Demo",
6
+ "disabled": false,
7
+ "info": "Dual-channel AD7705 ADC demo for the bridge-pressure-measurement application. An inject node fires every 2 seconds, triggering a dual-channel read of channel1 (bridge pressure signal, gain 128) and channel2 (auxiliary temperature sensor, gain 2). The output splits via a function node into the two channel voltages, each feeding its own debug node. A second inject node fires once on deploy with the literal string 'calibrate' to trigger a self-calibration of both configured channels before the periodic reads begin."
8
+ },
9
+ {
10
+ "id": "cfg-ad7705",
11
+ "type": "ad7705-device",
12
+ "name": "AD7705",
13
+ "bus": "0",
14
+ "device": "0",
15
+ "vref": "2.5",
16
+ "mclkHz": "2457600"
17
+ },
18
+ {
19
+ "id": "inj-calibrate",
20
+ "type": "inject",
21
+ "name": "calibrate (once)",
22
+ "topic": "",
23
+ "payload": "calibrate",
24
+ "payloadType": "str",
25
+ "repeat": "",
26
+ "crontab": "",
27
+ "once": true,
28
+ "onceDelay": 0.5,
29
+ "z": "tab-ad7705-demo",
30
+ "x": 150,
31
+ "y": 120,
32
+ "wires": [["ad7705"]]
33
+ },
34
+ {
35
+ "id": "inj-read",
36
+ "type": "inject",
37
+ "name": "read every 2s",
38
+ "topic": "",
39
+ "payload": "",
40
+ "payloadType": "date",
41
+ "repeat": "2",
42
+ "crontab": "",
43
+ "once": false,
44
+ "onceDelay": 0.1,
45
+ "z": "tab-ad7705-demo",
46
+ "x": 150,
47
+ "y": 220,
48
+ "wires": [["ad7705"]]
49
+ },
50
+ {
51
+ "id": "ad7705",
52
+ "type": "periph-ad7705",
53
+ "name": "AD7705",
54
+ "device": "cfg-ad7705",
55
+ "z": "tab-ad7705-demo",
56
+ "x": 370,
57
+ "y": 180,
58
+ "wires": [["fn-split"]]
59
+ },
60
+ {
61
+ "id": "fn-split",
62
+ "type": "function",
63
+ "name": "split channels",
64
+ "func": "const ch1 = { payload: msg.payload.channel1 };\nconst ch2 = { payload: msg.payload.channel2 };\nreturn [ch1, ch2];",
65
+ "outputs": 2,
66
+ "noerr": 0,
67
+ "initialize": "",
68
+ "finalize": "",
69
+ "libs": [],
70
+ "x": 600,
71
+ "y": 180,
72
+ "wires": [["dbg-ch1"], ["dbg-ch2"]]
73
+ },
74
+ {
75
+ "id": "dbg-ch1",
76
+ "type": "debug",
77
+ "name": "channel1 (bridge, V)",
78
+ "active": true,
79
+ "tosidebar": true,
80
+ "console": false,
81
+ "tostatus": false,
82
+ "complete": "payload",
83
+ "targetType": "msg",
84
+ "statusVal": "",
85
+ "statusType": "auto",
86
+ "z": "tab-ad7705-demo",
87
+ "x": 830,
88
+ "y": 140,
89
+ "wires": []
90
+ },
91
+ {
92
+ "id": "dbg-ch2",
93
+ "type": "debug",
94
+ "name": "channel2 (temp, V)",
95
+ "active": true,
96
+ "tosidebar": true,
97
+ "console": false,
98
+ "tostatus": false,
99
+ "complete": "payload",
100
+ "targetType": "msg",
101
+ "statusVal": "",
102
+ "statusType": "auto",
103
+ "z": "tab-ad7705-demo",
104
+ "x": 830,
105
+ "y": 220,
106
+ "wires": []
107
+ }
108
+ ]
@@ -0,0 +1,125 @@
1
+ [
2
+ {
3
+ "id": "tab-ad7706-demo",
4
+ "type": "tab",
5
+ "label": "AD7706 ADC Demo",
6
+ "disabled": false,
7
+ "info": "3-channel AD7706 ADC demo for the HVAC manifold-pressure monitoring application. An inject node fires every 2 seconds, triggering a 3-channel read of channel1 (filter-inlet static), channel2 (filter-outlet static) and channel3 (duct static). The output splits via a function node into the three channel voltages, each feeding its own debug node. A second inject node fires once on deploy with the literal string 'calibrate' to trigger a self-calibration of all three configured channels before the periodic reads begin."
8
+ },
9
+ {
10
+ "id": "cfg-ad7706",
11
+ "type": "ad7706-device",
12
+ "name": "AD7706",
13
+ "bus": "0",
14
+ "device": "0",
15
+ "vref": "2.5",
16
+ "mclkHz": "2457600"
17
+ },
18
+ {
19
+ "id": "inj-calibrate",
20
+ "type": "inject",
21
+ "name": "calibrate (once)",
22
+ "topic": "",
23
+ "payload": "calibrate",
24
+ "payloadType": "str",
25
+ "repeat": "",
26
+ "crontab": "",
27
+ "once": true,
28
+ "onceDelay": 0.5,
29
+ "z": "tab-ad7706-demo",
30
+ "x": 150,
31
+ "y": 120,
32
+ "wires": [["ad7706"]]
33
+ },
34
+ {
35
+ "id": "inj-read",
36
+ "type": "inject",
37
+ "name": "read every 2s",
38
+ "topic": "",
39
+ "payload": "",
40
+ "payloadType": "date",
41
+ "repeat": "2",
42
+ "crontab": "",
43
+ "once": false,
44
+ "onceDelay": 0.1,
45
+ "z": "tab-ad7706-demo",
46
+ "x": 150,
47
+ "y": 220,
48
+ "wires": [["ad7706"]]
49
+ },
50
+ {
51
+ "id": "ad7706",
52
+ "type": "periph-ad7706",
53
+ "name": "AD7706",
54
+ "device": "cfg-ad7706",
55
+ "z": "tab-ad7706-demo",
56
+ "x": 370,
57
+ "y": 180,
58
+ "wires": [["fn-split"]]
59
+ },
60
+ {
61
+ "id": "fn-split",
62
+ "type": "function",
63
+ "name": "split channels",
64
+ "func": "const ch1 = { payload: msg.payload.channel1 };\nconst ch2 = { payload: msg.payload.channel2 };\nconst ch3 = { payload: msg.payload.channel3 };\nreturn [ch1, ch2, ch3];",
65
+ "outputs": 3,
66
+ "noerr": 0,
67
+ "initialize": "",
68
+ "finalize": "",
69
+ "libs": [],
70
+ "x": 600,
71
+ "y": 180,
72
+ "wires": [["dbg-ch1"], ["dbg-ch2"], ["dbg-ch3"]]
73
+ },
74
+ {
75
+ "id": "dbg-ch1",
76
+ "type": "debug",
77
+ "name": "channel1 (filter-inlet, V)",
78
+ "active": true,
79
+ "tosidebar": true,
80
+ "console": false,
81
+ "tostatus": false,
82
+ "complete": "payload",
83
+ "targetType": "msg",
84
+ "statusVal": "",
85
+ "statusType": "auto",
86
+ "z": "tab-ad7706-demo",
87
+ "x": 830,
88
+ "y": 120,
89
+ "wires": []
90
+ },
91
+ {
92
+ "id": "dbg-ch2",
93
+ "type": "debug",
94
+ "name": "channel2 (filter-outlet, V)",
95
+ "active": true,
96
+ "tosidebar": true,
97
+ "console": false,
98
+ "tostatus": false,
99
+ "complete": "payload",
100
+ "targetType": "msg",
101
+ "statusVal": "",
102
+ "statusType": "auto",
103
+ "z": "tab-ad7706-demo",
104
+ "x": 830,
105
+ "y": 180,
106
+ "wires": []
107
+ },
108
+ {
109
+ "id": "dbg-ch3",
110
+ "type": "debug",
111
+ "name": "channel3 (duct, V)",
112
+ "active": true,
113
+ "tosidebar": true,
114
+ "console": false,
115
+ "tostatus": false,
116
+ "complete": "payload",
117
+ "targetType": "msg",
118
+ "statusVal": "",
119
+ "statusType": "auto",
120
+ "z": "tab-ad7706-demo",
121
+ "x": 830,
122
+ "y": 240,
123
+ "wires": []
124
+ }
125
+ ]
@@ -0,0 +1,128 @@
1
+ [
2
+ {
3
+ "id": "tab-hx710a-demo",
4
+ "type": "tab",
5
+ "label": "HX710A Scale Demo",
6
+ "disabled": false,
7
+ "info": "Temperature-monitored load cell demo using the HX710A 24-bit ADC. On deploy, an inject node sends 'tare' to zero the scale. Every 2 seconds a second inject node triggers a weight reading. Every 30 seconds a third inject node sends 'temperature' to sample the on-chip temperature sensor. The HX710A node outputs { raw, weight } for weight readings and { raw_temperature } for temperature readings. The weight debug/gauge nodes show msg.payload.weight; the temperature debug node shows the raw, uncalibrated ADC code. Requires node-red-dashboard for the gauge. Set DOUT and PD_SCK to your GPIO pin numbers and calibrate the scale factor before use."
8
+ },
9
+ {
10
+ "id": "inj-tare",
11
+ "type": "inject",
12
+ "name": "Tare on deploy",
13
+ "topic": "",
14
+ "payload": "tare",
15
+ "payloadType": "str",
16
+ "repeat": "",
17
+ "crontab": "",
18
+ "once": true,
19
+ "onceDelay": 0.5,
20
+ "z": "tab-hx710a-demo",
21
+ "x": 140,
22
+ "y": 100,
23
+ "wires": [["hx710a"]]
24
+ },
25
+ {
26
+ "id": "inj-read",
27
+ "type": "inject",
28
+ "name": "Read every 2 s",
29
+ "topic": "",
30
+ "payload": "",
31
+ "payloadType": "str",
32
+ "repeat": "2",
33
+ "crontab": "",
34
+ "once": false,
35
+ "onceDelay": 0.1,
36
+ "z": "tab-hx710a-demo",
37
+ "x": 140,
38
+ "y": 200,
39
+ "wires": [["hx710a"]]
40
+ },
41
+ {
42
+ "id": "inj-temperature",
43
+ "type": "inject",
44
+ "name": "Temperature every 30 s",
45
+ "topic": "",
46
+ "payload": "temperature",
47
+ "payloadType": "str",
48
+ "repeat": "30",
49
+ "crontab": "",
50
+ "once": false,
51
+ "onceDelay": 1,
52
+ "z": "tab-hx710a-demo",
53
+ "x": 160,
54
+ "y": 300,
55
+ "wires": [["hx710a"]]
56
+ },
57
+ {
58
+ "id": "hx710a",
59
+ "type": "periph-hx710a",
60
+ "name": "HX710A",
61
+ "doutPin": "5",
62
+ "pdSckPin": "6",
63
+ "rate": "10",
64
+ "scaleFactor": "420.0",
65
+ "tareOffset": "0",
66
+ "z": "tab-hx710a-demo",
67
+ "x": 380,
68
+ "y": 200,
69
+ "wires": [["dbg-weight", "gauge-weight", "dbg-temperature"]]
70
+ },
71
+ {
72
+ "id": "dbg-weight",
73
+ "type": "debug",
74
+ "name": "weight (g)",
75
+ "active": true,
76
+ "tosidebar": true,
77
+ "console": false,
78
+ "tostatus": false,
79
+ "complete": "payload.weight",
80
+ "targetType": "msg",
81
+ "statusVal": "",
82
+ "statusType": "auto",
83
+ "z": "tab-hx710a-demo",
84
+ "x": 600,
85
+ "y": 140,
86
+ "wires": []
87
+ },
88
+ {
89
+ "id": "gauge-weight",
90
+ "type": "ui_gauge",
91
+ "name": "Scale (g)",
92
+ "group": "",
93
+ "order": 0,
94
+ "width": 0,
95
+ "height": 0,
96
+ "gtype": "gage",
97
+ "title": "Weight",
98
+ "label": "g",
99
+ "format": "{{payload.weight | number:1}}",
100
+ "min": "0",
101
+ "max": "1000",
102
+ "colors": ["#00b500", "#e6e600", "#ca3838"],
103
+ "seg1": "500",
104
+ "seg2": "800",
105
+ "className": "",
106
+ "z": "tab-hx710a-demo",
107
+ "x": 600,
108
+ "y": 200,
109
+ "wires": []
110
+ },
111
+ {
112
+ "id": "dbg-temperature",
113
+ "type": "debug",
114
+ "name": "temperature (raw)",
115
+ "active": true,
116
+ "tosidebar": true,
117
+ "console": false,
118
+ "tostatus": false,
119
+ "complete": "payload.raw_temperature",
120
+ "targetType": "msg",
121
+ "statusVal": "",
122
+ "statusType": "auto",
123
+ "z": "tab-hx710a-demo",
124
+ "x": 620,
125
+ "y": 260,
126
+ "wires": []
127
+ }
128
+ ]
@@ -0,0 +1,162 @@
1
+ [
2
+ {
3
+ "id": "tab-hx710b-demo",
4
+ "type": "tab",
5
+ "label": "HX710B Scale Demo",
6
+ "disabled": false,
7
+ "info": "Battery-monitored load cell demo using the HX710B 24-bit ADC. On deploy, an inject node sends 'tare' to zero the scale. Every 2 seconds a second inject node triggers a weight reading. Every 60 seconds a third inject node sends 'supply_diff' to sample the DVDD-AVDD supply-difference channel. The HX710B node outputs { raw, weight } for weight readings and { raw_supply_diff } for supply-diff readings. The weight output connects to a debug node and a gauge UI node (node-red-dashboard) showing grams; the supply-diff output connects to a switch node comparing against a configurable low-battery threshold and a notification node (node-red-dashboard) when crossed. Requires node-red-dashboard for the gauge. Set DOUT and PD_SCK to your GPIO pin numbers and calibrate the scale factor before use."
8
+ },
9
+ {
10
+ "id": "inj-tare-hx710b",
11
+ "type": "inject",
12
+ "name": "Tare on deploy",
13
+ "topic": "",
14
+ "payload": "tare",
15
+ "payloadType": "str",
16
+ "repeat": "",
17
+ "crontab": "",
18
+ "once": true,
19
+ "onceDelay": 0.5,
20
+ "z": "tab-hx710b-demo",
21
+ "x": 140,
22
+ "y": 100,
23
+ "wires": [["hx710b"]]
24
+ },
25
+ {
26
+ "id": "inj-read-hx710b",
27
+ "type": "inject",
28
+ "name": "Read every 2 s",
29
+ "topic": "",
30
+ "payload": "",
31
+ "payloadType": "str",
32
+ "repeat": "2",
33
+ "crontab": "",
34
+ "once": false,
35
+ "onceDelay": 0.1,
36
+ "z": "tab-hx710b-demo",
37
+ "x": 140,
38
+ "y": 200,
39
+ "wires": [["hx710b"]]
40
+ },
41
+ {
42
+ "id": "inj-supply-diff-hx710b",
43
+ "type": "inject",
44
+ "name": "Supply-diff every 60 s",
45
+ "topic": "",
46
+ "payload": "supply_diff",
47
+ "payloadType": "str",
48
+ "repeat": "60",
49
+ "crontab": "",
50
+ "once": false,
51
+ "onceDelay": 0.1,
52
+ "z": "tab-hx710b-demo",
53
+ "x": 140,
54
+ "y": 300,
55
+ "wires": [["hx710b"]]
56
+ },
57
+ {
58
+ "id": "hx710b",
59
+ "type": "periph-hx710b",
60
+ "z": "tab-hx710b-demo",
61
+ "name": "",
62
+ "gpioChip": "0",
63
+ "doutPin": "5",
64
+ "pdSckPin": "6",
65
+ "rate": "10",
66
+ "scaleFactor": "1.0",
67
+ "tareOffset": "0",
68
+ "x": 360,
69
+ "y": 200,
70
+ "wires": [["dbg-weight-hx710b", "gauge-weight-hx710b", "switch-supply-diff-hx710b"]]
71
+ },
72
+ {
73
+ "id": "dbg-weight-hx710b",
74
+ "type": "debug",
75
+ "z": "tab-hx710b-demo",
76
+ "name": "Weight",
77
+ "active": true,
78
+ "tosidebar": true,
79
+ "console": false,
80
+ "tostatus": false,
81
+ "complete": "payload",
82
+ "targetType": "msg",
83
+ "x": 580,
84
+ "y": 100,
85
+ "wires": []
86
+ },
87
+ {
88
+ "id": "gauge-weight-hx710b",
89
+ "type": "ui_gauge",
90
+ "z": "tab-hx710b-demo",
91
+ "name": "Weight (g)",
92
+ "group": "ui-group-hx710b",
93
+ "order": 1,
94
+ "width": "6",
95
+ "height": "4",
96
+ "gtype": "gage",
97
+ "title": "Weight",
98
+ "label": "g",
99
+ "format": "{{value}}",
100
+ "min": 0,
101
+ "max": 1000,
102
+ "colors": ["#00b500", "#e6e600", "#ca3838"],
103
+ "seg1": "",
104
+ "seg2": "",
105
+ "x": 580,
106
+ "y": 200,
107
+ "wires": []
108
+ },
109
+ {
110
+ "id": "ui-group-hx710b",
111
+ "type": "ui_group",
112
+ "z": "",
113
+ "name": "HX710B",
114
+ "tab": "ui-tab-hx710b",
115
+ "order": 1,
116
+ "disp": true,
117
+ "width": "6"
118
+ },
119
+ {
120
+ "id": "ui-tab-hx710b",
121
+ "type": "ui_tab",
122
+ "z": "",
123
+ "name": "HX710B Demo",
124
+ "icon": "dashboard",
125
+ "order": 1
126
+ },
127
+ {
128
+ "id": "switch-supply-diff-hx710b",
129
+ "type": "switch",
130
+ "z": "tab-hx710b-demo",
131
+ "name": "Low battery?",
132
+ "property": "payload.raw_supply_diff",
133
+ "propertyType": "msg",
134
+ "rules": [
135
+ { "t": "lt", "v": "-50000", "vt": "num" },
136
+ { "t": "gt", "v": "50000", "vt": "num" }
137
+ ],
138
+ "checkall": "false",
139
+ "repair": false,
140
+ "outputs": 2,
141
+ "x": 580,
142
+ "y": 300,
143
+ "wires": [["notify-low-batt-hx710b"], []]
144
+ },
145
+ {
146
+ "id": "notify-low-batt-hx710b",
147
+ "type": "ui_toast",
148
+ "z": "tab-hx710b-demo",
149
+ "position": "top right",
150
+ "displayTime": "5",
151
+ "highlight": "red",
152
+ "outputs": 0,
153
+ "ok": "OK",
154
+ "cancel": "",
155
+ "raw": false,
156
+ "topic": "Battery",
157
+ "name": "LOW BATTERY",
158
+ "x": 800,
159
+ "y": 300,
160
+ "wires": []
161
+ }
162
+ ]
@@ -0,0 +1,95 @@
1
+ [
2
+ {
3
+ "id": "tab-hx711-demo",
4
+ "type": "tab",
5
+ "label": "HX711 Scale Demo",
6
+ "disabled": false,
7
+ "info": "Kitchen scale demo using the HX711 24-bit ADC and a load cell. On deploy, an inject node sends 'tare' to zero the scale. Every 2 seconds a second inject node triggers a weight reading. The HX711 node outputs { raw, weight } — weight in grams using the configured scale factor. The debug node shows msg.payload.weight; the gauge displays it as a live reading. Requires node-red-dashboard for the gauge. Set DOUT and PD_SCK to your GPIO pin numbers and calibrate the scale factor before use."
8
+ },
9
+ {
10
+ "id": "inj-tare",
11
+ "type": "inject",
12
+ "name": "Tare on deploy",
13
+ "topic": "",
14
+ "payload": "tare",
15
+ "payloadType": "str",
16
+ "repeat": "",
17
+ "crontab": "",
18
+ "once": true,
19
+ "onceDelay": 0.5,
20
+ "z": "tab-hx711-demo",
21
+ "x": 140,
22
+ "y": 100,
23
+ "wires": [["hx711"]]
24
+ },
25
+ {
26
+ "id": "inj-read",
27
+ "type": "inject",
28
+ "name": "Read every 2 s",
29
+ "topic": "",
30
+ "payload": "",
31
+ "payloadType": "str",
32
+ "repeat": "2",
33
+ "crontab": "",
34
+ "once": false,
35
+ "onceDelay": 0.1,
36
+ "z": "tab-hx711-demo",
37
+ "x": 140,
38
+ "y": 200,
39
+ "wires": [["hx711"]]
40
+ },
41
+ {
42
+ "id": "hx711",
43
+ "type": "periph-hx711",
44
+ "name": "HX711",
45
+ "doutPin": "5",
46
+ "pdSckPin": "6",
47
+ "gain": "128",
48
+ "scaleFactor": "420.0",
49
+ "tareOffset": "0",
50
+ "z": "tab-hx711-demo",
51
+ "x": 360,
52
+ "y": 200,
53
+ "wires": [["dbg-weight", "gauge-weight"]]
54
+ },
55
+ {
56
+ "id": "dbg-weight",
57
+ "type": "debug",
58
+ "name": "weight (g)",
59
+ "active": true,
60
+ "tosidebar": true,
61
+ "console": false,
62
+ "tostatus": false,
63
+ "complete": "payload.weight",
64
+ "targetType": "msg",
65
+ "statusVal": "",
66
+ "statusType": "auto",
67
+ "z": "tab-hx711-demo",
68
+ "x": 580,
69
+ "y": 160,
70
+ "wires": []
71
+ },
72
+ {
73
+ "id": "gauge-weight",
74
+ "type": "ui_gauge",
75
+ "name": "Scale (g)",
76
+ "group": "",
77
+ "order": 0,
78
+ "width": 0,
79
+ "height": 0,
80
+ "gtype": "gage",
81
+ "title": "Weight",
82
+ "label": "g",
83
+ "format": "{{payload.weight | number:1}}",
84
+ "min": "0",
85
+ "max": "1000",
86
+ "colors": ["#00b500", "#e6e600", "#ca3838"],
87
+ "seg1": "500",
88
+ "seg2": "800",
89
+ "className": "",
90
+ "z": "tab-hx711-demo",
91
+ "x": 580,
92
+ "y": 240,
93
+ "wires": []
94
+ }
95
+ ]