annotate ws-lights.yaml @ 14:dcd981e1386b

br-air-quality has new screen layout; wifi connection blinks; etc (tr-a-q is behind)
author drewp@bigasterisk.com
date Thu, 01 Aug 2024 22:18:10 -0700
parents 7914d368d7b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
1 # mosquitto_sub -v -t workshop/status
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
2
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
3 esphome:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
4 # todo: needs rename
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
5 name: workshop
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
6 platform: esp32
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
7 board: lolin32
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
8
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
9 logger:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
10 level: DEBUG
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
11
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
12 wifi:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
13 networks:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
14 - ssid: !secret wifi_ssid
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
15 password: !secret wifi_password
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
16
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
17 ota:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
18 platform: esphome
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
19
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
20 mqtt:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
21 id: mqtt_client
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
22 broker: "mqtt2.bigasterisk.com"
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
23
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
24 light:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
25 - platform: status_led
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
26 id: "status_out"
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
27 pin: 2
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
28 - { platform: monochromatic, name: high0, output: out1 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
29 - { platform: monochromatic, name: high1, output: out4 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
30 - { platform: monochromatic, name: high2, output: out2 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
31 - { platform: monochromatic, name: high3, output: out6 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
32 - { platform: monochromatic, name: kid, output: out3 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
33 - { platform: monochromatic, name: out5, output: out5 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
34 - { platform: monochromatic, name: out7, output: out7 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
35 - { platform: monochromatic, name: sewing, output: out0 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
36
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
37 i2c:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
38 sda: 21
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
39 scl: 22
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
40 scan: True
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
41 id: bus_a
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
42
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
43 pca9685:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
44 - frequency: 500
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
45 address: 0x40
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
46
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
47 output:
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
48 - { platform: pca9685, id: "out0", channel: 0 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
49 - { platform: pca9685, id: "out1", channel: 1 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
50 - { platform: pca9685, id: "out2", channel: 2 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
51 - { platform: pca9685, id: "out3", channel: 3 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
52 - { platform: pca9685, id: "out4", channel: 4 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
53 - { platform: pca9685, id: "out5", channel: 5 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
54 - { platform: pca9685, id: "out6", channel: 6 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
55 - { platform: pca9685, id: "out7", channel: 7 }
7914d368d7b2 more boards
drewp@bigasterisk.com
parents:
diff changeset
56