Difference between revisions of "Installation"

From bcmeter.org
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:


== Recommended: Use of preconfigured microSD Card image==
== Recommended: Use of preconfigured microSD Card image ==
1. Download the file image [https://bcmeter.org/wp-content/uploads/simple-file-list/bcMeter_latest_img.zip here], unzip it and use [https://www.balena.io/etcher/ Etcher] to copy it to your microSD card. <br>
=== Step 1: Download and Flash the Image ===
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.
# Download the bcMeter image file [https://bcmeter.org/wp-content/uploads/simple-file-list/bcMeter_latest_img.zip here]
Log into the Wifi with Password bcMeterbcMeter  
# Unzip the downloaded file to extract the image
Then you can setup the device by accessing it in a Browser by address http://bcmeter.local by default.
# Use [https://www.balena.io/etcher/ Etcher] to flash the image to your microSD card:
For security reasons, the hotspot is closed after 10 Minutes without being hooked into a wifi. You can override it in the interface and set the corresponding parameter if you want to run the bcMeter permanently in hotspot mode.
#* Insert your microSD card into your computer
#* Open Etcher and select the extracted image file
#* Select your microSD card as the target
#* Click "Flash!" and wait for the process to complete
 
=== Step 2: Boot and Connect ===
# Insert the flashed microSD card into your bcMeter device
# Power on the device
# Wait approximately 2 minutes for the device to boot completely
# On your computer or mobile device, connect to the WiFi network named "'''bcMeter'''"
#* Use password: '''bcMeterbcMeter'''
 
=== Step 3: Configure Your Device ===
# Open a web browser
# Navigate to [http://bcmeter.local bcmeter.local]
# The bcMeter configuration interface will appear
# Follow the on-screen instructions to complete your device setup
 
=== Troubleshooting ===
* If you cannot connect to the "bcMeter" WiFi network, try rebooting the device
* If the web interface doesn't load, ensure you're connected to the correct WiFi network
* For additional help, consult the [https://bcmeter.org/documentation bcMeter documentation]


== Advanced: Manual headless Set Up the microSD Card ==
== Advanced: Manual headless Set Up the microSD Card ==
Line 38: Line 59:
Then just download the bcMeter install script by entering
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
This will take you through a mainly unattended install procedure which will take a few minutes

Latest revision as of 11:38, 11 March 2025

Recommended: Use of preconfigured microSD Card image

Step 1: Download and Flash the Image

  1. Download the bcMeter image file here
  2. Unzip the downloaded file to extract the image
  3. Use Etcher to flash the image to your microSD card:
    • Insert your microSD card into your computer
    • Open Etcher and select the extracted image file
    • Select your microSD card as the target
    • Click "Flash!" and wait for the process to complete

Step 2: Boot and Connect

  1. Insert the flashed microSD card into your bcMeter device
  2. Power on the device
  3. Wait approximately 2 minutes for the device to boot completely
  4. On your computer or mobile device, connect to the WiFi network named "bcMeter"
    • Use password: bcMeterbcMeter

Step 3: Configure Your Device

  1. Open a web browser
  2. Navigate to bcmeter.local
  3. The bcMeter configuration interface will appear
  4. Follow the on-screen instructions to complete your device setup

Troubleshooting

  • If you cannot connect to the "bcMeter" WiFi network, try rebooting the device
  • If the web interface doesn't load, ensure you're connected to the correct WiFi network
  • For additional help, consult the bcMeter documentation

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 bcMeter@bcMeter 

or alternatively if connection is refused

     ssh bcMeter@bcMeter.local

Or to use with dedicated ssh client, like putty:

address: bcMeter

login name: bcMeter

login passwort: bcmeter.org (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

This will take you through a mainly unattended install procedure which will take a few minutes