pihome-shc / pihome

PiHome - Smart Heating, Ventilation and Air Conditioning (HVAC)
http://www.pihome.eu
Other
52 stars 25 forks source link

Additional Board Support #424

Open twa127 opened 3 years ago

twa127 commented 3 years ago

Hi,

Support has been added to Adafruit-Blinka for the Banana Pi M2 Zero and Orange Pi Zero Plus2-H5, now added to gpio3_relay.py so that the system can be ported to these boards if desired. The Banana Pi M2 Zero is a quad-core 1.2GHz pin compatible alternative to the RPI Zero W, which appears to perform better.

Installation of the LAMP stack is straight forward running the Armbian OS which is based on Debian

board1 board2

Comparison between BPi M2 Zero and RPi Zero board4

twa127 commented 3 years ago

At the moment the supported SBCs are -

Raspberry Pi family BeagleBone Black/Green Orange Pi One Orange Pi Zero Plus2 H5 Banana Pi M2 Zero

pihome-shc commented 3 years ago

@twa127 thank you for working on this. can you commit database updates so user can build system without going through upgrade process.

twa127 commented 3 years ago

Hi,

pihome_mysql_database.sql and MySQL_View.sq are up to date at version 1.77 and support the current code base. The system can be built using these database files.

The subsequent updates 1.78, 1.79 and 1.80 are to bring the database to Version 2 and support the HVAC version of the code base.

pihome-shc commented 3 years ago

if i run update_db.php will it break my 1.77 system and same if i setup new db from setup_db.php it would be fully working db without running any addition upgrade/update scripts?