ratgdo / esphome-ratgdo

ratgdo for ESPHome
GNU General Public License v2.0
358 stars 108 forks source link

3rd Party dry contact toggle trigger and wiring. #329

Open saschawj opened 1 month ago

saschawj commented 1 month ago

Hi,

I have been following the solution from RATGDO for Liftmaster/Chaimberlain MyQ for a while now and was really encouraged by the fact that it may solve the problem of adding 3rd party trigger devices (for toggle) to the dry contacts.

Having a Garage Camera that can do a dry contact toggle, I was encouraged to try this out on my RATGDO v2.5 board. Following the wiring diagrams, there is no problem to use this board with the Liftmaster 98022 jackshaft opener, however for the dry contact pins, either I am missing a configuration or may have a wiring problem.

image

I have tried 2 configurations in ESPHome to no avail. Not even seeing a trigger in the console.

One Config

`substitutions: name: ratgdov25i-XXXXac friendly_name: AttachedGarage-RatGDO packages: ratgdo.esphome: github://ratgdo/esphome-ratgdo/v25iboard.yaml@main esphome: name: ${name} name_add_mac_suffix: false friendly_name: ${friendly_name} api: encryption: key: XXXXXXXXXXXXXXXXXXXXX

wifi: ssid: !secret wifi_ssid password: !secret wifi_password `

The other config tried: ` substitutions: id_prefix: "atached_garage_ratgdov25i" friendly_name: "AttachedGarage-RatGDO" uart_tx_pin: D1 uart_rx_pin: D2 input_obst_pin: D7 status_door_pin: D0 status_obstruction_pin: D8 dry_contact_open_pin: D5 dry_contact_close_pin: D6 dry_contact_light_pin: D3

web_server:

esphome: name: ${id_prefix} friendly_name: ${friendly_name} name_add_mac_suffix: false project: name: ratgdo.esphome version: "2.5i"

esp8266: board: d1_mini restore_from_flash: true

dashboard_import: package_import_url: github://ratgdo/esphome-ratgdo/v25iboard.yaml@main

packages: remote_package: url: https://github.com/ratgdo/esphome-ratgdo files: [base.yaml] refresh: 1s

time:

api: id: api_server encryption: key: XXXXXXXXXXXXXXXXXXXXXX

ota:

improv_serial:

wifi: ssid: !secret wifi_ssid password: !secret wifi_password

logger: level: DEBUG`

I do see the settings on the device itself. image

If anyone would have any idea, please let me know.

Thanks

S.