@@ -16,7 +16,7 @@ This Secplus GDO ESP32 setup guide provides two methods to add the GRGDO1 to an
16
16
17
17
Availble from [ https/www.gelidus.ca/] ( https/www.gelidus.ca/ )
18
18
19
- Inside the enclosure.
19
+ Inside the enclosure - v1 board .
20
20
21
21
<img src =" /images/gdo/grgdo1.top.bare.jpg " alt =" GRGDO1 " style =" width : 400px ;" />
22
22
@@ -32,6 +32,14 @@ Inside the enclosure.
32
32
- 1 Meter of 3 conductor 22 AWG bell wire
33
33
- 3D printed protective safety enclosure.
34
34
35
+ Inside the enclosure - v2 board differences.
36
+
37
+ <img src =" /images/gdo/GRGDO1.v2.USB-C.JPG " alt =" GRGDO1 " style =" width : 400px ;" />
38
+
39
+ - 4 Pin Aux port header (GND, 3.3v GPIO26, GPIO25) GPIO2 unsoldered
40
+ - USB-C programing interface.
41
+
42
+
35
43
Protective 3D enclosure (FR ABS)
36
44
37
45
<img src =" /images/gdo/grgdo1.enclosed.jpg " alt =" GRGDO1 " style =" width : 400px ;" />
@@ -79,6 +87,8 @@ substitutions:
79
87
dry_contact_open_pin : GPIO18 # J4 Pin 6 Green
80
88
dry_contact_close_pin : GPIO19 # J4 Pin 7 Blue
81
89
dry_contact_light_pin : GPIO17 # J4 Pin 8 Orange
90
+ tof_sda_pin : GPIO26 # v1 board=GPIO3 v2(USB-C) board=GPIO26
91
+ tof_scl_pin : GPIO25 # v1 board=GPIO1 v2(USB-C) board=GPIO25
82
92
garage_door_cover_name : Garage Door
83
93
garage_light_name : Garage Light
84
94
garage_openings_name : Garage Openings
@@ -102,8 +112,6 @@ esphome:
102
112
# name: konnected.garage-door-gdov2 #Required if using homebridge-ratgdo
103
113
# version: "1.0"
104
114
comment : " ESP32: Garage Door Opener"
105
- libraries :
106
- - https://github.com/gelidusresearch/gdolib.git
107
115
platformio_options :
108
116
build_flags :
109
117
- -Wl,--wrap=esp_panic_handler
@@ -124,6 +132,7 @@ wifi:
124
132
captive_portal :
125
133
126
134
logger :
135
+ baud_rate : 921600 # Set to 0 for GRGDO1 v1.0 hardware with the VL53L1X sensor
127
136
128
137
api :
129
138
encryption :
@@ -147,6 +156,9 @@ secplus_gdo:
147
156
id : grgdo
148
157
input_gdo_pin : ${uart_rx_pin}
149
158
output_gdo_pin : ${uart_tx_pin}
159
+ # input_obst_pin: ${input_obst_pin} # Used to enable physical pin obstruction sensing
160
+ # tof_sda_pin: ${tof_sda_pin} # If defined the ToF code will be enabled and requires number: vehicle_parked_threshold
161
+ # tof_scl_pin: ${tof_scl_pin} # Required for ToF Sensor
150
162
151
163
light :
152
164
- platform : secplus_gdo
@@ -173,9 +185,21 @@ sensor:
173
185
name : " Garage Door Openings"
174
186
unit_of_measurement : " openings"
175
187
icon : mdi:open-in-app
188
+ - platform : wifi_signal # Reports the WiFi signal strength/RSSI in dB
189
+ id : wifi_signal_db
190
+ update_interval : 60s
191
+ entity_category : " diagnostic"
192
+ - platform : copy # Reports the WiFi signal strength in %
193
+ source_id : wifi_signal_db
194
+ name : " WiFi Signal Strength"
195
+ filters :
196
+ - lambda : return min(max(2 * (x + 100.0), 0.0), 100.0);
197
+ unit_of_measurement : " %"
198
+ entity_category : " diagnostic"
199
+ device_class : " "
176
200
# - platform: dht
177
201
# model: DHT22
178
- # pin: GPIO3
202
+ # pin: GPIO3 # v1 board=GPIO3 v2 board=GPIO26
179
203
# temperature:
180
204
# name: "Temperature"
181
205
# accuracy_decimals: 1
@@ -221,6 +245,21 @@ binary_sensor:
221
245
secplus_gdo_id : grgdo
222
246
type : sync
223
247
device_class : connectivity
248
+ # ToF Sensor
249
+ # - platform: secplus_gdo
250
+ # secplus_gdo_id: grgdo
251
+ # id: gdo_vehicle_parked
252
+ # type: vehicle_parked
253
+ # name: "Vehicle parked"
254
+ # - platform: secplus_gdo
255
+ # secplus_gdo_id: grgdo
256
+ # id: gdo_vehicle_arriving
257
+ # type: vehicle_arriving
258
+ # name: "Vehicle arriving"
259
+ # - platform: secplus_gdo
260
+ # secplus_gdo_id: grgdo
261
+ # id: gdo_vehicle_leaving
262
+ # type: vehicle_leaving
224
263
225
264
- platform : gpio
226
265
id : " ${id_prefix}_dry_contact_open"
@@ -348,6 +387,16 @@ number:
348
387
mode : box
349
388
unit_of_measurement : " s"
350
389
390
+ # ToF Sensor - Required
391
+ # - platform: secplus_gdo
392
+ # name: "Vehicle Parked Threshold"
393
+ # secplus_gdo_id: grgdo
394
+ # entity_category: config
395
+ # id: gdo_vehicle_parked_threshold
396
+ # type: vehicle_parked_threshold
397
+ # mode: box
398
+ # unit_of_measurement: "cm"
399
+
351
400
button :
352
401
- platform : restart
353
402
name : Restart
@@ -405,7 +454,7 @@ GRGDO1 will now come online and you can add it to Home Assistant with the config
405
454
406
455
To enable flash mode on the GRGDO1 you need to depress and hold SW1 then connect your USB to serial adapter to the UART flashing connector as shown here. Once power is applied the button can be released and GRGDO1 will be in flash mode. (Pre-connecting J1 and then plugging in the USB end is usually easier)
407
456
408
- GRGDO1 Flashing Header
457
+ GRGDO1 v1 Board Flashing Header
409
458
410
459
<img src="/images/gdo/gdo1.flash.header.JPG" alt="Select" style="width: 200px;"/>
411
460
@@ -417,6 +466,10 @@ RX <- TX
417
466
3.3v - 3.5v Max
418
467
GND - GND</code></pre>
419
468
469
+ GRGDO1 v2 Board Flash - plug into the USB-C portal
470
+
471
+ <img src="/images/gdo/GRGDO1.v2.USB-C.JPG" alt="Select" style="width: 200px;"/>
472
+
420
473
Prepare the firmware by selecting install on the top right of the ESPHome edit screen.
421
474
422
475
Select Plug into this computer.
@@ -446,6 +499,15 @@ This example is a basic config and is the most common way to connect up the GRGD
446
499
## DHT22 Add-On Connections
447
500
<img src="/images/gdo/dht22.grgdo1.connection.png" alt="Select" style="width: 400px;"/>
448
501
502
+ ## ToF Sensor Add-on
503
+
504
+ The ToF sensor is keyed and connects one way by aligning the pins in the Aux port.
505
+
506
+ <img src="/images/gdo/GRGDO1.ToF.VL53L1X.Add-On.JPG" alt="Select" style="width: 400px;"/>
507
+ <img src="/images/gdo/GRGDO1.black.side.JPG" alt="Select" style="width: 400px;"/>
508
+
509
+
510
+
449
511
## Home Assistant Dashboard Examples
450
512
451
513
Button Card
0 commit comments