Insect Monitoring — Device Deployment
The insect-monitoring flashing procedure is identical to Plant Growth (same scripts, same 8 steps); the only difference is which image gets flashed.
What you need
| Item | Notes |
|---|---|
| A computer | macOS / Linux / Windows |
| An SD card | 32 GB recommended ★ (all data on the card will be erased) ★ |
| A card reader | Plugged in, recognised as a removable drive |
Step 1 — Dry run first (★ writes nothing ★)
bash
curl -fsSL https://cnb.cool/iamfuture_x/pi-flash/-/git/raw/main/burn_pi_image_macos.en.sh -o pi-flash.sh && sudo bash pi-flash.sh --install --oneclick --app insect --dry-run1
powershell
# ★ Paste this into a NORMAL PowerShell ★ — it will raise the UAC prompt itself
$d="$env:USERPROFILE\pi-flash"; ni -ItemType Directory -Force $d|Out-Null;
iwr -useb https://cnb.cool/iamfuture_x/pi-flash/-/git/raw/main/pi-flash.en.ps1 -OutFile "$d\pi-flash.en.ps1";
Start-Process powershell -Verb RunAs -ArgumentList "-NoProfile","-ExecutionPolicy","Bypass","-NoExit","-File","$d\pi-flash.en.ps1","-App","insect","-DryRun","-CacheDir","$d"1
2
3
4
2
3
4
Step 2 — Flash for real
bash
curl -fsSL https://cnb.cool/iamfuture_x/pi-flash/-/git/raw/main/burn_pi_image_macos.en.sh -o pi-flash.sh && sudo bash pi-flash.sh --install --oneclick --app insect1
powershell
# ★ Paste this into a NORMAL PowerShell ★ — it will raise the UAC prompt itself
$d="$env:USERPROFILE\pi-flash"; ni -ItemType Directory -Force $d|Out-Null;
iwr -useb https://cnb.cool/iamfuture_x/pi-flash/-/git/raw/main/pi-flash.en.ps1 -OutFile "$d\pi-flash.en.ps1";
Start-Process powershell -Verb RunAs -ArgumentList "-NoProfile","-ExecutionPolicy","Bypass","-NoExit","-File","$d\pi-flash.en.ps1","-App","insect","-CacheDir","$d"1
2
3
4
2
3
4
★ The only difference from Plant Growth is ★ the --app insect flag (Windows: -App insect) ★.
★★ You will be asked twice ★★: ① your computer password (macOS) ② ★ type YES in uppercase ★.
What you will see
Identical to Plant Growth (same script):
Step 1 Detect removable drives ★ system / virtual / optical drives are excluded ★
Step 2 Choose the target drive
Step 3 ★ Second confirmation (type YES) ★
Step 4 Obtain the image (★ the slim insect image is used ★)
Step 5 Write (progress bar)
Step 6 Read-back verification
Step 7 Safe eject and record version
Step 8 ★ MUST DO after installing ★1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
★ After flashing: the one thing you MUST do ★
bash
df -h /1
★ The root partition should be ≈ the card size ★ (32 GB ⇒ about 29 GB). Only ~3.4 GB ⇒ the resize did not run ⇒ report it, do not keep using the card.
FAQ
Insect monitoring shares the same scripts as Plant Growth — ★ see the "FAQ (common)" section of the deployment overview ★: no drive / picking the wrong drive / cache reuse / read-back mismatch / unattended mode / Chinese UI.