Tell us about yourself!
I've reviewed every step in this guide and made a lot of updates to simply configuration by making most of the steps copy and paste so manual editing of files is no longer needed. The steps to install habridge are much easier and updating will be more straight foward. If you are still having trouble, I recommend deleting your habridge folder and trying the updated steps.
I setup a new install of Raspbian using my instructions and HA-Bridge started up just fine and has stayed running for the last 2 hours.I did tweak the Instructable a bit to have a copy and paste script so you don't have to do so much by hand, it may be worth trying out.
I'm not sure I exactly understand what isn't working. "About 50 in..." I'm not sure what you mean. Does it run for awhile and then stop? The version you mentioned looks like a Release Candidate so I would to with whatever the most recent Stable release is and copy it just like you had toward the end of your message.Once it is running, open a web browser to the IP address of the Rpi to see the HA Bridge webpage to configure it. Does it run for awhile there and eventually crash?It may be that there is an issue with the new versions of Rasbian. Another user contacted me about needing to update some instructions for LIRC but I didn't think it had anything to do with HA Bridge, but I'll review it in a few days and see if anything comes up.
I actually have two IR emitters on my setup, and I believe they are setup in parallel, but I don't recall for certain and it is behind equipment currently. I'm using it to target two different devices with the same cable.For the time delay, each device will handle it differently, but for my setup I have 1000 millisecond (1 second) delay between commands. I tried with a shorter delay and it worked most of the time but sometimes would miss a command. Just test it out as it is easy to change in the HA Bridge website on your device.
Here is the direct link for the Petri script:https://metis.fi/en/2018/02/unifi-on-gcp/Take note of Step 5 about setting up the controller. There are some settings to change on the new controller after you restore it and then you make the same changes to your current controller so it will tell your devices to go to the new IP.As far as the certificate not working, there are some logs that can be reviewed, or try posting with that specific question on his site. I just deployed a new VM for my controller in the past 2 weeks and my certificate didn't work either. But I use the unifi.ubnt.com site to typically access mine so I'm not that concerned about it. But I should find out what it causing it.
The easiest way is to use some scripts that another Unifi user maintains that can be found here:https://community.ubnt.com/t5/UniFi-Wireless/UniFi...Just follow the instructions on the page and you are good to go.
Are you using Ubuntu 18.04? If so, the version of MongoDB that comes with it is not supported with current Unifi versions. The Unifi forums have workarounds for downgrading Mongo.If you are using an earlier version and port 8443 is not open, double check the firewall rules and also check the status of the unifi service with this command service unifi statusYou can also check the last several lines (30 in this case) of the Unifi server logs to see if it tells you if it can't startsudo tail /var/log/unifi/server.log -n30
Unifi Controller on Google Cloud Platform (GCP)View Instructable »
Amazon Echo Controlled IR RemoteView Instructable »