Difference between revisions of "Updating the Building Automation Hat"

From Open Source Controls Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
Disable any software using I2C ports.
Disable any software using I2C ports.
== Existing Systems ==
'''Disable any software using I2C ports before updating. This will typically be a Node-RED Flow.'''
[[File:Putty1.png]]    Run Putty
[[File:Putty2.png]]  Enter username '''''pi''''' and password.
[[File:Putty3.png]]
Run commands:
  cd megabas-rpi/update
  ./update 1
[[File:Putty4.png]]
Types '''''yes''''' and press Enter when asked to confirm.
The board should update and confirm it is done.
[[File:Putty5.png]]
Further boards can be updated by running
  ./update 1
== New Systems ==


  ~$ cd megabas-rpi/   
  ~$ cd megabas-rpi/   

Latest revision as of 16:35, 21 June 2022

Disable any software using I2C ports.

Existing Systems

Disable any software using I2C ports before updating. This will typically be a Node-RED Flow.


Putty1.png Run Putty


Putty2.png Enter username pi and password.

Putty3.png

Run commands:

 cd megabas-rpi/update
 ./update 1

Putty4.png

Types yes and press Enter when asked to confirm.

The board should update and confirm it is done.

Putty5.png


Further boards can be updated by running

 ./update 1

New Systems

~$ cd megabas-rpi/  
~/megabas-rpi$ git pull
~/megabas-rpi$ sudo make install
~/megabas-rpi$ cd update/
~/megabas-rpi/update$ ./update 0   (or 1)

Update1.png