https://github.com/synodriver/esphome_external_componnets
咕御用esphome组件
https://github.com/synodriver/esphome_external_componnets
Last synced: 11 months ago
JSON representation
咕御用esphome组件
- Host: GitHub
- URL: https://github.com/synodriver/esphome_external_componnets
- Owner: synodriver
- Created: 2025-06-02T13:37:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-03T15:34:09.000Z (about 1 year ago)
- Last Synced: 2025-06-04T01:35:09.768Z (about 1 year ago)
- Language: C++
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# external components for esphome
- 1 dart ws-z sensor
- 2 ltr390 with ```sensitivity_max``` variable,default 1400 for new version
```yaml
uart:
id: uart_bus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
stop_bits: 1
rx_buffer_size: 512
i2c:
sda: 18
scl: 19
scan: true
id: i2cbus
number:
- platform: template
id: basenum
name: "设置基准数值"
optimistic: true
restore_value: true
min_value: 0
max_value: 100000
step: 1
entity_category: "diagnostic"
button:
- platform: template
name: "校准CO2传感器"
entity_category: "diagnostic"
on_press:
- kanfurco2.calibrate:
id: co2sensor
base: !lambda "return id(basenum).state;"
sensor:
- platform: ws_z
uart_id: uart_bus
formaldehyde:
name: "甲醛"
formaldehyde_ppb:
name: "甲醛ppb"
update_interval: 5s
- platform: kanfurco2
id: co2sensor
uart_id: uart_bus2
co2:
name: "co2"
self_calibrate: true
period: 5
base: 400
update_interval: 5s
- platform: newltr390
i2c_id: i2cbus
uv_index:
name: "UV Index"
uv:
name: "UV Sensor Counts"
light:
name: "Light"
ambient_light:
name: "Light Sensor Counts"
sensitivity_max: 1400
```