sudo apt install snapd
sudo reboot
sudo snap install core
sudo snap install nextcloud
- flask
- wifi
- sounddevice
- soundfile
- pydub
- selenium
- msgraph_core
- python-msgraph
- msal
sudo pip3 install -r ~/Wedding-Audio-Book/requirments.txt
sudo apt-get install libportaudio2
sudo apt-get install chromium-chromedriver
-
This software will occupy i2c addresses 0x32(RTC) and 0x75(PowerIC). Please avoid other phats using these addresses.
-
We had upgradged PiSugar2 to new model. To identify it, please check the charging indicate led count, 4-leds is for old model, 2-leds is for new model. The new model is able to accurately detected the charging status and control the charging recycle.
After attaching PiSugar2 to you pi, you can use the following commands to see whether it works properly:
# turn on i2c interface
sudo raspi-config
i2cdetect -y 1
i2cdump -y 1 0x32
i2cdump -y 1 0x75
If you cannot find any devices, or see lots of 'X.XX.X.X...' things, please try turning off PiSugar 2 and restart one minutes later.
Run the following script on your pi:
curl http://cdn.pisugar.com/release/pisugar-power-manager.sh | sudo bash
After finished, you can manage the battery by visiting http://<your raspberry ip>:8421 in your browser.