they have to be on the same lan (or server if WAN) with proper credentials. (user/Pass) then it’s a matter of subscribing to the topic that will handle your garage door. Then when other devices subscribe to it they can pub messages for the subs to react to.
Im assuming you pull the git, edit the files as needed (config.yaml) , set topics and boot up.
I’m not using those components so it’s hard for me to say. I built my own out of an ESP8266 and a relay… so I’ve reached my limit to be able to help anymore… Sorry.
maybe someone can tell me what I did that are preventing the two pi’s from talking?
Ok I have a Pi zero running GarageQTPi and main.py with the config.yaml and I have a Pi3 running my homeassistant. I can SSH into both wirelessly.
If I jumper gnd to GPIO pin 17 my zero will say “State change triggered: home-assistant/cover/hodor -> closed” and if I remove it it will say “State change triggered: home-assistant/cover/hodor -> open”
But I can’t seem to get the two to talk to each other…
The HomeAssistant pi3 has an ip of 10.0.0.10 and the Pi zero GarageQTPi has an ip of 10.0.0.20
The Homeassistant indicates Status Unkown.
When I try doing some of the commands to send a mqtt message on the HomeAssistant it says Error Connection refused. Even with -u :pi -P :xxxxxxx
config.yaml on my raspbery pi zero named garage
“”
mqtt:
host: 10.0.0.10
port: 1883
user: root
password: XXXXXXXX
doors:
-
id: ‘hodor’
relay: 23
state: 17
state_topic: “home-assistant/cover/hodor”
command_topic: “home-assistant/cover/hodor/set”
“”
clip of configuration.yaml on my Raspberry pi 3 running home assistant. Note it shows the cover and when I click the open or close a message appears in the lower left corner indicating open or close
“”
mqtt:
discovery: true
Problem resolved!
Username is not ROOT even though that is what you log into the Homeassistant with.
The username is homeassistant…
All this trouble sigh…
Has anyone had any luck with garage door wall panels that do not just require breaking or completing a circuit? I have a Genie 2028 and the wall panel has a PCB in it.
I wired GarageQtPi in and was able to successfully turn the light on the wall panel on and off but not activate the garage door.
It seems that the garage door is expecting some sort of signal from the wall panel since it has a light activate button, vacation mode, and door open/close using only 2 wires.
Anyone have any ideas where to look to see if this is possible with my or similar models?
My garage door works with a panel or a doorbell. Each of the different functions have a capacitor or something on it.
The opener puts out a signal at 40hz I thought and when the correct button is pushed the capacitor/coil circuit changes the signal.
So I purchase a wall mount controller (15 $) and then soldered the relay wires to the board where the buttons attached.