From 20e9982836a9392688e0f32c2c7fe782239b5b3b Mon Sep 17 00:00:00 2001 From: David Montero Crespo Date: Tue, 25 Aug 2026 01:44:51 +0200 Subject: [PATCH] feat(picker): ONLINE cards for the four Pimoroni/Bosch/Sensirion parts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The overlay's parts are free — they just live in the hosted build. OSS showed nothing at all for the SCD41, the BME688, the BME280 and the RGB Encoder Wheel, so a self-hoster could not tell they exist. They get the same ad card the M5Stack matrices and the Seeed boards already have: real thumbnail, ONLINE pill, link to the editor. Each one vanishes on its own in the hosted build, where the registry has the real component. --- frontend/src/lib/onlineOnlyBoards.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/frontend/src/lib/onlineOnlyBoards.ts b/frontend/src/lib/onlineOnlyBoards.ts index 5d9e6b4c..2c40669b 100644 --- a/frontend/src/lib/onlineOnlyBoards.ts +++ b/frontend/src/lib/onlineOnlyBoards.ts @@ -290,6 +290,34 @@ export interface OnlineOnlyComponentAd { } export const ONLINE_ONLY_COMPONENT_ADS: OnlineOnlyComponentAd[] = [ + { + id: 'pro-scd41', + label: 'SCD41 CO2 Sensor', + description: 'Sensirion photoacoustic CO2 (400-5000 ppm) with temperature and humidity over I2C, live sliders while it runs - available in the online editor', + category: 'sensors', + thumbnailSvg: "SCD41", + }, + { + id: 'pro-bme688', + label: 'BME688 Gas Sensor', + description: 'Bosch temperature, humidity, pressure and a heated gas plate, driven the way the Bosch API drives it - available in the online editor', + category: 'sensors', + thumbnailSvg: "BME688", + }, + { + id: 'pro-bme280', + label: 'BME280 Sensor', + description: 'Bosch temperature, humidity and pressure over I2C, with live sliders for all three readings - available in the online editor', + category: 'sensors', + thumbnailSvg: "BME280", + }, + { + id: 'pro-encoder-wheel', + label: 'RGB Encoder Wheel', + description: 'Pimoroni\'s rotary wheel: 24 RGB LEDs, five switches, an IO expander and an IS31FL3731 modelled at register level - available in the online editor', + category: 'input', + thumbnailSvg: "", + }, { id: 'm5stack-chain-8x8', label: 'M5Stack Chain RGB Matrix (8\u00d78)',