Updating the Building Automation Hat

From Open Source Controls Wiki
Revision as of 16:35, 21 June 2022 by Rhg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.


Error creating thumbnail: Unable to save thumbnail to destination

Run Putty


Error creating thumbnail: Unable to save thumbnail to destination

Enter username pi and password.

Error creating thumbnail: Unable to save thumbnail to destination

Run commands:

 cd megabas-rpi/update
 ./update 1
Error creating thumbnail: Unable to save thumbnail to destination

Types yes and press Enter when asked to confirm.

The board should update and confirm it is done.

Error creating thumbnail: Unable to save thumbnail to destination


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)
Error creating thumbnail: Unable to save thumbnail to destination