Difference between revisions of "Setup"
(Sync with updated manual: 2-step welcome wizard, updated power requirements, hotspot password note for recent hardware, updated browser security note, added 4G skip option, updated tips) |
(Polish English manual/wiki wording) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Setup & Initialization == | == Setup & Initialization == | ||
=== | === Hardware Requirements === | ||
'''Use a stable power supply:''' Weak adapters and voltage drops are the most common causes of WiFi dropouts and random reboots. | |||
* | * ESP32 bcMeter V2: use a suitable '''12V / 2A''' power adapter. | ||
* Use a '''short, | * Raspberry Pi based development devices: use a suitable '''5V / 2.5A''' power adapter. | ||
* Use a '''short, low-resistance cable''' (ideally under 40 cm). Long or thin cables can drop enough voltage to reboot the device when the pump starts. | |||
=== Initial Device Setup === | === Initial Device Setup === | ||
| Line 14: | Line 15: | ||
# Place the device '''away from direct heat sources and sunlight''' (thermal drift affects optical measurements). | # Place the device '''away from direct heat sources and sunlight''' (thermal drift affects optical measurements). | ||
# Insert a fresh filter paper ('''marked side facing up''' — see [[Maintenance#Filter Change Procedure|Filter Change Procedure]]). | # Insert a fresh filter paper ('''marked side facing up''' — see [[Maintenance#Filter Change Procedure|Filter Change Procedure]]). | ||
# If using a rugged case: | # If using a rugged case: check that the hose from bcMeter to the outside air is firmly inserted and not blocked. | ||
=== Connecting via Hotspot === | === Connecting via Hotspot === | ||
| Line 21: | Line 22: | ||
# Plug in the device. | # Plug in the device. | ||
# Wait | # Wait '''1-2 minutes''' for the system to boot. | ||
# On your phone or computer, search for a WiFi network | # On your phone or computer, search for a WiFi network whose name starts with '''bcMeter''' or '''eBcMeter'''. | ||
# If asked, connect using the password <code>bcMeterbcMeter</code> (case sensitive). Recent ESP32 devices may create an open setup hotspot and will not ask for a password. | |||
# If asked, connect using the password | |||
# Your phone may warn "No Internet Connection." '''This is normal.''' Select "Keep Connected" if prompted. Do not choose "use mobile data." | # Your phone may warn "No Internet Connection." '''This is normal.''' Select "Keep Connected" if prompted. Do not choose "use mobile data." | ||
# | # Open a browser and type <code><nowiki>http://bcmeter-XXXX.local</nowiki></code> (where XXXX are the last 4 hex characters of the MAC address, e.g. <code>bcmeter-A3AB</code>) or <code><nowiki>http://192.168.18.8</nowiki></code>. | ||
The '''[[Setup#Welcome Screen|Welcome Screen]]''' will appear on first use. | The '''[[Setup#Welcome Screen|Welcome Screen]]''' will appear on first use. | ||
'''Apple users:''' If already connected to another WiFi, the bcMeter hotspot will appear under "Other Networks" submenu. macOS may take up to a minute to scan for new networks. | |||
=== Welcome Screen === | === Welcome Screen === | ||
On first use, bcMeter shows a two- | On first use, bcMeter shows a two-phase welcome screen for network setup, calibration, and data sharing. | ||
==== Phase 1: Connect ==== | |||
The first screen ("Connect this bcMeter") covers connectivity: | |||
''' | * '''Notification email''' — Enter the address where bcMeter should send status messages and alerts. After WiFi setup, the device can send its URL and connection details to this address. | ||
* '''Enable email notifications''' — Toggle to receive status updates and measurement reports. | |||
* '''Connect to network''' — Select your network from the dropdown, click '''Scan''' to refresh, or choose '''Enter manually''' for hidden networks. Enter the WiFi password and click '''Connect'''. | |||
The email step offers "Skip for now" and "Don't show again". The WiFi step offers "Back" and "Skip". | |||
==== Phase 2: Calibrate & Share ==== | |||
After connecting to WiFi (or if WiFi was already configured), the second screen ("Almost there") appears: | |||
* '''Install a clean filter''' — Place a fresh quartz filter in the holder. | |||
* '''Calibrate''' — Perform a baseline reading. Click "Start calibration →" to open the calibration dialog directly. | |||
* '''Data sharing''' — Shared measurements help build the bcMeter black carbon map. You can choose: | |||
** '''Get Started & Share Data''' — Enables anonymous data sharing for the project. | |||
** '''Get Started without Sharing''' — Proceeds without sharing. You can change this later in Settings. | |||
The calibration/sharing phase has "Skip for now" and "Don't show again" options at the bottom. | |||
'''Important:''' Run [[Maintenance#Calibration|calibration]] after | '''Tip:''' The welcome screen will reappear on each visit until setup is complete or you choose "Don't show again." | ||
'''Important:''' Run [[Maintenance#Calibration|calibration]] after setup. | |||
=== Connecting to Wireless Network === | === Connecting to Wireless Network === | ||
| Line 53: | Line 67: | ||
# Navigate to '''Settings''' > '''Network''' tab. | # Navigate to '''Settings''' > '''Network''' tab. | ||
# Select your network from the list. For hidden networks, | # Select your network from the list. For hidden networks, choose "Enter manually" and type the SSID yourself. | ||
# Enter your WiFi key and click '''Connect'''. | # Enter your WiFi key and click '''Connect'''. | ||
# The device | # The setup hotspot disconnects while the device joins the selected network. Reconnect your computer to your normal WiFi. | ||
# Wait 1–2 minutes for the device to join your network. | # Wait 1–2 minutes for the device to join your network. | ||
Click "Forget Network" in the Network tab to disconnect from the stored network and force the device to create its hotspot again. | |||
=== Accessing the Interface === | === Accessing the Interface === | ||
When the device is on your network, open it by hostname. The default hostname follows the pattern <code>bcmeter-XXXX</code> (or <code>ebcmeter-XXXX</code> for emission devices), where XXXX are the last 4 hex characters of the device's MAC address. For example: | |||
* Standard device: <code><nowiki>http://bcmeter-A3AB.local</nowiki></code> | * Standard device: <code><nowiki>http://bcmeter-A3AB.local</nowiki></code> | ||
* Emission control version: <code><nowiki>http://ebcmeter-A3AB.local</nowiki></code> | * Emission control version: <code><nowiki>http://ebcmeter-A3AB.local</nowiki></code> | ||
The exact hostname is shown on the device label and in the Welcome email. You can rename the device in Settings > Device > Device Name. | The exact hostname is shown on the device label and in the Welcome screen email. You can rename the device in Settings > Device > Device Name. | ||
'''Tip:''' If <code>.local</code> addresses do not work (common on some Windows networks or older routers), find the device's IP address in your router's administration interface. | |||
'''Browser Security Warnings:''' The bcMeter web server uses HTTP (not HTTPS), which triggers browser warnings. This is expected — the device runs locally on your network with no public internet connection. You must explicitly allow access to the device's <code>.local</code> address. On macOS, you may also need to grant permission for your browser to access LAN devices. | |||
=== Connection Lost === | |||
If the browser loses contact with the device (for example during a reboot or network drop), a "Connection Lost" overlay appears. The interface keeps trying to reconnect until the device is reachable again. | |||
Latest revision as of 22:15, 2 May 2026
Setup & Initialization
Hardware Requirements
Use a stable power supply: Weak adapters and voltage drops are the most common causes of WiFi dropouts and random reboots.
- ESP32 bcMeter V2: use a suitable 12V / 2A power adapter.
- Raspberry Pi based development devices: use a suitable 5V / 2.5A power adapter.
- Use a short, low-resistance cable (ideally under 40 cm). Long or thin cables can drop enough voltage to reboot the device when the pump starts.
Initial Device Setup
Before starting measurements:
- Place the device away from direct heat sources and sunlight (thermal drift affects optical measurements).
- Insert a fresh filter paper (marked side facing up — see Filter Change Procedure).
- If using a rugged case: check that the hose from bcMeter to the outside air is firmly inserted and not blocked.
Connecting via Hotspot
The device creates its own WiFi network automatically on first boot, or when no known network is available. It can also be forced via Settings (Hotspot Mode).
- Plug in the device.
- Wait 1-2 minutes for the system to boot.
- On your phone or computer, search for a WiFi network whose name starts with bcMeter or eBcMeter.
- If asked, connect using the password
bcMeterbcMeter(case sensitive). Recent ESP32 devices may create an open setup hotspot and will not ask for a password. - Your phone may warn "No Internet Connection." This is normal. Select "Keep Connected" if prompted. Do not choose "use mobile data."
- Open a browser and type
http://bcmeter-XXXX.local(where XXXX are the last 4 hex characters of the MAC address, e.g.bcmeter-A3AB) orhttp://192.168.18.8.
The Welcome Screen will appear on first use.
Apple users: If already connected to another WiFi, the bcMeter hotspot will appear under "Other Networks" submenu. macOS may take up to a minute to scan for new networks.
Welcome Screen
On first use, bcMeter shows a two-phase welcome screen for network setup, calibration, and data sharing.
Phase 1: Connect
The first screen ("Connect this bcMeter") covers connectivity:
- Notification email — Enter the address where bcMeter should send status messages and alerts. After WiFi setup, the device can send its URL and connection details to this address.
- Enable email notifications — Toggle to receive status updates and measurement reports.
- Connect to network — Select your network from the dropdown, click Scan to refresh, or choose Enter manually for hidden networks. Enter the WiFi password and click Connect.
The email step offers "Skip for now" and "Don't show again". The WiFi step offers "Back" and "Skip".
After connecting to WiFi (or if WiFi was already configured), the second screen ("Almost there") appears:
- Install a clean filter — Place a fresh quartz filter in the holder.
- Calibrate — Perform a baseline reading. Click "Start calibration →" to open the calibration dialog directly.
- Data sharing — Shared measurements help build the bcMeter black carbon map. You can choose:
- Get Started & Share Data — Enables anonymous data sharing for the project.
- Get Started without Sharing — Proceeds without sharing. You can change this later in Settings.
The calibration/sharing phase has "Skip for now" and "Don't show again" options at the bottom.
Tip: The welcome screen will reappear on each visit until setup is complete or you choose "Don't show again."
Important: Run calibration after setup.
Connecting to Wireless Network
If you skipped WiFi setup on the welcome screen, or need to change your network later:
- Navigate to Settings > Network tab.
- Select your network from the list. For hidden networks, choose "Enter manually" and type the SSID yourself.
- Enter your WiFi key and click Connect.
- The setup hotspot disconnects while the device joins the selected network. Reconnect your computer to your normal WiFi.
- Wait 1–2 minutes for the device to join your network.
Click "Forget Network" in the Network tab to disconnect from the stored network and force the device to create its hotspot again.
Accessing the Interface
When the device is on your network, open it by hostname. The default hostname follows the pattern bcmeter-XXXX (or ebcmeter-XXXX for emission devices), where XXXX are the last 4 hex characters of the device's MAC address. For example:
- Standard device:
http://bcmeter-A3AB.local - Emission control version:
http://ebcmeter-A3AB.local
The exact hostname is shown on the device label and in the Welcome screen email. You can rename the device in Settings > Device > Device Name.
Tip: If .local addresses do not work (common on some Windows networks or older routers), find the device's IP address in your router's administration interface.
Browser Security Warnings: The bcMeter web server uses HTTP (not HTTPS), which triggers browser warnings. This is expected — the device runs locally on your network with no public internet connection. You must explicitly allow access to the device's .local address. On macOS, you may also need to grant permission for your browser to access LAN devices.
Connection Lost
If the browser loses contact with the device (for example during a reboot or network drop), a "Connection Lost" overlay appears. The interface keeps trying to reconnect until the device is reachable again.