BeamCtrl / Airiana

SystemAir Modbus Ventilaton Controller VR400/VR700/VTR300/VSR300/SaveCair
Other
26 stars 7 forks source link

installation fails in latest bookworm raspbian #37

Open dcolens opened 6 months ago

dcolens commented 6 months ago

this is FYI, I tried installing on the latest Rapbian OS (bookworm), the installation fails for a couple of reasons:

  1. /boot/config.txt and cmdline moved under /boot/firmware/ in bookworm this breaks the install script that
  2. it is no longer possible to run pip install outside a venv (see https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi)

To Reproduce Steps to reproduce the behavior:

  1. install bookworm on RPI
  2. clone airiana repo
  3. run python3 install.py

tested on

dcolens commented 6 months ago

I managed to install, I made the following changes:

  1. updated path for config.txt and cmdline.txt (/boot/firmware)
  2. create venv in airiana's folder
  3. sourced venv and ran installer (while it said install completed, many steps failed)
  4. pip install minimalmodbus progressbar requests pyModbusTCP setuptools pytest pyephem numpy because pip install --user fails
  5. sudo apt-get install libopenblas-dev (required for numpy to load properly)
  6. udpate the systemfiles python path to use the one from venv
  7. create latlong.json file in airiana folder (without it, it would not start)

I think that's about it, hope this is useful and thanks a lot for the project!

BeamCtrl commented 6 months ago

Thank you for a detailed bug report. =). and solutions. WIll take a look on doing an update, maybe even a rework of the install scripts. Its been growing into some different kind of beast for a long time.

BeamCtrl commented 6 months ago

Hope you got you installation working and that it works well, always fun to see that ppl are using it =)

dcolens commented 5 months ago

yes, my installation is operational thanks for the great work :-)

BeamCtrl commented 2 weeks ago

brief update, now the there is a branch called merge/auto-hotspot, it includes bookworm compat, and rework of the installation script.