-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install/Setup process for Pi Zero W with latest 32bit lite Pi OS #425
Comments
Did you not use a 64 bit because of MQTT compatibility? I have to run 64 for another service on the Pi (open wake word). |
I am using Pi Zero W's for this project which is only 32bit. |
At this step the #download appropriate lists file So i look online and found this discussing the issue eclipse-mosquitto/mosquitto#2453 and message by KoenWindey for the solution. Basically since we cannot get the mosquitto-buster.list file from the broken link we create it in /etc/apt/sources.list.d/ folder and put the correct info in that specific format that it expects After that fix it works |
I just built a number of these monitoring devices and ran into some trouble with setting up mosquitto. Thanks to another user that posted a fix here in Issues, I was able to get my install process down without any errors. Below is my step by step instructions. Hope this helps someone!
#newest version of pi os lite 32 bit from pi imager
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo reboot
sudo apt-get install pi-bluetooth
sudo reboot
#get repo key
wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
#add repo
sudo apt-key add mosquitto-repo.gpg.key
#download appropriate lists file
cd /etc/apt/sources.list.d/
sudo wget http://repo.mosquitto.org/debian/mosquitto-buster.list
#update caches and install
sudo apt-cache search mosquitto
sudo apt-get update
sudo apt install mosquitto libwebsockets18=4.2.1-0mosquitto1~buster1
sudo apt-get install -f libmosquitto-dev mosquitto mosquitto-clients libmosquitto1
#install git
cd ~
sudo apt-get install git
#clone this repo
git clone https://github.com/andrewjfreyer/monitor.git
#enter
monitor
directorycd monitor/
#(optional) switch to beta branch for latest updates and features (may be unstable)
git checkout beta
sudo apt-get install bluez-hcidump
sudo apt-get install bc
sudo bash monitor.sh
sudo nano mqtt_preferences
sudo nano known_static_addresses
sudo bash monitor.sh
sudo nano behavior_preferences
The text was updated successfully, but these errors were encountered: