Ledstrip Simple added. Now, there really is nothing that is remotely finished and can simply be used

This commit is contained in:
Nicolas Bachschwell 2022-05-27 08:41:11 +02:00
parent 87ba336d88
commit 05a93e2aa5
Signed by: NBSgamesAT
GPG Key ID: B2F1E0D04F024688
3 changed files with 84 additions and 3 deletions

View File

@ -68,4 +68,12 @@ Should state ON be sent without any other attribute, the nbs logo is displayed w
# Sonoff Stecker 1 (Sonoff Plug 1)
Is the base implementation of the Sonoff Power switch. Nothings special. Still here just in case someone wants it.
# Ledstrip Simple
Ledstrip Simple is a basic implementation of a ledstrip using no custom code and works solely on the addressable_ledstrip implementation of espHome.
There are a few light effects configured so please play around with them for a little. Have fun.
There is one thing I should mention tho:
At line 34 in the ledstrip_simple.yaml there is a number called num_leds which dictates how many leds there are on the ledstrip. Please change that according to your ledstrip.
More infos are coming soon.

65
ledstrip_simple.yaml Normal file
View File

@ -0,0 +1,65 @@
esphome:
name: teststrip
platform: ESP8266
board: nodemcuv2
# Enable logging
logger:
ota:
password: !secret ledsimplepassword
api:
password: !secret ledsimplepassword
encryption:
key: !secret ledsimplekey
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
# use_address: teststrip2.local
mqtt:
broker: !secret mqtt_broker_1
client_id: "teststrip"
username: !secret mqtt_broker_1_username
password: !secret mqtt_broker_1_password
light:
- platform: neopixelbus
type: GRB
variant: WS2811
pin: D5
num_leds: 56
name: ledstrip
effects:
- addressable_rainbow:
- addressable_rainbow:
name: Snail Rainbow
width: 50
speed: 3
- addressable_rainbow:
name: Fast Rainbow
width: 50
speed: 30
- addressable_rainbow:
name: Lightning Rainbow
width: 50
speed: 60
- addressable_color_wipe:
- addressable_scan:
move_interval: 30ms
- addressable_twinkle:
twinkle_probability: 15%
- addressable_random_twinkle:
twinkle_probability: 15%
- addressable_fireworks:
name: normal
spark_probability: 30%
- addressable_fireworks:
name: '50 Percent'
spark_probability: 50%
- addressable_fireworks:
name: '70 Percent'
spark_probability: 77%

View File

@ -15,9 +15,17 @@ a3poolpasswd: # A3Pool OTA and native API password
a3poolkey: # Native API encryption KEY
# Table Tennis Footswitches (No ttf encryption but may be added)
ttfpassword: # A3Pool OTA and native API password
ttfpassword: # TableTennisFootswitch OTA password
# ttfkey: # Native API encryption KEY
# Table Tennis ledstrip display
ttdpassword: # A3Pool OTA and native API password
ttdpassword: # TableTennisPassword OTA and native API password
ttdkey: # Native API encryption KEY
# Sonoff Stecker (Currently Dartboard Light)
ss1password: # Sonoff Switch 1 OTA and native API password
ss1key: # Native API encryption KEY
# Ledstrip Simple
ledsimplepassword: # Ledstrip Simple OTA and native API password
ledsimplekey: # Native API encryption KEY