-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrgb.yaml
60 lines (52 loc) · 968 Bytes
/
rgb.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
esphome:
name: "rgb"
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pwd
manual_ip:
static_ip: 192.168.1.202
gateway: 192.168.1.1
subnet: 255.255.255.0
captive_portal:
logger:
level: VERBOSE
api:
password: !secret api_pwd
ota:
password: !secret ota_pwd
output:
- platform: esp8266_pwm
pin: GPIO14
frequency: 1000 Hz
id: red
- platform: esp8266_pwm
pin: GPIO12
frequency: 1000 Hz
id: green
- platform: esp8266_pwm
pin: GPIO13
frequency: 1000 Hz
id: blue
- platform: esp8266_pwm
pin: GPIO16
frequency: 1000 Hz
id: laser
# binary_sensor:
# - platform: gpio
# pin:
# number: GPIO16
# mode:
# input: true
# # pullup: true
# name: LASER
light:
- platform: rgb
name: "Lumiere spatiale"
red: red
green: green
blue: blue
- platform: monochromatic
name: "Laser"
output: laser