OpenGarage Forums OpenGarage Firmware MQTT and home assistant

This topic contains 3 replies, has 2 voices, and was last updated by  gabe565 2 weeks, 3 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1872

    idxman01
    Participant

    OG has been working great with Blynk, but I’m not able to integrate with home assistant via MQTT. Admittedly I had to resolve a quirky network vlan issue, but it’s fine now.

    I installed the core mosquito addon, temporarily allowed anonymous readwrite and tested pub/sub on my laptop on the same isolated ssid /vlan. (port 1883)

    I don’t even see connection attempts in logs or packet captures. The code on GitHub looks straightforward and I’ve configured the HA IP and rebooted.

    The OG component using http works, but I’d rather not poll it every 10s.

    ???

    • This topic was modified 2 months, 2 weeks ago by  idxman01.
    #1874

    idxman01
    Participant

    This was a weird one. It started working and immediately sending mqtt traffic after I added a space after the IP. It was only 9 characters before the space.

    #1875

    idxman01
    Participant

    Issue #43 opened. I’ll do a pull request if I have a chance, but it appears there’s several other recent pulls involving mqtt. (#39 and 40 – which is awesome, I was looking at adding those as well.)

    https://github.com/OpenGarage/OpenGarage-Firmware/issues/43

    https://github.com/OpenGarage/OpenGarage-Firmware/pull/39

    BTW, what is everyone doing with anonymous MQTT? Allowing readwrite to all topics or restricting anonymous connections to specific topics?

    #2012

    gabe565
    Participant

    I have a forked build with all of the current Pull Request’s merged in (#39, #40, #41, and #42) and have been running it for a couple of months now, so I have decided to go ahead and post the build I am using!

    I have versioned it at 1.2.0 for now and you can download it in the Compiled directory of my fork. If you don’t want to blindly flash a build I have created, you can always pull down my fork and build it yourself! Just make sure to compile the build branch (I created my first Pull Request before I anticipated making more changes, so I had to merge all of these changes together in another branch)

    I plan to work on setting up Home Assistant auto-discovery of OpenGarage devices through MQTT next.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

OpenGarage Forums OpenGarage Firmware MQTT and home assistant