Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add device: Zunpulse bulb 10W RGBCCT #979

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions src/docs/devices/zunpulse bulb 10w RGBCCT/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: Zunpulse bulb 10w RGBCCT
date-published: 2025-01-09
type: light
standard: in
board: bk72xx
difficulty: 4
---

## Flashing method

Serial flashing

## GPIO pinout


| Pin | Function |
|--------|-------------------|
| P26 | Red |
| P6 | Green |
| P24 | Blue |
| P8 | Output cold |
| P7 | Output warm |

## Basic configuration

```yaml
esphome:
name: zunpulse-light
friendly_name: zunpulse light

bk72xx:
board: cb2l

# Enable logging
logger:

# Enable Home Assistant API
api:
encryption:
key: ""

ota:
- platform: esphome
password: ""

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Zunpulse-Light1 Fallback Hotspot"
password: ""

captive_portal:

web_server:
port: 80

text_sensor:
- platform: libretiny
version:
name: LibreTiny Version

output:
- platform: libretiny_pwm
id: output_red
pin: P26
- platform: libretiny_pwm
id: output_green
pin: P6
- platform: libretiny_pwm
id: output_blue
pin: P24
- platform: libretiny_pwm
id: output_cold
pin: P8
- platform: libretiny_pwm
id: output_warm
pin: P7

light:
- platform: rgbww
id: light_rgbww
name: Light
color_interlock: true
cold_white_color_temperature: 6500 K
warm_white_color_temperature: 2700 K
red: output_red
green: output_green
blue: output_blue
cold_white: output_cold
warm_white: output_warm
restore_mode: RESTORE_AND_ON
Loading