Home Assistant custom integration for The Lampster RGB Bluetooth lamp (Model: LA-2017B).
- ✅ Automatic Bluetooth Discovery - Device appears automatically in HA
- ✅ RGB Color Control - Full RGB color picker support
- ✅ Color Temperature - Warm to cool white (2700K - 6500K)
- ✅ Brightness Control - Adjust light intensity
- ✅ Power Control - Turn on/off
- ✅ State Tracking - Reads actual device state
- ✅ Local Control - No cloud required
- Home Assistant 2023.1 or newer
- Bluetooth adapter with BLE support
- Python 3.11 or newer
- The Lampster device (Model: LA-2017B)
- Ensure HACS is installed
- In Home Assistant, go to HACS → Integrations
- Click the ⋮ menu (top right) → Custom repositories
- Add repository URL:
https://github.com/yamanote1138/lampster-ha-integration - Category: Integration
- Click Explore & Download Repositories
- Search for "Lampster" and click Download
- Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "Lampster" and follow the setup flow
-
Copy the
custom_components/lampsterdirectory to your Home Assistantconfig/custom_components/directory:# On your HA machine cd /config mkdir -p custom_components cp -r /path/to/lampster-ha-integration/custom_components/lampster custom_components/
-
Restart Home Assistant
-
Go to Settings → Devices & Services → Add Integration
-
Search for "Lampster" and follow the setup flow
The integration will automatically discover Lampster devices via Bluetooth. When a device is found, you'll see a notification in Home Assistant to set it up.
- Navigate to Settings → Devices & Services
- Click Add Integration
- Search for "Lampster"
- Select your device from the list
- Click Submit
The integration will create a light entity named light.lampster.
Use the standard Home Assistant light controls:
- Power: Toggle on/off
- Brightness: Slide to adjust (0-100%)
- Color: RGB color picker
- Temperature: Warm to cool white slider
# Turn on with specific RGB color
service: light.turn_on
target:
entity_id: light.lampster
data:
rgb_color: [255, 0, 0] # Red
brightness: 200
# Set color temperature (warm white)
service: light.turn_on
target:
entity_id: light.lampster
data:
color_temp_kelvin: 2700
brightness: 150
# Turn off
service: light.turn_off
target:
entity_id: light.lampster# script.yaml
lampster_red:
alias: "Lampster: Red"
sequence:
- service: light.turn_on
target:
entity_id: light.lampster
data:
rgb_color: [255, 0, 0]
brightness: 255
lampster_warm_white:
alias: "Lampster: Warm White"
sequence:
- service: light.turn_on
target:
entity_id: light.lampster
data:
color_temp_kelvin: 2700
brightness: 200Protocol based on reverse engineering by Noki.
Device Information:
- Model: LA-2017B
- Manufacturer: "The Lampster, the licitatie"
- Hardware: 100B
- Firmware: 10
BLE Characteristics:
- Mode:
01ff5554-ba5e-f4ee-5ca1-eb1e5e4b1ce0(Handle 0x0020) - RGB:
01ff5559-ba5e-f4ee-5ca1-eb1e5e4b1ce0(Handle 0x0029) - White:
01ff5556-ba5e-f4ee-5ca1-eb1e5e4b1ce0(Handle 0x0024)
RGB Mode:
- Home Assistant: 0-255 per channel
- Device: 0-100 per channel
- Brightness scaling applied during conversion
Color Temperature Mode:
- Home Assistant: Kelvin (2700K - 6500K)
- Device: Warm/cold percentage (0-100 each)
- Lower Kelvin = warmer = more warm LED
- Higher Kelvin = cooler = more cold LED
- Check that Bluetooth is enabled in Home Assistant
- Ensure the device is powered on and nearby (< 2m recommended)
- Check Home Assistant logs: Settings → System → Logs
- Look for errors containing "lampster"
- Ensure device name contains "Lamp" (should be "Lampster")
- Check Bluetooth range - move device closer
- Power cycle the device
- Restart Home Assistant
- Only one Bluetooth connection at a time - close the official app
- Power cycle the device
- Check Home Assistant logs for specific errors
- Ensure no other integrations are using the device
- Verify device is connected (check entity state)
- Power cycle the device
- Remove and re-add the integration
- Check debug logs for BLE errors
Add to configuration.yaml:
logger:
default: info
logs:
custom_components.lampster: debug
lampster: debugThen restart Home Assistant.
- Single Connection: Device only supports one Bluetooth connection at a time
- No Button Control: Physical button disabled when using BLE (by design)
- State Persistence: Device remembers last color even when powered off
- Range: Bluetooth LE has limited range (~10m line of sight, less through walls)
- Power Off from RGB: Requires switching to white mode first (handled automatically)
custom_components/lampster/
├── __init__.py # Integration setup
├── manifest.json # Integration metadata
├── const.py # Constants
├── config_flow.py # Discovery and config UI
├── light.py # Light entity implementation
├── strings.json # UI strings
└── translations/
└── en.json # English translations
The integration uses the lampster Python library for BLE communication. See the main README for library documentation.
- Enable debug logging (see above)
- Monitor logs:
tail -f /config/home-assistant.log | grep lampster - Test basic operations: on/off, RGB colors, white temperatures
- Test automations and scripts
- Test device reconnection (power cycle device)
All BLE protocol information based on reverse engineering by Noki.
MIT License - See LICENSE file for details
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Protocol Documentation: Noki's the-lampster