Category: Home Automation

Hoobs – Adding AdGuard Home

Hoobs is a simple Homebridge implementation, takes minuets to get up and running on a Raspberry Pi.

But as its on a Raspberry Pi you can also run other applications, for example AdGuard Home. AdGuard is a DNS AdBlocker, you simply run, configure and then set up your router with DNS IP of your AdGuard install. Your network devices will eventually start using this as their DNS. Its similar to piHole but better 🙂

Simply open your Hoobs Homebridge site which is usually http://hoobs.local/ From the three vertical dots on the far right select Terminal and install AdGuard

My commands are bold and this shows full output:

hoobs@hoobs:/var/lib/homebridge $ cd $HOME
hoobs@hoobs:~ $ wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
--2019-10-09 13:52:29-- https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
Resolving static.adguard.com (static.adguard.com)... 104.20.31.130, 104.20.30.130, 2606:4700:10::6814:1e82, ...
Connecting to static.adguard.com (static.adguard.com)|104.20.31.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5280981 (5.0M) [application/octet-stream]
Saving to: ‘AdGuardHome_linux_arm.tar.gz’

AdGuardHome_linux_arm.tar.gz 100%[========================================================>] 5.04M 6.61MB/s in 0.8s

2019-10-09 13:52:35 (6.61 MB/s) - ‘AdGuardHome_linux_arm.tar.gz’ saved [5280981/5280981]

hoobs@hoobs:~ $ tar xvf AdGuardHome_linux_arm.tar.gz
AdGuardHome/
AdGuardHome/AdGuardHome
AdGuardHome/LICENSE.txt
AdGuardHome/README.md
hoobs@hoobs:~ $ cd AdGuardHome/
hoobs@hoobs:~/AdGuardHome $ sudo ./AdGuardHome -s install
2019/10/09 13:53:03 [info] Service control action: install
2019/10/09 13:53:05 [info] Action install has been done successfully on linux-systemd
2019/10/09 13:53:05 [info] Service has been started
2019/10/09 13:53:05 [info] Almost ready!
AdGuard Home is successfully installed and will automatically start on boot.
There are a few more things that must be configured before you can use it.
Click on the link below and follow the Installation Wizard steps to finish setup.
2019/10/09 13:53:05 [info] AdGuard Home is available on the following addresses:
2019/10/09 13:53:05 [info] Go to http://127.0.0.1:3000
2019/10/09 13:53:05 [info] Go to http://192.168.1.55:3000
hoobs@hoobs:~/AdGuardHome $

Thats’ it. AdGuard is now up and running at the IP address shown i the last output which is obviousy the same as your Hoobs IP. You then configure AdGuard via the web interface. The only setting to change is the interface port number as Hoobs is using 80 and 8080 so just pick something, I used 90. AdGuard will show in red if a conflict.

AdGuard is now running at http://192.168.1.55:90 or http://hoobs.local:90/

Hoobs AdGuard Install
Hoobs AdGuard Install

Echo Dot on the Ceiling

I’ve been using an Apple Airport Express for a number of years connected to a Marantz amplifier in the top of a cupboard which is then connected to some ceiling speakers for music via iTunes and more recently Spotify. Earlier this year I bought an Amazon Echo and found it much simpler to control Spotify, so I decided to ditch the Airport Express and replace with an Amazon Echo Dot and use it for voice control of music with the ceiling speakers. I also purchased another Belkin WeMo Switch Smart Plug to turn the amp on and off and a Dot flush ceiling mount kit.

Plan was, Dot to amp and power, amp to ceiling speakers (already in place), amp into Wemo socket. After about an hour or so of cutting and wiring I ended up with the flush ceiling mount in place, the Dot mounted and all wired back to the amp.

The ceiling was really easy to fit, just a case of finding a suitable spot and then cutting a hole. It fitted tightly into the ceiling and the kit comes with a 90degree 3.5mmm jack and also a very long USB power lead. All I had to add was a 3.5mm male jack to left/right phono to plug into the back of the Marantz amp. The Dot fits well into the mount and can’t fall as the wires keep it in place plus the kit comes with some stick pads for extra security, not that it really needs them.

Once all wired in and the Wemo plug setup the Marantz amp can be switched on and off with a simple “Alexa turn on Marantz” command and then Spotify played back with a simple “Alexa play“, so much easier than having to find my iPhone, launch Spotify, turn the amp on, play a track and then choose Airplay.

Recent Posts

Recent Comments

    Archives

    Categories

    Meta

    GiottoPress by Enrique Chavez