Jump to content

jakkuh_t

Administrator
  • Posts

    929
  • Joined

  • Last visited

Everything posted by jakkuh_t

  1. This tutorial is meant to show you how to setup a self-hosted HomeAssistant instance with Google Assistant integration. For this specific tutorial, we will be using UnRAID to manage our docker containers for all the apps we are using, but you could also manually install all of this directly onto your own Linux system without docker or into your own docker setup on a VPS in a datacenter in if you have the know how. As we mentioned in the accompanying video, there may be some potential security concerns with this setup - primarily that your HomeAssistant instance must be publicly accessible on the internet for Google Assistant to work with it. You can remedy this a bit by using Cloudflare as your DNS provider, which can hide your external IP address, and block automated bots from accessing your HomeAssistant page. If you want to use Google Assistant with your HomeAssistant instance, you're going to need the following: 1. a HomeAssistant instance - we will be using the "Home-Assistant-Core" docker app from the UnRAID Community Apps plugin. 2. a domain name - we will be using "autopilottonowhere.com" with DNS hosted by CloudFlare for the purposes of this tutorial 3. an SSL certificate for the above domain name - we will have this automatically issued from LetsEncrypt by our reverse proxy ("NGINX Proxy Manager" from the UnRAID Community Apps plugin). 4. remote access to your HomeAssistant instance by way of port forwarding Tutorial: Start by acquiring a domain name. You can use whatever registrar you'd like, but once it is purchased we'd recommend setting up the domain with CloudFlare. CloudFlare has some solid documentation on doing so here: https://www.cloudflare.com/en-ca/welcome-center/activation/ For the purposes of this tutorial we will be using "autopilottonowhere.com" Note: If you already have a domain you'd like to use you can skip this step, lol. Next, if you haven't already, install the "Home Assistant Core" UnRAID Community app onto your UnRAID server. There isn't any configuration needed for this, but it will ask you to create an account. Make sure you use very strong login credentials as the instance will be exposed to the open internet. Set it to autostart. If you're hosting HomeAssistant at your house, you'll likely have a dynamic IP address (meaning it has the potential to change unexpectedly) and will need to do some additional steps, otherwise skip to #4: To make sure your domain automatically updates when your dynamic IP changes, we'll need to setup some sort of Dynamic DNS service. This will regularly check your external/WAN IP address, and update the DNS record if it changes. Assuming you're using CloudFlare, the UnRAID community app "CloudFlareDDNS" works perfectly for this. Create a DNS A record that you want to be dynamically updated, but with a random IP address just so the record exists and can be updated. I'm not actually sure this is strictly necessary, but I did it anyways to prevent any potential issues . We're going to use "homeassistant.autopilottonowhere.com". Make sure the little cloud is orange, as this indicates that CloudFlare is protecting your domain. Before you can install the DDNS app, you'll need to create a Custom Token for the zone/domain you wish to use for HomeAssistant. Copy the API token into a text editor temporarily so you don't loose it. Otherwise, it will need to be regenerated. Click Install on the CloudFlareDDNS app from the UnRAID Community Apps page, enter the requisite info and hit apply. Check your CloudFlare "DNS" tab for your domain to make sure it is updating the record properly. Set the DDNS app to autostart so that it comes back online, in the event that your UnRAID machine is rebooted. If you have a static IP at home or wherever you are hosting it, create a DNS A record to point to your IP. We're going to use "homeassistant.autopilottonowhere.com". Make sure the little cloud is orange, as this indicates that CloudFlare is protecting your domain. Install the "NGINX Proxy Manager" UnRAID Community App, during the install, you can leave the ports as default as we can forward them to the proper HTTP and HTTP(s) with our port forwarding rules. Set it to autostart. Open the WebUI, login with the default credentials, then update them to be appropriately strong. Email: admin@example.com Password: changeme Assuming your HomeAssistant instance is running on a NAT'd subnet, we'll need to forward the necessary ports to make it publicly accessible. Since we will be proxying it with NGINX Proxy Manager, setup your two port forwarding rules (one for HTTP (tcp port 80) and one for HTTPs (tcp port 443)) to forward to it (80 -> 1880 and 443 -> 18443) instead of HomeAssistant, as pictured. You'll need to use your GoogleFu to figure out how to do this on your specific router, but we're assuming you at least know how to port forward if you're willing to attempt this tutorial. Note: if you haven't already done so, you should set your UnRAID server to have an static INTERNAL IP, otherwise it may change like a dynamic external/WAN IP would, and break our port forwarding rules. In our case, this is 10.20.0.29. Go back to NGINX Proxy Manager and apply for an SSL certificate for your chosen HomeAssistant domain. If this doesn't work, there is likely an issue with your port fowarding rules, so review those. Still in NGINX Proxy Manager, create a Proxy Host. Before saving, add the SSL certificate you created in the previous step to the Proxy Host. Your HomeAssistant instance should now be accessible remotely through your domain of choice! To setup Google Assistant to work with your HomeAssistant instance, it's a bit of a long winded process if you're self hosting, but JuanMTech created an awesome tutorial for it. As long as you follow it and take your time, it will work without issue. https://www.juanmtech.com/integrate-google-assistant-with-home-assistant-without-a-subscription/ Important note: near the end of the tutorial you will be instructed to set the exposed domains. The MyQ openner is categorized under the "cover" domain, so make sure you included "- cover" under exposed_domains If you want to link your MyQ door opener, go to Configuration>Integrations>Add Integration in HomeAssistant, type in "MyQ" and link your credentials. Then, in the Google Home app on your phone, ask google to "Sync my devices" and your garage doors, along with any other exposed domains should appear! Woo! Last step, the most difficult.... say "Hey Google, open <device name>", crack open your beverage of choice, and bask in the glory that is HomeAssistant.
  2. Over the years we've upgraded our networking many times, but we've always neglected one upgrade - fibre optics. Today that changes. Buy 25G Fibre Transceivers: From FS.com (Dell): https://rb.gy/obqekd From FS.com (Mellanox): https://rb.gy/jb2upm Buy Direct Attach 100G Cabling: From FS.com: https://rb.gy/vym8b5 Buy Fibre Optic Cabling: From Infinite Cables: https://lmg.gg/fibre Check out Fibre Testing Equipment: From Fluke: https://lmg.gg/flukefibre
  3. Who needs a tinfoil hat when you can have a paper one?
  4. Back in 2018, we tried out a direct system-to-system 100GbE link with the help of Mellanox. This time, we've got a switch and a plan to deploy what will be our fastest networking EVER. HOLY $H!T.
  5. Liqid said they had something crazy to send us. I wasn't expecting this. Thanks to Pulseway for sponsoring this video! Remotely monitor and manage your PC with Pulseway, for free today at https://lmg.gg/cH4TX
  6. With AMD's latest and greatest processors and graphics finally out, it's time to do an all AMD build again - this time featuring the Lian Li PC-O11D Mini.
  7. Liqid's badger den server is so crazy that we wondered what would it be like to GAME on the dang thing... Let's find out.
  8. It's finally time again for PC Secret Shopper - where we document the entire experience of ordering a gaming system from your favourite PC system integrators. In this part, we finally benchmark all of the systems, share our final thoughts on each of them, and crown a winner. Thanks to dbrand for sponsoring Secret Shopper 2! You missed the limited edition LTT x dbrand drop, so get rekt, but you can still checkout regular dbrand skins here: https://dbrand.com/
  9. Thanks to dbrand for sponsoring Secret Shopper 2! Check out the new limited edition LinusTechTips skin drop at https://dbrand.com/LinusDropTips It's finally time again for PC Secret Shopper - where we document the entire experience of ordering a gaming system from your favourite PC system integrators. In this part, we trial their tech support with a routine memory issue.
  10. Thanks to dbrand for sponsoring Secret Shopper 2! Check out the new limited edition LinusTechTips skin drop at http://lttstores.com/ and http://lttstore.store/ It's finally time again for PC Secret Shopper - where we document the entire experience of ordering a gaming system from your favorite PC system integrators. In this part, we find out exactly what we actually ordered!
  11. Thanks to dbrand for sponsoring Secret Shopper 2! Check out the new limited edition LinusTechTips skin drop at http://notlttstore.com/ and http://newandimprovedlttstore.com/ It's finally time again for PC Secret Shopper - where we document the entire experience of ordering a gaming system from your favourite PC system integrators. Let's see how they did.
  12. Long has running an ITX system required compromising on expandability. Today that changes! Thanks to Seasonic for sponsoring this video! Buy Seasonic products: On Amazon: https://geni.us/q4lnefC On Newegg: https://lmg.gg/8KV3S
  13. Intel has long reigned supreme in the low power mini PC market with their NUC lineup, but with MinisForum's new Ryzen based mini PC's on the market, this might just change.. Check out the DeskMini Indiegogo: https://lmg.gg/EPDZZ
  14. Today we take a look at the Nimbus Data ExaDrive DC 100TB - the world LARGEST solid-state drive. HOLY $H!T.
×