Add some components to the new testing framework (M part 2) (#6208)

This commit is contained in:
Keith Burzinski 2024-04-22 22:45:25 -05:00 committed by GitHub
parent 2b215fecc9
commit c0dc9c20fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
128 changed files with 2577 additions and 0 deletions

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 4
rx_pin: 5
baud_rate: 9600
micronova:
enable_rx_pin: 6
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 4
rx_pin: 5
baud_rate: 9600
micronova:
enable_rx_pin: 6
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 17
rx_pin: 16
baud_rate: 9600
micronova:
enable_rx_pin: 18
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 17
rx_pin: 16
baud_rate: 9600
micronova:
enable_rx_pin: 18
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 4
rx_pin: 5
baud_rate: 9600
micronova:
enable_rx_pin: 16
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,49 @@
uart:
- id: uart_micronova
tx_pin: 4
rx_pin: 5
baud_rate: 9600
micronova:
enable_rx_pin: 6
button:
- platform: micronova
custom_button:
name: Custom Micronova Button
memory_location: 0xA0
memory_address: 0x7D
memory_data: 0x0F
number:
- platform: micronova
thermostat_temperature:
name: Micronova Thermostaat
step: 1
power_level:
name: Micronova Power level
sensor:
- platform: micronova
room_temperature:
name: Room Temperature
fumes_temperature:
name: Fumes Temperature
water_temperature:
name: Water temperature
water_pressure:
name: Water pressure
stove_power:
name: Stove Power
fan_speed:
fan_rpm_offset: 240
name: Fan RPM
memory_address_sensor:
memory_location: 0x20
memory_address: 0x7d
name: Adres sensor
switch:
- platform: micronova
stove:
name: Stove on/off

View file

@ -0,0 +1,11 @@
i2s_audio:
i2s_lrclk_pin: 6
i2s_bclk_pin: 7
i2s_mclk_pin: 8
microphone:
- platform: i2s_audio
id: mic_id_external
i2s_din_pin: 3
adc_type: external
pdm: false

View file

@ -0,0 +1,11 @@
i2s_audio:
i2s_lrclk_pin: 6
i2s_bclk_pin: 7
i2s_mclk_pin: 8
microphone:
- platform: i2s_audio
id: mic_id_external
i2s_din_pin: 3
adc_type: external
pdm: false

View file

@ -0,0 +1,15 @@
i2s_audio:
i2s_lrclk_pin: 13
i2s_bclk_pin: 14
i2s_mclk_pin: 15
microphone:
- platform: i2s_audio
id: mic_id_adc
adc_pin: 32
adc_type: internal
- platform: i2s_audio
id: mic_id_external
i2s_din_pin: 33
adc_type: external
pdm: false

View file

@ -0,0 +1,15 @@
i2s_audio:
i2s_lrclk_pin: 13
i2s_bclk_pin: 14
i2s_mclk_pin: 15
microphone:
- platform: i2s_audio
id: mic_id_adc
adc_pin: 32
adc_type: internal
- platform: i2s_audio
id: mic_id_external
i2s_din_pin: 33
adc_type: external
pdm: false

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 5
sda: 4
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 5
sda: 4
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 16
sda: 17
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 16
sda: 17
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 5
sda: 4
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mics_4514
scl: 5
sda: 4
sensor:
- platform: mics_4514
update_interval: 60s
nitrogen_dioxide:
name: MICS-4514 NO2
carbon_monoxide:
name: MICS-4514 CO
methane:
name: MICS-4514 CH4
hydrogen:
name: MICS-4514 H2
ethanol:
name: MICS-4514 C2H5OH
ammonia:
name: MICS-4514 NH3

View file

@ -0,0 +1,59 @@
wifi:
ssid: MySSID
password: password1
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
uart:
- id: uart_midea
tx_pin: 4
rx_pin: 5
baud_rate: 9600
climate:
- platform: midea
id: midea_unit
name: Midea Climate
on_control:
- logger.log: Control message received!
- lambda: |-
x.set_mode(CLIMATE_MODE_FAN_ONLY);
on_state:
- logger.log: State changed!
transmitter_id:
period: 1s
num_attempts: 5
timeout: 2s
beeper: false
autoconf: true
visual:
min_temperature: 17 °C
max_temperature: 30 °C
temperature_step: 0.5 °C
supported_modes:
- FAN_ONLY
- HEAT_COOL
- COOL
- HEAT
- DRY
custom_fan_modes:
- SILENT
- TURBO
supported_presets:
- ECO
- BOOST
- SLEEP
custom_presets:
- FREEZE_PROTECTION
supported_swing_modes:
- VERTICAL
- HORIZONTAL
- BOTH
outdoor_temperature:
name: Temp
power_usage:
name: Power
humidity_setpoint:
name: Humidity

View file

@ -0,0 +1,59 @@
wifi:
ssid: MySSID
password: password1
remote_transmitter:
pin: 18
carrier_duty_percent: 50%
uart:
- id: uart_midea
tx_pin: 17
rx_pin: 16
baud_rate: 9600
climate:
- platform: midea
id: midea_unit
name: Midea Climate
on_control:
- logger.log: Control message received!
- lambda: |-
x.set_mode(CLIMATE_MODE_FAN_ONLY);
on_state:
- logger.log: State changed!
transmitter_id:
period: 1s
num_attempts: 5
timeout: 2s
beeper: false
autoconf: true
visual:
min_temperature: 17 °C
max_temperature: 30 °C
temperature_step: 0.5 °C
supported_modes:
- FAN_ONLY
- HEAT_COOL
- COOL
- HEAT
- DRY
custom_fan_modes:
- SILENT
- TURBO
supported_presets:
- ECO
- BOOST
- SLEEP
custom_presets:
- FREEZE_PROTECTION
supported_swing_modes:
- VERTICAL
- HORIZONTAL
- BOTH
outdoor_temperature:
name: Temp
power_usage:
name: Power
humidity_setpoint:
name: Humidity

View file

@ -0,0 +1,59 @@
wifi:
ssid: MySSID
password: password1
remote_transmitter:
pin: 12
carrier_duty_percent: 50%
uart:
- id: uart_midea
tx_pin: 4
rx_pin: 5
baud_rate: 9600
climate:
- platform: midea
id: midea_unit
name: Midea Climate
on_control:
- logger.log: Control message received!
- lambda: |-
x.set_mode(CLIMATE_MODE_FAN_ONLY);
on_state:
- logger.log: State changed!
transmitter_id:
period: 1s
num_attempts: 5
timeout: 2s
beeper: false
autoconf: true
visual:
min_temperature: 17 °C
max_temperature: 30 °C
temperature_step: 0.5 °C
supported_modes:
- FAN_ONLY
- HEAT_COOL
- COOL
- HEAT
- DRY
custom_fan_modes:
- SILENT
- TURBO
supported_presets:
- ECO
- BOOST
- SLEEP
custom_presets:
- FREEZE_PROTECTION
supported_swing_modes:
- VERTICAL
- HORIZONTAL
- BOTH
outdoor_temperature:
name: Temp
power_usage:
name: Power
humidity_setpoint:
name: Humidity

View file

@ -0,0 +1,8 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: midea_ir
name: Midea IR
use_fahrenheit: true

View file

@ -0,0 +1,8 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: midea_ir
name: Midea IR
use_fahrenheit: true

View file

@ -0,0 +1,8 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: midea_ir
name: Midea IR
use_fahrenheit: true

View file

@ -0,0 +1,8 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: midea_ir
name: Midea IR
use_fahrenheit: true

View file

@ -0,0 +1,8 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: midea_ir
name: Midea IR
use_fahrenheit: true

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: mitsubishi
name: Mitsubishi

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: mitsubishi
name: Mitsubishi

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: mitsubishi
name: Mitsubishi

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: mitsubishi
name: Mitsubishi

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
climate:
- platform: mitsubishi
name: Mitsubishi

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 5
sda: 4
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 5
sda: 4
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 16
sda: 17
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 16
sda: 17
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 5
sda: 4
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_mlx90393
scl: 5
sda: 4
sensor:
- platform: mlx90393
oversampling: 1
filter: 0
gain: 3X
x_axis:
name: mlxxaxis
y_axis:
name: mlxyaxis
z_axis:
name: mlxzaxis
resolution: 17BIT
temperature:
name: mlxtemp
oversampling: 2

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 5
sda: 4
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 5
sda: 4
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 16
sda: 17
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 16
sda: 17
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 5
sda: 4
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mlx90614
scl: 5
sda: 4
sensor:
- platform: mlx90614
ambient:
name: Ambient
object:
name: Object
emissivity: 1.0

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 5
sda: 4
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 5
sda: 4
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 16
sda: 17
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 16
sda: 17
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 5
sda: 4
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,14 @@
i2c:
- id: i2c_mmc5603
scl: 5
sda: 4
sensor:
- platform: mmc5603
address: 0x30
field_strength_x:
name: HMC5883L Field Strength X
field_strength_y:
name: HMC5883L Field Strength Y
field_strength_z:
name: HMC5883L Field Strength Z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 5
sda: 4
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 5
sda: 4
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 16
sda: 17
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 16
sda: 17
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 5
sda: 4
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,16 @@
i2c:
- id: i2c_mmc5983
scl: 5
sda: 4
sensor:
- platform: mmc5983
field_strength_x:
name: "Magnet X"
id: magnet_x
field_strength_y:
name: "Magnet Y"
id: magnet_y
field_strength_z:
name: "Magnet Z"
id: magnet_z

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 15

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 15

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 12

View file

@ -0,0 +1,9 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 15
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 15
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 12
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,14 @@
uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1

View file

@ -0,0 +1,40 @@
output:
- platform: ledc
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,40 @@
output:
- platform: ledc
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,40 @@
output:
- platform: ledc
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,40 @@
output:
- platform: ledc
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,40 @@
output:
- platform: esp8266_pwm
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,40 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 4
light:
- platform: monochromatic
name: Monochromatic Light
id: monochromatic_light
output: light_output_1
gamma_correct: 2.8
default_transition_length: 2s
effects:
- strobe:
- flicker:
- flicker:
name: My Flicker
alpha: 98%
intensity: 1.5%
- lambda:
name: My Custom Effect
update_interval: 1s
lambda: |-
static int state = 0;
state += 1;
if (state == 4)
state = 0;
- pulse:
transition_length: 10s
update_interval: 20s
min_brightness: 10%
max_brightness: 90%
- pulse:
name: pulse2
transition_length:
on_length: 10s
off_length: 5s
update_interval: 15s
min_brightness: 10%
max_brightness: 90%

View file

@ -0,0 +1,3 @@
esp32_ble_tracker:
mopeka_ble:

View file

@ -0,0 +1,3 @@
esp32_ble_tracker:
mopeka_ble:

View file

@ -0,0 +1,3 @@
esp32_ble_tracker:
mopeka_ble:

View file

@ -0,0 +1,3 @@
esp32_ble_tracker:
mopeka_ble:

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
- platform: mopeka_pro_check
mac_address: D3:75:F2:DC:16:91
tank_type: CUSTOM
custom_distance_full: 40cm
custom_distance_empty: 10mm
temperature:
name: Propane test temp
level:
name: Propane test level
distance:
name: Propane test distance
battery_level:
name: Propane test battery level

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
- platform: mopeka_pro_check
mac_address: D3:75:F2:DC:16:91
tank_type: CUSTOM
custom_distance_full: 40cm
custom_distance_empty: 10mm
temperature:
name: Propane test temp
level:
name: Propane test level
distance:
name: Propane test distance
battery_level:
name: Propane test battery level

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
- platform: mopeka_pro_check
mac_address: D3:75:F2:DC:16:91
tank_type: CUSTOM
custom_distance_full: 40cm
custom_distance_empty: 10mm
temperature:
name: Propane test temp
level:
name: Propane test level
distance:
name: Propane test distance
battery_level:
name: Propane test battery level

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
- platform: mopeka_pro_check
mac_address: D3:75:F2:DC:16:91
tank_type: CUSTOM
custom_distance_full: 40cm
custom_distance_empty: 10mm
temperature:
name: Propane test temp
level:
name: Propane test level
distance:
name: Propane test distance
battery_level:
name: Propane test battery level

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
# Example using 11kg 100% propane tank.
- platform: mopeka_std_check
mac_address: D3:75:F2:DC:16:91
tank_type: Europe_11kg
temperature:
name: "Propane test temp"
level:
name: "Propane test level"
distance:
name: "Propane test distance"
battery_level:
name: "Propane test battery level"

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
# Example using 11kg 100% propane tank.
- platform: mopeka_std_check
mac_address: D3:75:F2:DC:16:91
tank_type: Europe_11kg
temperature:
name: "Propane test temp"
level:
name: "Propane test level"
distance:
name: "Propane test distance"
battery_level:
name: "Propane test battery level"

View file

@ -0,0 +1,16 @@
esp32_ble_tracker:
sensor:
# Example using 11kg 100% propane tank.
- platform: mopeka_std_check
mac_address: D3:75:F2:DC:16:91
tank_type: Europe_11kg
temperature:
name: "Propane test temp"
level:
name: "Propane test level"
distance:
name: "Propane test distance"
battery_level:
name: "Propane test battery level"

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 5
sda: 4
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 5
sda: 4
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 16
sda: 17
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 16
sda: 17
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 5
sda: 4
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,12 @@
i2c:
- id: i2c_mpl3115a2
scl: 5
sda: 4
sensor:
- platform: mpl3115a2
temperature:
name: MPL3115A2 Temperature
pressure:
name: MPL3115A2 Pressure
update_interval: 10s

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 5
sda: 4
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 5
sda: 4
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 16
sda: 17
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 16
sda: 17
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 5
sda: 4
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,26 @@
i2c:
- id: i2c_mpr121
scl: 5
sda: 4
mpr121:
id: mpr121_first
address: 0x5A
binary_sensor:
- platform: mpr121
id: touchkey0
name: touchkey0
channel: 0
- platform: mpr121
id: bin1
name: touchkey1
channel: 1
- platform: mpr121
id: bin2
name: touchkey2
channel: 2
- platform: mpr121
id: bin3
name: touchkey3
channel: 3

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 5
sda: 4
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 5
sda: 4
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 16
sda: 17
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 16
sda: 17
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 5
sda: 4
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

View file

@ -0,0 +1,22 @@
i2c:
- id: i2c_mpu6050
scl: 5
sda: 4
sensor:
- platform: mpu6050
address: 0x68
accel_x:
name: MPU6050 Accel X
accel_y:
name: MPU6050 Accel Y
accel_z:
name: MPU6050 Accel z
gyro_x:
name: MPU6050 Gyro X
gyro_y:
name: MPU6050 Gyro Y
gyro_z:
name: MPU6050 Gyro z
temperature:
name: MPU6050 Temperature

Some files were not shown because too many files have changed in this diff Show more