I’ve used the guides provided by dfrap (Shelly 1 Garage Door Controller) along with other examples I found on the internet and in the OP’s links. My current wiring for 12 VDC is hot go into (+) while ground is (-). In addition, one wire coming out of Reed Switch is connected to ground (-) while the other connected to SW terminal. The I/O terminals are then connected to the Garage switch. Everything seems to work as expected; except, when the relay switch comes into contact with the magnet, it triggers the relay. For example when I close the garage from Home Assistant app, the circuit shorts the I/O terminals on the Shelly relay and moves the garage door to a closed position where the reed switch magnets line up. When the magnets line up, it shorts the I/O terminals which then opens the garage back up.
I suspect this is a wiring issue but I don’t see how else I could have wired it differently. Is there something I can change in the configuration or automation file so that the relay switch doesn’t trigger the I/O relay on the Shelly when it’s closed?
Configuration.yaml
cover:
- platform: mqtt
name: "Garage Door"
position_topic: "shellies/shelly1-XXXX/input/0"
command_topic: "shellies/shelly1-XXXX/relay/0/command"
availability_topic: "shellies/shelly1-XXXX/online"
retain: false
payload_open: "on"
payload_close: "on"
payload_stop: "on"
position_open: 0
position_closed: 1
payload_available: "true"
payload_not_available: "false"
Automation.yaml
- id: 'mqtt_shell_announce'
alias: Shelly Sync at HA Start
trigger:
- platform: homeassistant
event: start
action:
- delay: 00:00:20
- service: mqtt.publish
data:
topic: shellies/command
payload: announce
- id: 'mqtt_garage_door_status'
alias: MQTT Garage Door Status
trigger:
entity_id: cover.garage_door
platform: state
from: closed
to: open
action:
service: notify.notify
data:
message: "Garage is OPENED!"
title: "Garage Status"