Updating the Building Automation Hat

From Open Source Controls Wiki
Jump to navigation Jump to search

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