Create and install a (new) SD into the RPi and set it up with pibeacon:
you need plugin v >= 2022.174.89 for this to work
A) once for all SD
https://www.raspberrypi.com/software/operating-systems/
- download Raspberry Pi Imager App
- download "Raspberry Pi OS with desktop 32 bit image”, - currently bullseye or bookworm
but not "with recommended software..” that doubles the disk space and is not needed
and also not lite version, it is too lite, too many things missing
click "All download options" , pick from at All Rasperry Pi models”
on MAC:
- Install Raspberry Pi Imager
B) Start Raspberry Pi Imager
1. RPI device >> IT MATTERS WHICH RPI YOU SELECT<< not all OS run on all RPI, older RPi do not run on OS 12, bookworm does not run on rpi0w first version, RPI1, and RPI2
2.Operating System: select "use custom image" and select the OS image you just downloaded
3. Storage: slide the SD card into your mac; select your "sd media” ;
4. NEXT
5. Edit settings
in “General" set
user id = pi; password anything you like, but you must remember
set hostname eg rpi-kitchen, it is just a name
set locale (timezones etc) ;
if you want to use wifi set the proper parts (sid, uid, pwd)
in “Services" check >>>>> this is important, if not enabled, nothing will work <<<<<
-- Enable SSH, use password
— SAVE
YES
— answer Wifi question.
— All existing … erase: YES
— you will need to enter your mac password to execute
it will take some minutes to write and verify
6. Exit Raspberry Pi Imager when finished
C) Remove SD, slide SD into rpi, power up rpi, find its IP number
D) After rpi has started (first rpi start can take 5 minutes. It starts the graphical interface)
you can check if you can continue with (E): ping the RPI in a terminal , when it answers you can continue with (E)
E) In indigo :
1. if you create an SD for a new Pi: ( this is not needed if you replace an SD and the password is the same.)
menu / “Initial BASIC setup …":
— select rPi,
— CONFIRM
— On (don’t forget)
— set ip, userid, password
— CONFIRM
— CLOSE
2. menu / “Send/get Config…"
— select rpi,
— send "init + pgms + config + fonts etc (do only once after rpi install)"
it will set console auto login, setup all directories, copy files from the plugin directory to the rpi, download all libs for sensors and output devs and will reboot after < 320 secs.
It will reboot earlier if all is installed eg RPI-4 vs RPI-0
After the reboot the RPI should be up and running and finished
F) on RPI: if you want to check the progress of (E)
open terminal
ssh pi@ipnumber of rpi
enter password set in (B.5)
ps -ef | grep python | grep -v grep
if there are only programs like
master.py ... beaconloop.py …
no no adafruit or setStartupParams etc —> it is done
G) Finish setup of RPI, recommended
with "sudo raspi-config”
you can change things manually, like location, timezone etc.
!!!! To keep your rpi updated do this every 3 months and at new install !!!
sudo apt-get --yes -- assume-yes update
sudo apt-get —yes --assume-yes upgrade
sudo apt-get —yes --assume-yes auto remove
Or you can use indigo plugin menu / “Send/get Config…—> : “Upgrade opuses on rpi” that does the same
These steps might take 5 minutes … 1 hour
A reboot should be beneficial after everything is done
If the graphic interface is running (it should not) a simple "sudo reboot now" might not actually stop the rpi
you then need to do
sudo reboot -f
That is a HARD stop with restart, similar to a power cycle, just pending writes are finished before restart
That should be it.
The whole process takes < 15 minutes, mostly waiting for sd creation, initial boot of rpi, and wait at the end before final reboot