Removed PVbrain2 folder

This commit is contained in:
Sleeper85 committed 2026-02-05 17:38:18 +01:00
1 parent 9c664bd5fb
commit a57eef234c
11 files changed
-256

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
# Updated : 2025.07.28
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# Used for the two SX1509 and BME280/BMP280
i2c:
- id: i2c0_bus
sda: GPIO08
scl: GPIO09
frequency: 50kHz
-8
View File
@@ -1,8 +0,0 @@
# Updated : 2025.07.28
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
one_wire:
- platform: gpio
id: one_wire_hub
pin: 47
-10
View File
@@ -1,10 +0,0 @@
# Updated : 2025.07.28
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# Used for the MCP2515 (CANBUS)
spi:
- id: spi1_bus
mosi_pin: 11
miso_pin: 12
clk_pin: 13
-20
View File
@@ -1,20 +0,0 @@
# Updated : 2025.07.28
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
sx1509:
- id: sx1509_hub0
address: 0x3E
i2c_id: i2c0_bus
- id: sx1509_hub1
address: 0x3F
i2c_id: i2c0_bus
# - id: sx1509_hub2
# address: 0x70
# i2c_id: i2c0_bus
# - id: sx1509_hub3
# address: 0x71
# i2c_id: i2c0_bus
@@ -1,30 +0,0 @@
# Updated : 2024.09.30
# Version : 1.0.2
# GitHub : https://github.com/SeByDocKy/pvbrain2
sensor:
- platform: bme280_i2c
temperature:
name: ${name}_${environnemental_name}_temperature
accuracy_decimals: 1
oversampling: 16x
id: ${environnemental_name}_temperature
pressure:
name: ${name}_${environnemental_name}_pressure
accuracy_decimals: 1
id: ${environnemental_name}_pressure
humidity:
name: ${name}_${environnemental_name}_humidity
accuracy_decimals: 1
id: ${environnemental_name}_humidity
address: ${environnemental_address}
update_interval: ${environnemental_update_interval}
i2c_id: ${environnemental_i2c_bus}
# https://esphome.io/components/sensor/absolute_humidity.html?highlight=absolute_humidity
- platform: absolute_humidity
name: ${name}_${environnemental_name}_humidity_absolue
id: ${environnemental_name}_humidity_absolue
equation: Wobus #Tetens #Buck
temperature: ${environnemental_name}_temperature
humidity: ${environnemental_name}_humidity
@@ -1,18 +0,0 @@
# Updated : 2024.09.30
# Version : 1.0.2
# GitHub : https://github.com/SeByDocKy/pvbrain2
sensor:
- platform: bmp280
temperature:
name: ${name}_${environnemental_name}_temperature
accuracy_decimals: 1
oversampling: 16x
id: ${environnemental_name}_temperature
pressure:
name: ${name}_${environnemental_name}_pressure
accuracy_decimals: 1
id: ${environnemental_name}_pressure
address: ${environnemental_address}
update_interval: ${environnemental_update_interval}
i2c_id: ${environnemental_i2c_bus}
@@ -1,15 +0,0 @@
# Updated : 2024.09.30
# Version : 1.0.2
# GitHub : https://github.com/SeByDocKy/pvbrain2
sensor:
- platform: dallas_temp
name: ${name}_${environnemental_name}
id: ${environnemental_name}
one_wire_id: one_wire_hub
address: ${environnemental_address}
update_interval: ${environnemental_update_interval}
filters:
- filter_out: 85
- filter_out: 128
- filter_out: NAN
@@ -1,9 +0,0 @@
light:
- platform: fastled_clockless
name: ${name}_${light_name}
id: ${light_name}
chipset: WS2812B
pin: GPIO14
num_leds: ${light_num_leds}
rgb_order: ${light_order}
@@ -1,43 +0,0 @@
- random:
- random:
name: random_slow
transition_length: 30s
update_interval: 30s
- random:
name: random_fast
transition_length: 2s
update_interval: 1s
- pulse:
- pulse:
name: pulse_fast
transition_length: 0.5s
update_interval: 0.5s
min_brightness: 0%
max_brightness: 100%
- pulse:
name: pulse_slow
# transition_length: 1s # defaults to 1s
update_interval: 0.5s
- strobe:
- strobe:
name: strobe_custom
colors:
- state: true
brightness: 100%
red: 100%
green: 90%
blue: 0%
duration: 500ms
- state: false
duration: 250ms
- state: true
brightness: 100%
red: 0%
green: 100%
blue: 0%
duration: 500ms
- flicker:
- flicker:
name: flicker_custom
alpha: 95%
intensity: 1.5%
@@ -1,36 +0,0 @@
- strobe:
name: blink_slow
colors:
- state: true
duration: 1s
- state: false
duration: 1s
- strobe:
name: blink_fast
colors:
- state: true
duration: 300ms
- state: false
duration: 300ms
- state: true
duration: 300ms
- state: false
duration: 1s
- strobe:
name: blink_very_fast
colors:
- state: true
duration: 100ms
- state: false
duration: 100ms
- state: true
duration: 100ms
- state: false
duration: 100ms
- state: true
duration: 100ms
- state: false
duration: 1s
@@ -1,57 +0,0 @@
# https://esphome.io/components/rtttl
rtttl:
output: rtttl_out
id: my_rtttl
gain: 60%
output:
# https://esphome.io/components/output/ledc
- platform: ledc
pin: GPIO4 # est obligatoirement un pin physique
id: rtttl_out
channel: 0
frequency: "100Hz"
button:
## Rtttl Player : https://eddmann.com/nokia-composer-web/
- platform: template
name: ${name}_rtttl_masterofpuppets
on_press:
then:
- rtttl.play: 'MasterOf:d=4,o=5,b=112:16e,16f,16b,16e,16f,16c6,16e,16f,16c#6,16e,16f,16c6,16e,16f,16b,16b,16e,16f,16b,16e,16f,16c6,16f,16e,16d6,16c#6,16e,16d6,16c#6,16e,16d6,16c#6,16d6,16c#6,16e,16d6,16c#6,16e,16d6,16c#6,8e'
- platform: template
name: ${name}_rtttl_supermario
on_press:
then:
- rtttl.play: 'Super Mario:d=4,o=5,b=100:16e6,16e6,32p,8e6,16c6,8e6,8g6,8p,8g,8p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,16p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16c7,16p,16c7,16c7,p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16d#6,8p,16d6,8p,16c6'
- platform: template
name: ${name}_rtttl_indianajones
on_press:
then:
- rtttl.play: 'Indiana Jones:d=4,o=5,b=250:e,8p,8f,8g,8p,1c6,8p.,d,8p,8e,1f,p.,g,8p,8a,8b,8p,1f6,p,a,8p,8b,2c6,2d6,2e6,e,8p,8f,8g,8p,1c6,p,d6,8p,8e6,1f.6,g,8p,8g,e.6,8p,d6,8p,8g,e.6,8p,d6,8p,8g,f.6,8p,e6,8p,8d6,2c6'
- platform: template
name: ${name}_rtttl_zelda
on_press:
then:
- rtttl.play: 'Zelda:d=16,o=5,b=200:2a#,2f,4p,8a#,8c6,8d6,8d#6,2f6,2p,4f6,4f6,8f#6,8g#6,2a#6,2p,4a#6,8a#6,8p,8g#6,8f#6,4g#6,8f#6,2f6,2p,2f6,4d#6,8d#6,8f6,2f#6,2p,4f6,4d#6,4c#6,8c#6,8d#6,2f6,2p,4d#6,4c#6,4c6,8c6,8d6,2e6,2p,2g6,1f6'
- platform: template
name: ${name}_rtttl_bip_bip
on_press:
then:
- rtttl.play: 'bipbip:d=8,o=5,b=140:16e6,32p,16e6'
- platform: template
name: ${name}_rtttl_siren
on_press:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- platform: template
name: ${name}_rtttl_stop
on_press:
then:
- rtttl.stop