From 24398e5bfd6f8e9a03787d545622130ccf709f3a Mon Sep 17 00:00:00 2001 From: wedr0wycz <98967693+wedr0wycz@users.noreply.github.com> Date: Sun, 18 Aug 2024 00:26:31 +0200 Subject: [PATCH] nowy katalog z konfigami dla wersji 0.4PP --- boneio-32x10_switches_v0_4.yaml | 11 +++++------ devices_v0.4/pcf.yaml | 7 ------- {devices_v0.4 => devices_v0_4}/display.yaml | 0 {devices_v0.4 => devices_v0_4}/i2c.yaml | 0 {devices_v0.4 => devices_v0_4}/ina219.yaml | 0 devices_v0_4/lm75b.yaml | 12 ++++++++++++ devices_v0_4/pcf.yaml | 13 +++++++++++++ devices_v0_4/time.yaml | 3 +++ 8 files changed, 33 insertions(+), 13 deletions(-) delete mode 100644 devices_v0.4/pcf.yaml rename {devices_v0.4 => devices_v0_4}/display.yaml (100%) rename {devices_v0.4 => devices_v0_4}/i2c.yaml (100%) rename {devices_v0.4 => devices_v0_4}/ina219.yaml (100%) create mode 100644 devices_v0_4/lm75b.yaml create mode 100644 devices_v0_4/pcf.yaml create mode 100644 devices_v0_4/time.yaml diff --git a/boneio-32x10_switches_v0_4.yaml b/boneio-32x10_switches_v0_4.yaml index 4d5548e..1a294c5 100644 --- a/boneio-32x10_switches_v0_4.yaml +++ b/boneio-32x10_switches_v0_4.yaml @@ -33,13 +33,12 @@ packages: url: https://github.com/boneIO-eu/esphome ref: v1.1.0 files: [ - 'devices/buzzer.yaml', 'devices/serial_no.yaml', - 'devices_v0_7/display.yaml', - 'devices_v0_7/i2c.yaml', - 'devices_v0_7/ina219.yaml', - 'devices_v0_7/lm75b.yaml', - 'devices_v0_7/pcf.yaml', + 'devices_v0_4/display.yaml', + 'devices_v0_4/i2c.yaml', + 'devices_v0_4/ina219.yaml', + 'devices_v0_4/lm75b.yaml', + 'devices_v0_4/pcf.yaml', 'boards/32x10_output.yaml', # 'devices_v0_7/one_wire.yaml', ] diff --git a/devices_v0.4/pcf.yaml b/devices_v0.4/pcf.yaml deleted file mode 100644 index 1f8fc07..0000000 --- a/devices_v0.4/pcf.yaml +++ /dev/null @@ -1,7 +0,0 @@ -pcf8574: - - id: 'pcf_left' - address: 0x21 - pcf8575: true - - id: 'pcf_right' - address: 0x20 - pcf8575: true diff --git a/devices_v0.4/display.yaml b/devices_v0_4/display.yaml similarity index 100% rename from devices_v0.4/display.yaml rename to devices_v0_4/display.yaml diff --git a/devices_v0.4/i2c.yaml b/devices_v0_4/i2c.yaml similarity index 100% rename from devices_v0.4/i2c.yaml rename to devices_v0_4/i2c.yaml diff --git a/devices_v0.4/ina219.yaml b/devices_v0_4/ina219.yaml similarity index 100% rename from devices_v0.4/ina219.yaml rename to devices_v0_4/ina219.yaml diff --git a/devices_v0_4/lm75b.yaml b/devices_v0_4/lm75b.yaml new file mode 100644 index 0000000..a7151d3 --- /dev/null +++ b/devices_v0_4/lm75b.yaml @@ -0,0 +1,12 @@ +#i2c address: 0x48 output lm75b temp +#LM75B +external_components: + - source: github://boneIO-eu/esphome-LM75@main #Original source and thank you note for BTomala https://github.com/boneIO-eu/esphome-lm75 + components: [lm75] + +sensor: + # Lower board temperature + - platform: lm75 + id: boneIO_temp + name: 'LM75B Temperature' + update_interval: 30s diff --git a/devices_v0_4/pcf.yaml b/devices_v0_4/pcf.yaml new file mode 100644 index 0000000..8463af2 --- /dev/null +++ b/devices_v0_4/pcf.yaml @@ -0,0 +1,13 @@ +pcf8574: + - id: 'pcf_right' + address: 0x20 + pcf8575: true + - id: 'pcf_left' + address: 0x21 + pcf8575: true + - id: 'mcp_inputs_1to16' + address: 0x26 + pcf8575: true + - id: 'mcp_inputs_17to32' + address: 0x27 + pcf8575: true diff --git a/devices_v0_4/time.yaml b/devices_v0_4/time.yaml new file mode 100644 index 0000000..e0371ea --- /dev/null +++ b/devices_v0_4/time.yaml @@ -0,0 +1,3 @@ +time: + - platform: ds1307 + id: ds1307_time \ No newline at end of file