-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First Builded Gyver Lamp Version (Not Tested)
- Loading branch information
1 parent
be2008e
commit c1bc9bd
Showing
12 changed files
with
9,730 additions
and
7,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
esp8266: | ||
board: nodemcuv2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
platform: neopixelbus | ||
id: neopixel_led | ||
type: ${type_leds} | ||
pin: ${pin_leds} | ||
num_leds: ${num_leds} | ||
name: ${name} NeoPixel | ||
color_correct: [$color_correct_bright, $color_correct_bright, $color_correct_bright] | ||
variant: 800KBPS # WS2812 (same as 800KBPS) | ||
<<: !include settings/effects_gyver_lamp.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
effects: | ||
- addressable_lambda: | ||
name: Lava Lamp | ||
update_interval: 0s | ||
lambda: |- | ||
if (initial_run) | ||
{ | ||
ESP_LOGD("effect", "Lava Lamp"); | ||
} | ||
gyver_lamp.ShowFrame(EFF_LAVALAMP, current_color, &it); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
substitutions: | ||
device: esp_gyver_lamp | ||
name: Gyver Lamp | ||
location: ${name} | ||
update_interval: 60s | ||
device_ip: 192.168.0.0 | ||
reboot_timeout: 0s | ||
num_leds: "256" | ||
type_leds: "GRB" | ||
flagflip: "0" | ||
pin_leds: "GPIO2" | ||
color_correct_bright: "50%" | ||
sunrise: "100" | ||
project_name: "ajs.Gyver Lamp" | ||
project_version: "1.0.5" | ||
comment: "ESPHome Gyver Lamp by Andrew J.Swan" | ||
|
||
esphome: | ||
name: ${device} | ||
comment: $comment | ||
build_path: ./.build/$device | ||
project: | ||
name: $project_name | ||
version: $project_version | ||
<<: !include common/boot/window_illumination.yaml | ||
|
||
<<: !include common/esp/esp8266_node.yaml | ||
|
||
<<: !include common/common.yaml | ||
|
||
packages: | ||
common: !include packages/common_8266.yaml | ||
led_power: !include packages/led_power.yaml | ||
light: !include packages/light_gyver_lamp.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.