Difference between revisions of "Installation"

From bcmeter.org
Jump to navigation Jump to search
Line 7: Line 7:


== Advanced: Manual headless Set Up the microSD Card ==
== Advanced: Manual headless Set Up the microSD Card ==
'''Only continue if you really need and want to setup the system manually!
'''=== Download Image ===


Use the [https://www.raspberrypi.com/software/ Raspberry Imager] tool to write Raspberry OS LITE (very important - not Desktop!) to your card. Configure the tool to work with username pi and choose any password.<br><br>
 
Enable SSH and WiFi in the tool.
Use the [https://www.raspberrypi.com/software/ Raspberry Imager] tool to write Raspberry OS 32bit LITE (very important - '''not''' Desktop!) to your microSD card.  
Configure the Raspberry Pi Imager tool to configure the image with username and password, for simplicity we use "pi" and "raspberry".<br><br>
Also enable SSH and WiFi in the tool.


After finishing, eject the microSD Card from the PC and put it into the Raspberry Pi.
After finishing, eject the microSD Card from the PC and put it into the Raspberry Pi.
Line 20: Line 20:
Put microSD-Card in Raspberry and boot it up (takes up to a minute)
Put microSD-Card in Raspberry and boot it up (takes up to a minute)


Log into the raspberry via terminal on Linux/OSX
Log into the raspberry via terminal on Linux/OSX or cmd.exe on Windows
       ssh pi@raspberrypi  
       ssh pi@raspberrypi  
or alternatively if connection is refused
or alternatively if connection is refused
       ssh pi@raspberrypi.local
       ssh pi@raspberrypi.local


 
Or to use with dedicated ssh client, like putty:
Or any terminal client on Windows (for example Putty) with the following default credentials


address: raspberrypi
address: raspberrypi
Line 34: Line 33:
login passwort: raspberry (or whatever you chose)
login passwort: raspberry (or whatever you chose)


'''(For some mobile hotspots it is required to add .local to the hostname (e.g. raspberryp.local). Try this first if no connection is possible.)'''
'''If connections is refused, check connection first and then try to add .local to hostname (raspberry.local)'''


5. Being logged in, enter
Then just download the bcMeter install script by entering
       wget -N https://raw.githubusercontent.com/bcmeter/bcmeter/main/install.sh && sudo bash install.sh
       wget -N https://raw.githubusercontent.com/bcmeter/bcmeter/main/install.sh && sudo bash install.sh

Revision as of 12:17, 8 March 2023

Recommended: Use of preconfigured microSD Card image

1. Download the file image here, unzip it and use Etcher to copy it to your microSD card.
2. After the process is complete, the bcMeter booted with the newly written microSD-Card is creating a WiFi named "bcMeter" after approx. 2 Minutes. Log into the Wifi with Password bcMeterbcMeter Then you can setup the device by accessing it in a Browser by address http://bcmeter.local by default.

Advanced: Manual headless Set Up the microSD Card

Use the Raspberry Imager tool to write Raspberry OS 32bit LITE (very important - not Desktop!) to your microSD card. Configure the Raspberry Pi Imager tool to configure the image with username and password, for simplicity we use "pi" and "raspberry".

Also enable SSH and WiFi in the tool.

After finishing, eject the microSD Card from the PC and put it into the Raspberry Pi.


Configuring the Raspberry Pi to be a bcMeter via SSH remote access and WiFi

Put microSD-Card in Raspberry and boot it up (takes up to a minute)

Log into the raspberry via terminal on Linux/OSX or cmd.exe on Windows

     ssh pi@raspberrypi 

or alternatively if connection is refused

     ssh pi@raspberrypi.local

Or to use with dedicated ssh client, like putty:

address: raspberrypi

login name: pi

login passwort: raspberry (or whatever you chose)

If connections is refused, check connection first and then try to add .local to hostname (raspberry.local)

Then just download the bcMeter install script by entering

      wget -N https://raw.githubusercontent.com/bcmeter/bcmeter/main/install.sh && sudo bash install.sh