jerrod-lankford / GarageQTPi

An MQTT server for a raspberry pi garage door opener. Most commonly used as a HomeAssistant cover component.
MIT License
75 stars 36 forks source link

Availability Support (Birth and LWT Messages) #45

Closed hellcat707hp closed 3 years ago

hellcat707hp commented 3 years ago

This adds availability support to the garage doors.

This is useful for tracking the status of the Pi device, especially inside Home Assistant where the availability topic can be used to show if your device is offline or not. In Home Assistant at least, your device will visually appear as offline/disabled making it easier to tell when your Pi dropped offline, intentionally or not.

See the Home Assistant cover documentation for more info on availability

EDIT: Just wanted to also say thank you @Jerrkawz for creating this. It is totally cool and shockingly simple.

bg1000 commented 3 years ago

@hellcat707hp I don't think this repo is being actively maintained. I exchanged some messages with the author after waiting a month on a pull request and he let me know he has moved an no longer uses it. I use it and am maintaining a fork here. I have already added availability topic support and a few other things. I am open to pull requests.

hellcat707hp commented 3 years ago

@bg1000 That's what it looked like upon doing some digging, I wanted this to be available for those who might stumble upon this project, but it looks like you've got it covered! I really like your fork and I will be using that myself. Thanks for letting me know!

I will close this pull request and recommend all who come across this to see @bg1000's fork here. I would consider his fork basically a v2 of this project.

bg1000 commented 3 years ago

Thanks @hellcat707hp. If you have any problems feel free to open an issue or hit me up on the home assistant community forum or discord. My username is the same in all three places