2022-09-06 05:48:01 +02:00
|
|
|
---
|
2021-06-08 01:56:21 +02:00
|
|
|
esphome:
|
|
|
|
name: test5
|
|
|
|
build_path: build/test5
|
2021-06-09 03:04:00 +02:00
|
|
|
project:
|
|
|
|
name: esphome.test5_project
|
|
|
|
version: "1.0.0"
|
2021-06-08 01:56:21 +02:00
|
|
|
|
2021-09-20 11:47:51 +02:00
|
|
|
esp32:
|
|
|
|
board: nodemcu-32s
|
|
|
|
framework:
|
|
|
|
type: esp-idf
|
2021-09-30 18:08:15 +02:00
|
|
|
advanced:
|
2021-11-30 20:11:38 +01:00
|
|
|
ignore_efuse_mac_crc: true
|
2021-09-20 11:47:51 +02:00
|
|
|
|
2021-06-08 01:56:21 +02:00
|
|
|
wifi:
|
|
|
|
networks:
|
2022-01-24 20:44:20 +01:00
|
|
|
- ssid: "MySSID"
|
|
|
|
password: "password1"
|
2021-12-01 20:55:27 +01:00
|
|
|
manual_ip:
|
|
|
|
static_ip: 192.168.1.23
|
|
|
|
gateway: 192.168.1.1
|
|
|
|
subnet: 255.255.255.0
|
2021-06-08 01:56:21 +02:00
|
|
|
|
2023-09-27 10:38:43 +02:00
|
|
|
network:
|
|
|
|
enable_ipv6: true
|
|
|
|
|
2021-06-08 01:56:21 +02:00
|
|
|
api:
|
|
|
|
|
|
|
|
ota:
|
|
|
|
|
|
|
|
logger:
|
|
|
|
|
2023-09-05 04:02:59 +02:00
|
|
|
debug:
|
|
|
|
|
|
|
|
psram:
|
|
|
|
|
2021-07-22 05:31:28 +02:00
|
|
|
uart:
|
2023-03-20 03:29:21 +01:00
|
|
|
- id: uart_1
|
2021-07-29 11:24:36 +02:00
|
|
|
tx_pin: 1
|
|
|
|
rx_pin: 3
|
|
|
|
baud_rate: 9600
|
2023-03-20 03:29:21 +01:00
|
|
|
- id: uart_2
|
2021-07-29 11:24:36 +02:00
|
|
|
tx_pin: 17
|
|
|
|
rx_pin: 16
|
|
|
|
baud_rate: 19200
|
|
|
|
|
2021-09-13 16:55:01 +02:00
|
|
|
i2c:
|
2022-08-25 05:49:31 +02:00
|
|
|
frequency: 100khz
|
2021-09-13 16:55:01 +02:00
|
|
|
|
2021-07-22 05:31:28 +02:00
|
|
|
modbus:
|
2023-03-20 03:29:21 +01:00
|
|
|
uart_id: uart_1
|
2021-09-26 22:27:24 +02:00
|
|
|
flow_control_pin: 5
|
|
|
|
id: mod_bus1
|
|
|
|
|
|
|
|
modbus_controller:
|
|
|
|
- id: modbus_controller_test
|
|
|
|
address: 0x2
|
|
|
|
modbus_id: mod_bus1
|
2022-04-04 01:07:20 +02:00
|
|
|
|
|
|
|
mqtt:
|
|
|
|
broker: test.mosquitto.org
|
|
|
|
port: 1883
|
|
|
|
discovery: true
|
|
|
|
discovery_prefix: homeassistant
|
|
|
|
idf_send_async: false
|
|
|
|
on_message:
|
|
|
|
topic: testing/sensor/testing_sensor/state
|
|
|
|
qos: 0
|
|
|
|
then:
|
2022-09-06 05:48:01 +02:00
|
|
|
# yamllint disable rule:line-length
|
2022-04-04 01:07:20 +02:00
|
|
|
- lambda: |-
|
2022-09-06 05:48:01 +02:00
|
|
|
ESP_LOGD("Mqtt Test", "testing/sensor/testing_sensor/state=[%s]", x.c_str());
|
|
|
|
# yamllint enable rule:line-length
|
2021-09-26 22:27:24 +02:00
|
|
|
|
2023-02-07 00:17:17 +01:00
|
|
|
vbus:
|
2023-03-20 03:29:21 +01:00
|
|
|
- uart_id: uart_2
|
2023-02-07 00:17:17 +01:00
|
|
|
|
2021-06-08 01:56:21 +02:00
|
|
|
binary_sensor:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO0
|
|
|
|
id: io0_button
|
2021-10-10 10:37:05 +02:00
|
|
|
icon: mdi:gesture-tap-button
|
2021-06-08 01:56:21 +02:00
|
|
|
|
2022-01-24 20:44:20 +01:00
|
|
|
- platform: modbus_controller
|
|
|
|
modbus_controller_id: modbus_controller_test
|
|
|
|
id: modbus_binsensortest
|
|
|
|
register_type: read
|
|
|
|
address: 0x3200
|
2023-03-09 02:54:51 +01:00
|
|
|
bitmask: 0x80 # (bit 8)
|
2022-09-06 05:48:01 +02:00
|
|
|
lambda: "return x;"
|
2022-01-24 20:44:20 +01:00
|
|
|
|
2022-09-12 17:30:15 +02:00
|
|
|
- platform: tm1638
|
|
|
|
id: Button0
|
|
|
|
key: 0
|
|
|
|
filters:
|
|
|
|
- delayed_on: 10ms
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- switch.turn_on: Led0
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- switch.turn_off: Led0
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button1
|
|
|
|
key: 1
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- switch.turn_on: Led1
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- switch.turn_off: Led1
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button2
|
|
|
|
key: 2
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- switch.turn_on: Led2
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- switch.turn_off: Led2
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button3
|
|
|
|
key: 3
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- switch.turn_on: Led3
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- switch.turn_off: Led3
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button4
|
|
|
|
key: 4
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- output.turn_on: Led4
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- output.turn_off: Led4
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button5
|
|
|
|
key: 5
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- output.turn_on: Led5
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- output.turn_off: Led5
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button6
|
|
|
|
key: 6
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- output.turn_on: Led6
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- output.turn_off: Led6
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Button7
|
|
|
|
key: 7
|
|
|
|
on_press:
|
|
|
|
then:
|
|
|
|
- output.turn_on: Led7
|
|
|
|
on_release:
|
|
|
|
then:
|
|
|
|
- output.turn_off: Led7
|
|
|
|
|
2022-12-07 00:10:25 +01:00
|
|
|
- platform: gpio
|
|
|
|
id: sn74hc165_pin_0
|
|
|
|
pin:
|
|
|
|
sn74hc165: sn74hc165_hub
|
|
|
|
number: 0
|
2022-09-12 17:30:15 +02:00
|
|
|
|
2022-10-19 05:08:27 +02:00
|
|
|
- platform: ezo_pmp
|
|
|
|
pump_state:
|
|
|
|
name: "Pump State"
|
|
|
|
is_paused:
|
|
|
|
name: "Is Paused"
|
|
|
|
|
2023-01-17 05:18:34 +01:00
|
|
|
- platform: matrix_keypad
|
|
|
|
keypad_id: keypad
|
|
|
|
id: key4
|
|
|
|
row: 1
|
|
|
|
col: 1
|
|
|
|
- platform: matrix_keypad
|
|
|
|
id: key1
|
|
|
|
key: 1
|
|
|
|
|
2023-02-07 00:17:17 +01:00
|
|
|
- platform: vbus
|
|
|
|
model: deltasol_bs_plus
|
|
|
|
relay2:
|
|
|
|
name: Relay 2 On
|
|
|
|
sensor1_error:
|
|
|
|
name: Sensor 1 Error
|
|
|
|
|
|
|
|
- platform: vbus
|
|
|
|
model: custom
|
|
|
|
command: 0x100
|
|
|
|
source: 0x1234
|
|
|
|
dest: 0x10
|
|
|
|
binary_sensors:
|
|
|
|
- id: vcustom_b
|
|
|
|
name: VBus Custom Binary Sensor
|
|
|
|
lambda: return x[0] & 1;
|
2023-01-17 05:18:34 +01:00
|
|
|
|
2021-07-29 11:16:04 +02:00
|
|
|
tlc5947:
|
|
|
|
data_pin: GPIO12
|
|
|
|
clock_pin: GPIO14
|
|
|
|
lat_pin: GPIO15
|
|
|
|
|
2023-05-08 02:45:12 +02:00
|
|
|
gp8403:
|
|
|
|
- id: gp8403_5v
|
|
|
|
voltage: 5V
|
|
|
|
- id: gp8403_10v
|
|
|
|
voltage: 10V
|
|
|
|
|
2021-06-08 01:56:21 +02:00
|
|
|
output:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO2
|
|
|
|
id: built_in_led
|
|
|
|
|
2021-07-29 11:16:04 +02:00
|
|
|
- platform: tlc5947
|
|
|
|
id: output_red
|
|
|
|
channel: 0
|
|
|
|
max_power: 0.8
|
|
|
|
|
2022-01-08 09:35:55 +01:00
|
|
|
- platform: mcp47a1
|
|
|
|
id: output_mcp47a1
|
|
|
|
|
2022-01-24 20:44:20 +01:00
|
|
|
- platform: modbus_controller
|
|
|
|
modbus_controller_id: modbus_controller_test
|
|
|
|
id: modbus_output_test
|
|
|
|
lambda: |-
|
|
|
|
return x * 1.0 ;
|
|
|
|
address: 0x9001
|
|
|
|
value_type: U_WORD
|
|
|
|
|
2022-09-12 17:30:15 +02:00
|
|
|
- platform: tm1638
|
|
|
|
id: Led4
|
|
|
|
led: 4
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led5
|
|
|
|
led: 5
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led6
|
|
|
|
led: 6
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led7
|
|
|
|
led: 7
|
|
|
|
|
2023-05-08 02:45:12 +02:00
|
|
|
- platform: gp8403
|
|
|
|
id: gp8403_output_0
|
|
|
|
gp8403_id: gp8403_5v
|
|
|
|
channel: 0
|
|
|
|
- platform: gp8403
|
|
|
|
gp8403_id: gp8403_10v
|
|
|
|
id: gp8403_output_1
|
|
|
|
channel: 1
|
|
|
|
|
2021-07-29 11:50:55 +02:00
|
|
|
demo:
|
|
|
|
|
2021-06-08 01:56:21 +02:00
|
|
|
esp32_ble:
|
2021-06-11 22:31:15 +02:00
|
|
|
|
|
|
|
esp32_ble_server:
|
2022-09-06 05:48:01 +02:00
|
|
|
manufacturer: ESPHome
|
|
|
|
model: Test5
|
2021-06-08 01:56:21 +02:00
|
|
|
|
|
|
|
esp32_improv:
|
|
|
|
authorizer: io0_button
|
|
|
|
authorized_duration: 1min
|
|
|
|
status_indicator: built_in_led
|
2021-07-12 21:20:12 +02:00
|
|
|
|
2022-10-19 05:08:27 +02:00
|
|
|
ezo_pmp:
|
|
|
|
id: hcl_pump
|
|
|
|
update_interval: 1s
|
|
|
|
|
2021-07-12 21:20:12 +02:00
|
|
|
number:
|
|
|
|
- platform: template
|
|
|
|
name: My template number
|
|
|
|
id: template_number_id
|
|
|
|
optimistic: true
|
2022-05-10 06:58:56 +02:00
|
|
|
max_value: 100
|
|
|
|
min_value: 0
|
|
|
|
step: 5
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
mode: slider
|
2022-11-17 20:01:28 +01:00
|
|
|
device_class: humidity
|
2021-07-12 21:20:12 +02:00
|
|
|
on_value:
|
|
|
|
- logger.log:
|
2022-09-06 05:48:01 +02:00
|
|
|
format: Number changed to %f
|
|
|
|
args: [x]
|
2021-07-12 21:20:12 +02:00
|
|
|
set_action:
|
|
|
|
- logger.log:
|
2022-09-06 05:48:01 +02:00
|
|
|
format: Template Number set to %f
|
|
|
|
args: [x]
|
2022-05-10 06:58:56 +02:00
|
|
|
- number.set:
|
|
|
|
id: template_number_id
|
|
|
|
value: 50
|
|
|
|
- number.to_min: template_number_id
|
|
|
|
- number.to_min:
|
|
|
|
id: template_number_id
|
|
|
|
- number.to_max: template_number_id
|
|
|
|
- number.to_max:
|
|
|
|
id: template_number_id
|
|
|
|
- number.increment: template_number_id
|
|
|
|
- number.increment:
|
|
|
|
id: template_number_id
|
|
|
|
cycle: false
|
|
|
|
- number.decrement: template_number_id
|
|
|
|
- number.decrement:
|
|
|
|
id: template_number_id
|
|
|
|
cycle: false
|
|
|
|
- number.operation:
|
|
|
|
id: template_number_id
|
|
|
|
operation: Increment
|
|
|
|
cycle: false
|
|
|
|
- number.operation:
|
|
|
|
id: template_number_id
|
|
|
|
operation: !lambda "return NUMBER_OP_INCREMENT;"
|
|
|
|
cycle: !lambda "return false;"
|
2021-07-22 05:31:28 +02:00
|
|
|
|
2022-01-24 20:44:20 +01:00
|
|
|
- id: modbus_numbertest
|
|
|
|
platform: modbus_controller
|
|
|
|
modbus_controller_id: modbus_controller_test
|
2022-09-06 05:48:01 +02:00
|
|
|
name: ModbusNumber
|
2022-01-24 20:44:20 +01:00
|
|
|
address: 0x9002
|
|
|
|
value_type: U_WORD
|
2022-09-06 05:48:01 +02:00
|
|
|
lambda: "return x * 1.0;"
|
2022-01-24 20:44:20 +01:00
|
|
|
write_lambda: |-
|
|
|
|
return x * 1.0 ;
|
|
|
|
multiply: 1.0
|
|
|
|
|
2021-08-02 10:00:51 +02:00
|
|
|
select:
|
|
|
|
- platform: template
|
|
|
|
name: My template select
|
|
|
|
id: template_select_id
|
|
|
|
optimistic: true
|
|
|
|
initial_option: two
|
|
|
|
restore_value: true
|
|
|
|
on_value:
|
|
|
|
- logger.log:
|
2022-09-06 05:48:01 +02:00
|
|
|
format: Select changed to %s (index %d)"
|
2022-05-10 06:41:16 +02:00
|
|
|
args: ["x.c_str()", "i"]
|
2021-08-02 10:00:51 +02:00
|
|
|
set_action:
|
|
|
|
- logger.log:
|
2022-09-06 05:48:01 +02:00
|
|
|
format: Template Select set to %s
|
2021-08-02 10:00:51 +02:00
|
|
|
args: ["x.c_str()"]
|
|
|
|
- select.set:
|
|
|
|
id: template_select_id
|
|
|
|
option: two
|
2022-05-10 06:41:16 +02:00
|
|
|
- select.first: template_select_id
|
|
|
|
- select.last:
|
|
|
|
id: template_select_id
|
|
|
|
- select.previous: template_select_id
|
|
|
|
- select.next:
|
|
|
|
id: template_select_id
|
|
|
|
cycle: false
|
|
|
|
- select.operation:
|
|
|
|
id: template_select_id
|
|
|
|
operation: Previous
|
|
|
|
cycle: false
|
|
|
|
- select.operation:
|
|
|
|
id: template_select_id
|
|
|
|
operation: !lambda "return SELECT_OP_PREVIOUS;"
|
|
|
|
cycle: !lambda "return true;"
|
|
|
|
- select.set_index:
|
|
|
|
id: template_select_id
|
|
|
|
index: 1
|
|
|
|
- select.set_index:
|
|
|
|
id: template_select_id
|
|
|
|
index: !lambda "return 1 + 1;"
|
2021-08-02 10:00:51 +02:00
|
|
|
options:
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- three
|
|
|
|
|
2022-05-10 06:41:16 +02:00
|
|
|
- platform: modbus_controller
|
2022-09-06 05:48:01 +02:00
|
|
|
name: Modbus Select Register 1000
|
2022-05-10 06:41:16 +02:00
|
|
|
address: 1000
|
|
|
|
value_type: U_WORD
|
|
|
|
optionsmap:
|
|
|
|
"Zero": 0
|
|
|
|
"One": 1
|
|
|
|
"Two": 2
|
|
|
|
"Three": 3
|
|
|
|
|
2021-07-22 05:31:28 +02:00
|
|
|
sensor:
|
2023-09-13 01:36:17 +02:00
|
|
|
- platform: adc
|
|
|
|
id: adc_sensor_p32
|
|
|
|
name: ADC pin 32
|
|
|
|
pin: 32
|
|
|
|
attenuation: 11db
|
|
|
|
update_interval: 1s
|
2023-02-20 03:47:37 +01:00
|
|
|
- platform: internal_temperature
|
2023-03-09 02:54:51 +01:00
|
|
|
name: Internal Temperature
|
2021-07-22 05:31:28 +02:00
|
|
|
- platform: selec_meter
|
|
|
|
total_active_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Total Active Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
import_active_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Import Active Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
export_active_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Export Active Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
total_reactive_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Total Reactive Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
import_reactive_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Import Reactive Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
export_reactive_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Export Reactive Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
apparent_energy:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Apparent Energy
|
2021-07-22 05:31:28 +02:00
|
|
|
active_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Active Power
|
2021-07-22 05:31:28 +02:00
|
|
|
reactive_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Reactive Power
|
2021-07-22 05:31:28 +02:00
|
|
|
apparent_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Apparent Power
|
2021-07-22 05:31:28 +02:00
|
|
|
voltage:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Voltage
|
2021-07-22 05:31:28 +02:00
|
|
|
current:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Current
|
2021-07-22 05:31:28 +02:00
|
|
|
power_factor:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Power Factor
|
2021-07-22 05:31:28 +02:00
|
|
|
frequency:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Frequency
|
2021-07-22 05:31:28 +02:00
|
|
|
maximum_demand_active_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Maximum Demand Active Power
|
2021-08-10 03:45:31 +02:00
|
|
|
disabled_by_default: true
|
2021-07-22 05:31:28 +02:00
|
|
|
maximum_demand_reactive_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Maximum Demand Reactive Power
|
2021-08-10 03:45:31 +02:00
|
|
|
disabled_by_default: true
|
2021-07-22 05:31:28 +02:00
|
|
|
maximum_demand_apparent_power:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: SelecEM2M Maximum Demand Apparent Power
|
2021-08-10 03:45:31 +02:00
|
|
|
disabled_by_default: true
|
2021-07-29 11:50:55 +02:00
|
|
|
|
2022-01-24 20:44:20 +01:00
|
|
|
- id: modbus_sensortest
|
2021-09-26 22:27:24 +02:00
|
|
|
platform: modbus_controller
|
|
|
|
modbus_controller_id: modbus_controller_test
|
|
|
|
address: 0x331A
|
|
|
|
register_type: read
|
|
|
|
value_type: U_WORD
|
|
|
|
|
2021-07-29 11:24:36 +02:00
|
|
|
- platform: t6615
|
2023-03-20 03:29:21 +01:00
|
|
|
uart_id: uart_2
|
2021-07-29 11:24:36 +02:00
|
|
|
co2:
|
|
|
|
name: CO2 Sensor
|
2021-11-10 19:30:07 +01:00
|
|
|
|
2022-01-06 03:01:50 +01:00
|
|
|
- platform: bmp3xx
|
|
|
|
temperature:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: BMP Temperature
|
2022-01-06 03:01:50 +01:00
|
|
|
oversampling: 16x
|
|
|
|
pressure:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: BMP Pressure
|
2022-01-06 03:01:50 +01:00
|
|
|
address: 0x77
|
|
|
|
iir_filter: 2X
|
|
|
|
|
2022-05-10 10:15:02 +02:00
|
|
|
- platform: sen5x
|
|
|
|
id: sen54
|
|
|
|
temperature:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: Temperature
|
2022-05-10 10:15:02 +02:00
|
|
|
accuracy_decimals: 1
|
|
|
|
humidity:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: Humidity
|
2022-05-10 10:15:02 +02:00
|
|
|
accuracy_decimals: 0
|
|
|
|
pm_1_0:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: PM <1µm Weight concentration
|
2022-05-10 10:15:02 +02:00
|
|
|
id: pm_1_0
|
|
|
|
accuracy_decimals: 1
|
|
|
|
pm_2_5:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: PM <2.5µm Weight concentration
|
2022-05-10 10:15:02 +02:00
|
|
|
id: pm_2_5
|
|
|
|
accuracy_decimals: 1
|
|
|
|
pm_4_0:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: PM <4µm Weight concentration
|
2022-05-10 10:15:02 +02:00
|
|
|
id: pm_4_0
|
|
|
|
accuracy_decimals: 1
|
|
|
|
pm_10_0:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: PM <10µm Weight concentration
|
2022-05-10 10:15:02 +02:00
|
|
|
id: pm_10_0
|
|
|
|
accuracy_decimals: 1
|
|
|
|
nox:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: NOx
|
2022-05-10 10:15:02 +02:00
|
|
|
voc:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: VOC
|
2022-05-10 10:15:02 +02:00
|
|
|
algorithm_tuning:
|
|
|
|
index_offset: 100
|
|
|
|
learning_time_offset_hours: 12
|
|
|
|
learning_time_gain_hours: 12
|
|
|
|
gating_max_duration_minutes: 180
|
|
|
|
std_initial: 50
|
|
|
|
gain_factor: 230
|
|
|
|
temperature_compensation:
|
|
|
|
offset: 0
|
|
|
|
normalized_offset_slope: 0
|
|
|
|
time_constant: 0
|
2023-05-16 00:28:01 +02:00
|
|
|
auto_cleaning_interval: 604800s
|
2022-05-10 10:15:02 +02:00
|
|
|
acceleration_mode: low
|
|
|
|
store_baseline: true
|
|
|
|
address: 0x69
|
2022-08-25 05:49:31 +02:00
|
|
|
- platform: mcp9600
|
|
|
|
thermocouple_type: K
|
|
|
|
hot_junction:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: Thermocouple Temperature
|
2022-08-25 05:49:31 +02:00
|
|
|
cold_junction:
|
2022-09-06 05:48:01 +02:00
|
|
|
name: Ambient Temperature
|
2022-08-25 05:49:31 +02:00
|
|
|
|
2022-10-19 05:08:27 +02:00
|
|
|
- platform: ezo_pmp
|
|
|
|
current_volume_dosed:
|
|
|
|
name: Current Volume Dosed
|
|
|
|
total_volume_dosed:
|
|
|
|
name: Total Volume Dosed
|
|
|
|
absolute_total_volume_dosed:
|
|
|
|
name: Absolute Total Volume Dosed
|
|
|
|
pump_voltage:
|
|
|
|
name: Pump Voltage
|
|
|
|
last_volume_requested:
|
|
|
|
name: Last Volume Requested
|
|
|
|
max_flow_rate:
|
|
|
|
name: Max Flow Rate
|
|
|
|
|
2023-02-07 00:17:17 +01:00
|
|
|
- platform: vbus
|
|
|
|
model: deltasol c
|
|
|
|
temperature_3:
|
|
|
|
name: Temperature 3
|
|
|
|
operating_hours_1:
|
|
|
|
name: Operating Hours 1
|
|
|
|
heat_quantity:
|
|
|
|
name: Heat Quantity
|
|
|
|
time:
|
|
|
|
name: System Time
|
|
|
|
|
2023-09-05 04:02:59 +02:00
|
|
|
- platform: debug
|
|
|
|
free:
|
|
|
|
name: "Heap Free"
|
|
|
|
block:
|
|
|
|
name: "Heap Max Block"
|
|
|
|
loop_time:
|
|
|
|
name: "Loop Time"
|
|
|
|
psram:
|
|
|
|
name: "PSRAM Free"
|
|
|
|
|
2023-02-07 00:17:17 +01:00
|
|
|
- platform: vbus
|
|
|
|
model: custom
|
|
|
|
command: 0x100
|
|
|
|
source: 0x1234
|
|
|
|
dest: 0x10
|
|
|
|
sensors:
|
|
|
|
- id: vcustom
|
|
|
|
name: VBus Custom Sensor
|
|
|
|
lambda: return x[0] / 10.0;
|
|
|
|
|
2023-02-23 02:31:35 +01:00
|
|
|
- platform: kuntze
|
|
|
|
ph:
|
|
|
|
name: Kuntze pH
|
|
|
|
temperature:
|
|
|
|
name: Kuntze temperature
|
|
|
|
|
2021-11-10 19:30:07 +01:00
|
|
|
script:
|
|
|
|
- id: automation_test
|
|
|
|
then:
|
|
|
|
- repeat:
|
|
|
|
count: 5
|
|
|
|
then:
|
2022-09-06 05:48:01 +02:00
|
|
|
- logger.log: looping!
|
2022-01-21 03:45:49 +01:00
|
|
|
|
2023-09-08 23:10:20 +02:00
|
|
|
- id: zero_repeat_test
|
|
|
|
then:
|
|
|
|
- repeat:
|
|
|
|
count: !lambda "return 0;"
|
|
|
|
then:
|
|
|
|
- logger.log: shouldn't see mee!
|
|
|
|
|
2022-01-24 20:44:20 +01:00
|
|
|
switch:
|
|
|
|
- platform: modbus_controller
|
|
|
|
modbus_controller_id: modbus_controller_test
|
|
|
|
id: modbus_switch_test
|
|
|
|
register_type: coil
|
|
|
|
address: 2
|
|
|
|
bitmask: 1
|
2022-09-12 17:30:15 +02:00
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led0
|
|
|
|
led: 0
|
|
|
|
name: TM1638Led0
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led1
|
|
|
|
led: 1
|
|
|
|
name: TM1638Led1
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led2
|
|
|
|
led: 2
|
|
|
|
name: TM1638Led2
|
|
|
|
|
|
|
|
- platform: tm1638
|
|
|
|
id: Led3
|
|
|
|
led: 3
|
|
|
|
name: TM1638Led3
|
|
|
|
|
|
|
|
display:
|
|
|
|
- platform: tm1638
|
|
|
|
id: primarydisplay
|
|
|
|
stb_pin: 5 #TM1638 STB
|
|
|
|
clk_pin: 18 #TM1638 CLK
|
|
|
|
dio_pin: 23 #TM1638 DIO
|
|
|
|
update_interval: 5s
|
|
|
|
intensity: 5
|
|
|
|
lambda: |-
|
|
|
|
it.print("81818181");
|
|
|
|
|
2022-12-23 00:33:31 +01:00
|
|
|
time:
|
|
|
|
- platform: pcf85063
|
2023-07-11 23:19:28 +02:00
|
|
|
- platform: pcf8563
|
2022-12-23 00:33:31 +01:00
|
|
|
|
2022-10-19 05:08:27 +02:00
|
|
|
text_sensor:
|
|
|
|
- platform: ezo_pmp
|
|
|
|
dosing_mode:
|
|
|
|
name: Dosing Mode
|
|
|
|
calibration_status:
|
|
|
|
name: Calibration Status
|
|
|
|
on_value:
|
|
|
|
- ezo_pmp.dose_volume:
|
|
|
|
id: hcl_pump
|
|
|
|
volume: 10
|
|
|
|
- ezo_pmp.dose_volume_over_time:
|
|
|
|
id: hcl_pump
|
|
|
|
volume: 10
|
|
|
|
duration: 2
|
|
|
|
- ezo_pmp.dose_with_constant_flow_rate:
|
|
|
|
id: hcl_pump
|
|
|
|
volume_per_minute: 10
|
|
|
|
duration: 2
|
|
|
|
- ezo_pmp.set_calibration_volume:
|
|
|
|
id: hcl_pump
|
|
|
|
volume: 10
|
|
|
|
- ezo_pmp.find: hcl_pump
|
|
|
|
- ezo_pmp.dose_continuously: hcl_pump
|
|
|
|
- ezo_pmp.clear_total_volume_dosed: hcl_pump
|
|
|
|
- ezo_pmp.clear_calibration: hcl_pump
|
|
|
|
- ezo_pmp.pause_dosing: hcl_pump
|
|
|
|
- ezo_pmp.stop_dosing: hcl_pump
|
|
|
|
- ezo_pmp.arbitrary_command:
|
|
|
|
id: hcl_pump
|
|
|
|
command: D,?
|
2022-12-07 00:10:25 +01:00
|
|
|
|
|
|
|
sn74hc165:
|
|
|
|
id: sn74hc165_hub
|
|
|
|
data_pin: GPIO12
|
|
|
|
clock_pin: GPIO14
|
|
|
|
load_pin: GPIO27
|
|
|
|
clock_inhibit_pin: GPIO26
|
|
|
|
sr_count: 4
|
2023-01-17 05:18:34 +01:00
|
|
|
|
|
|
|
matrix_keypad:
|
|
|
|
id: keypad
|
|
|
|
rows:
|
|
|
|
- pin: 21
|
|
|
|
- pin: 19
|
|
|
|
columns:
|
|
|
|
- pin: 17
|
|
|
|
- pin: 16
|
|
|
|
keys: "1234"
|
2023-09-21 00:26:36 +02:00
|
|
|
has_pulldowns: true
|
2023-01-17 05:18:34 +01:00
|
|
|
|
|
|
|
key_collector:
|
|
|
|
- id: reader
|
|
|
|
source_id: keypad
|
|
|
|
min_length: 4
|
|
|
|
max_length: 4
|
2023-05-08 23:33:43 +02:00
|
|
|
|
|
|
|
light:
|
|
|
|
- platform: esp32_rmt_led_strip
|
|
|
|
id: led_strip
|
|
|
|
pin: 13
|
|
|
|
num_leds: 60
|
|
|
|
rmt_channel: 6
|
|
|
|
rgb_order: GRB
|
|
|
|
chipset: ws2812
|
|
|
|
- platform: esp32_rmt_led_strip
|
|
|
|
id: led_strip2
|
|
|
|
pin: 15
|
|
|
|
num_leds: 60
|
|
|
|
rmt_channel: 2
|
|
|
|
rgb_order: RGB
|
|
|
|
bit0_high: 100us
|
|
|
|
bit0_low: 100us
|
|
|
|
bit1_high: 100us
|
|
|
|
bit1_low: 100us
|