Control your Dyson fan with Siri with these two small programmable devices from Amazon. This walkthrough shows you how to set everything up and includes all set up code and a downloadable config file below.
This walkthrough is for Dyson fans that don't have Dyson Link - just the normal ones with the small remote controls.
Download Pi Lite software from https://www.raspberrypi.org/downloads/raspbian/
Download Etcher from https://www.balena.io/etcher/
Raspberry Pi Zero W https://amzn.to/2RB3KJc
Broadlink RM Mini 3 https://amzn.to/2RDs4Kw
Config file (Dyson Pure Cool Me): http://benvallack.com/downloads/config.json
Config file (Dyson AM06): http://benvallack.com/downloads/config.json-am06 (Rename to config.json after downloading)
Here is the cheatsheet used in the video. Unless the line is in brackets it is to be entered into Terminal on your Mac as a complete command. Lines starting with # are just headings.
# Setup Raspberry Pi Zero
(Paste in the following, see video for process: )
(Connect over SSH:)
(type yes to verify)
(type passwd as prompted to choose a new password)
# Install and setup Homebridge and homebridge-broadlink-rm plugin
sudo apt-get update
sudo apt-get install vim
sudo apt-get install git make
(type Y and enter)
sudo mkdir -p /opt/node
tar xJvf node-v10.15.3-linux-armv6l.tar.xz
sudo mv node-v10.15.3-linux-armv6l/* /opt/node/
sudo update-alternatives --install "/usr/bin/node" "node" "/opt/node/bin/node" 1
sudo update-alternatives --install "/usr/bin/npm" "npm" "/opt/node/bin/npm" 1
sudo apt-get install libavahi-compat-libdnssd-dev
(type Y and enter)
npm config set prefix '~/.npm-global'
(enter the following at the end of the file:
npm install -g homebridge
npm install -g [email protected]
sudo vim /etc/default/homebridge
(paste in from https://gist.github.com/johannrichard/0ad0de1feb6adb9eb61a/ )
sudo vim /etc/systemd/system/homebridge.service
(paste in from: https://gist.github.com/johannrichard/0ad0de1feb6adb9eb61a/ )
(replace url with: /home/pi/.npm-global/bin/homebridge )
sudo useradd -M --system homebridge
sudo mkdir /home/homebridge
sudo chown homebridge /home/homebridge
sudo mkdir /var/lib/homebridge
sudo chown homebridge /var/lib/homebridge
# Editing the config
(Download the config.json file linked at the top of the description and save to your Mac's desktop)
(On mac, in Terminal)
scp config.json [email protected]:
(Connect to pi if you don't already still have that tab open:)
sudo mv config.json /var/lib/homebridge/.
(moves the file into place)
sudo systemctl daemon-reload
sudo systemctl enable homebridge
sudo systemctl start homebridge
# checking the status at any time
journalctl -u homebridge -f
Great video! I have a Dyson Hot+Cool and this will help me get it working with Homekit “easily”!
Could you do this for Alexa?
Great video but I don’t seem to be getting the same feedback messages from the terminal.
From the first step, it says boot “myname”$
When i indent and enter the wifi password it also looks different.
Result is, when i plug the pi into power, i cant access it with the terminal.
Very interesting and qualitative !
you should definitively have plenty of subscribers
Haha, found it! That Sounds actually really fun to play around with! Thanks Mate!
I’m really shocked this has so few views, fun project