Compare commits

...

35 Commits

Author SHA1 Message Date
Pawel
7511e98c3e Merge pull request #45 from boneIO-eu/main
Fix input24
2026-01-30 21:34:18 +01:00
pszafer
fa915bd64a Rename boneio-input24_gen2-v0_01.yaml to boneio-input24_gen2-v0_1.yaml 2026-01-30 21:26:49 +01:00
pszafer
21891245d2 input24 fixes 2026-01-30 21:26:19 +01:00
Pawel
d1adc016b9 Merge pull request #44 from boneIO-eu/main
Add boneIO input24 gen2
2026-01-30 21:20:04 +01:00
pszafer
d954fcffeb Add boneIO input24 gen2 2026-01-30 21:19:33 +01:00
Pawel
f6bc51eb58 Merge pull request #43 from boneIO-eu/main
Add copy for backward compatibility (GitHub raw doesn't follow symlinks)
2026-01-26 14:43:22 +01:00
pszafer
0774915d3b Add copy for backward compatibility (GitHub raw doesn't follow symlinks) 2026-01-26 14:42:52 +01:00
pszafer
8f1c3b199a fix 8x10A 2026-01-26 14:39:58 +01:00
Pawel
cf174caa67 Merge pull request #42 from boneIO-eu/main
Fix 8x10A yaml link
2026-01-26 14:38:58 +01:00
pszafer
ef8bc33eb5 Add symlink for backward compatibility 2026-01-26 14:37:20 +01:00
pszafer
fbbd0802e0 rename packages to packages-v1.7.2 2026-01-26 14:34:29 +01:00
pszafer
07d5b661c2 fix building fw 2026-01-26 08:44:11 +01:00
Pawel
ce48301993 Merge pull request #40 from boneIO-eu/main
update 8x10A on_press action
2025-12-04 20:59:28 +01:00
Pawel
fc2ef87d0b Merge pull request #39 from boneIO-eu/main
Update 8x10A
2025-11-30 11:12:03 +01:00
Pawel
0b6d9dc1b9 Merge pull request #38 from boneIO-eu/main
Update for 8x10A
2025-11-30 11:05:51 +01:00
Pawel
e792df95b0 Merge pull request #34 from boneIO-eu/main
add framework esp-idf as default for boneio yaml's
2025-09-01 07:49:35 +03:00
Pawel
1d1ecbe22b Merge pull request #33 from boneIO-eu/main
Update LAN component
2025-07-29 08:20:01 +02:00
Pawel
5ddb9c45d0 Merge pull request #32 from boneIO-eu/main
update to latest release
2025-07-28 20:13:07 +02:00
Pawel
a3710a3aa0 Merge pull request #31 from boneIO-eu/main
Esphome 2025.7
2025-07-28 19:55:09 +02:00
Pawel
98697de0cb Merge pull request #28 from boneIO-eu/main
Cover without off on action and multiclick to rgbw dimmer
2024-12-04 09:42:06 +01:00
Pawel
2981b34d1f Merge pull request #27 from boneIO-eu/main
move from single output file to multiple output files
2024-10-29 11:57:10 +01:00
Pawel
71a4b96bb2 Merge pull request #26 from boneIO-eu/main
Add multiclick to dimmer
2024-10-25 09:36:25 +02:00
Pawel
7a33b7b17e Merge pull request #25 from boneIO-eu/main
Fix 24x16 and move Dimmer output to external yaml
2024-10-25 09:20:27 +02:00
Pawel
93cb173520 Merge pull request #24 from boneIO-eu/main
Add testing new UI
2024-10-23 13:20:41 +02:00
Pawel
7f2a1c9b10 Merge pull request #23 from boneIO-eu/main
Add testing new UI
2024-10-23 12:51:20 +02:00
Pawel
b378eb883f Merge pull request #22 from boneIO-eu/main
add reboot_timeout: 0s
2024-10-23 12:27:46 +02:00
Pawel
a25b0f46ac Merge pull request #21 from boneIO-eu/main
fix v0.4
2024-10-07 14:41:01 +02:00
Pawel
7afdc3d6f0 Merge pull request #20 from boneIO-eu/main
fix ina219 devices
2024-10-07 12:21:29 +02:00
Pawel
8b5366356f Merge pull request #19 from boneIO-eu/main
add v1.3.0 ref
2024-10-07 12:19:51 +02:00
Pawel
6ef73e9bfa Merge pull request #18 from boneIO-eu/main
merge main to latest
2024-10-06 17:23:35 +02:00
Pawel
37f1f57b16 Merge pull request #15 from boneIO-eu/main
Compability fix with Esphome 2024.6
2024-06-24 20:29:42 +02:00
Pawel
28e2d08829 Merge pull request #14 from boneIO-eu/main
Add Mosfet and fix CCT
2024-06-21 11:23:02 +02:00
Pawel
d6fcbca9f0 Merge pull request #13 from boneIO-eu/main
change to only esp as serial prefix
2024-05-27 21:32:08 +02:00
Pawel
ae47f019b2 Merge pull request #12 from boneIO-eu/main
add serial_prefix to config
2024-05-27 20:33:18 +02:00
Pawel
0a70b4a076 Merge pull request #11 from boneIO-eu/main
v1.0.15
2024-05-23 20:32:19 +02:00
35 changed files with 1053 additions and 133 deletions

View File

@@ -11,78 +11,42 @@ on:
required: true
default: '2026.1.2'
env:
ESPHOME_VERSION: "2024.12.4"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- yaml_file: boneio-dimmer_gen2_2rgbw-v0_1.yaml
chip_family: ESP32-S3
# Testing with single firmware first
- yaml_file: boneio-dimmer_gen2_8ch-v0_1.yaml
chip_family: ESP32-S3
- yaml_file: boneio-32x10_lights_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-32x10_switches_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-24x16_switches_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-cover_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-cover_mix_lights_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-cover_mix_switches_v0_7.yaml
chip_family: ESP32
- yaml_file: boneio-8x10A_gen2_lights-v0_1.yaml
chip_family: ESP32-S3
- yaml_file: boneio-mosfet48_lights_v0_7.yaml
chip_family: ESP32
# Uncomment below after testing:
# - yaml_file: boneio-dimmer_gen2_2rgbw-v0_1.yaml
# - yaml_file: boneio-32x10_lights_v0_7.yaml
# - yaml_file: boneio-32x10_switches_v0_7.yaml
# - yaml_file: boneio-24x16_switches_v0_7.yaml
# - yaml_file: boneio-cover_v0_7.yaml
# - yaml_file: boneio-cover_mix_lights_v0_7.yaml
# - yaml_file: boneio-cover_mix_switches_v0_7.yaml
# - yaml_file: boneio-8x10A_gen2_lights-v0_1.yaml
# - yaml_file: boneio-mosfet48_lights_v0_7.yaml
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install ESPHome
run: pip install esphome==${{ env.ESPHOME_VERSION }}
- name: Build firmware
run: esphome compile ${{ matrix.yaml_file }}
- name: Get firmware name from YAML
id: get_name
run: |
NAME=$(grep -m1 'name:' ${{ matrix.yaml_file }} | sed 's/.*name:\s*//' | tr -d ' ')
echo "firmware_name=$NAME" >> $GITHUB_OUTPUT
echo "chip_family=${{ matrix.chip_family }}" >> $GITHUB_OUTPUT
- name: Copy firmware to output
run: |
mkdir -p output
FIRMWARE_NAME="${{ steps.get_name.outputs.firmware_name }}"
cp .esphome/build/${FIRMWARE_NAME}/.pioenvs/${FIRMWARE_NAME}/firmware.factory.bin output/${FIRMWARE_NAME}.bin
uses: esphome/build-action@v4
id: esphome-build
with:
yaml-file: ${{ matrix.yaml_file }}
version: latest
complete-manifest: true
- name: Upload firmware artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ steps.get_name.outputs.firmware_name }}
path: output/*.bin
- name: Upload chip family info
run: echo "${{ matrix.chip_family }}" > output/${{ steps.get_name.outputs.firmware_name }}.chip
- name: Upload chip info artifact
uses: actions/upload-artifact@v4
with:
name: chip-${{ steps.get_name.outputs.firmware_name }}
path: output/*.chip
name: firmware-${{ steps.esphome-build.outputs.original-name }}
path: ${{ steps.esphome-build.outputs.name }}
deploy:
needs: build
@@ -93,9 +57,6 @@ jobs:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download firmware artifacts
uses: actions/download-artifact@v4
with:
@@ -103,13 +64,6 @@ jobs:
pattern: firmware-*
merge-multiple: true
- name: Download chip info artifacts
uses: actions/download-artifact@v4
with:
path: chip-info
pattern: chip-*
merge-multiple: true
- name: Get version
id: version
run: |
@@ -122,38 +76,14 @@ jobs:
- name: Prepare GitHub Pages content
run: |
mkdir -p gh-pages/firmware
cp artifacts/*.bin gh-pages/firmware/
# Generate manifest JSON files for ESP Web Tools
for bin in gh-pages/firmware/*.bin; do
FIRMWARE_NAME=$(basename "$bin" .bin)
CHIP_FAMILY="ESP32"
if [ -f "chip-info/${FIRMWARE_NAME}.chip" ]; then
CHIP_FAMILY=$(cat "chip-info/${FIRMWARE_NAME}.chip")
elif [[ "$FIRMWARE_NAME" == *"gen2"* ]]; then
CHIP_FAMILY="ESP32-S3"
fi
cat > gh-pages/${FIRMWARE_NAME}.json << EOF
{
"name": "boneIO ESPHome",
"version": "${{ steps.version.outputs.version }}",
"home_assistant_domain": "esphome",
"funding_url": "https://esphome.io/guides/supporters.html",
"new_install_prompt_erase": false,
"builds": [
{
"chipFamily": "${CHIP_FAMILY}",
"parts": [
{
"path": "firmware/${FIRMWARE_NAME}.bin",
"offset": 0
}
]
}
]
}
EOF
# esphome/build-action outputs: name/, name/manifest.json, name/*.bin
for dir in artifacts/*/; do
NAME=$(basename "$dir")
# Copy firmware binary
cp "$dir"*.bin gh-pages/firmware/
# Copy manifest and rename to firmware name
cp "$dir"manifest.json gh-pages/${NAME}.json
done
# Create version file
@@ -168,8 +98,8 @@ jobs:
<h1>boneIO ESPHome Firmware</h1>
<ul>
EOF
for bin in gh-pages/firmware/*.bin; do
NAME=$(basename "$bin" .bin)
for json in gh-pages/*.json; do
NAME=$(basename "$json" .json)
echo "<li><a href=\"${NAME}.json\">${NAME}</a></li>" >> gh-pages/index.html
done
cat >> gh-pages/index.html << 'EOF'
@@ -190,5 +120,5 @@ jobs:
with:
tag_name: v${{ steps.version.outputs.version }}
name: Firmware v${{ steps.version.outputs.version }}
files: artifacts/*.bin
files: gh-pages/firmware/*.bin
generate_release_notes: true

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -35,7 +35,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
'devices_v0_4/display.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -40,7 +40,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

306
boneio-8x10A_gen2-v0_1.yaml Normal file
View File

@@ -0,0 +1,306 @@
substitutions:
name: boneio-8x10a-gen2-01
friendly_name: 'boneIO ESP 8x10A Gen2'
serial_prefix: 'esp8' #Don't change it.
firmware_manifest: 'https://boneio.eu/fwesp/boneio-8x10a-gen2-01.json'
esphome:
name: '${name}'
friendly_name: '${friendly_name}'
name_add_mac_suffix: true
project:
name: boneio.8x10a-gen2
version: '0.1'
on_boot:
priority: -100
then:
- delay: 5s
- if:
condition:
lambda: 'return id(serial_no) != nullptr;'
then:
- component.update: serial_no
- logger.log: "Serial No updated on boot"
else:
- logger.log: "Serial No component not found"
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
ethernet:
id: eth
type: W5500
clk_pin: GPIO13
mosi_pin: GPIO39
miso_pin: GPIO38
cs_pin: GPIO12
interrupt_pin: GPIO2
reset_pin: GPIO1
clock_speed: 25MHz
i2c:
sda: GPIO10
scl: GPIO11
scan: True
frequency: 400kHz
output:
- platform: gpio
pin: GPIO18
inverted: false
id: out_01
- platform: gpio
pin: GPIO17
inverted: false
id: out_02
- platform: gpio
pin: GPIO16
inverted: false
id: out_03
- platform: gpio
pin: GPIO15
inverted: false
id: out_04
- platform: gpio
pin: GPIO7
inverted: false
id: out_05
- platform: gpio
pin: GPIO6
inverted: false
id: out_06
- platform: gpio
pin: GPIO5
inverted: false
id: out_07
- platform: gpio
pin: GPIO4
inverted: false
id: out_08
# CAN gpio48 - tx, gpio47 rx, gpio35 stb
# uart:
# id: boneio_uart
# rx_pin: GPIO21
# tx_pin: GPIO14
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 80ms
# uart_id: boneio_uart
# id: boneio_modbus
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]
# boneiopackages:
# url: https://github.com/boneIO-eu/esphome_packages
# ref: main
# refresh: 1min
# files:
# - path: sdm630.yaml
dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-8x10A_gen2_lights-v0_1.yaml@latest
import_full_config: true
pcf8574:
- id: 'pcf_inputs'
address: 0x38
logger:
hardware_uart: UART0
api:
reboot_timeout: 0s
ota:
- platform: esphome
- platform: web_server
web_server:
port: 80
version: 3
local: true
light:
- platform: binary
output: out_01
name: 'OUT 01'
id: light_01
- platform: binary
output: out_02
name: 'OUT 02'
id: light_02
- platform: binary
output: out_03
name: 'OUT 03'
id: light_03
- platform: binary
output: out_04
name: 'OUT 04'
id: light_04
- platform: binary
output: out_05
name: 'OUT 05'
id: light_05
- platform: binary
output: out_06
name: 'OUT 06'
id: light_06
- platform: binary
output: out_07
name: 'OUT 07'
id: light_07
- platform: binary
output: out_08
name: 'OUT 08'
id: light_08
debug:
update_interval: 15s
sensor:
- platform: lm75b
id: boneIO_temp
name: 'Temperature'
update_interval: 30s
entity_category: diagnostic
on_value_range:
- above: 70.0
then:
- switch.turn_on: buzzer
- below: 70.0
then:
- switch.turn_off: buzzer
switch:
- platform: gpio
id: buzzer
name: 'Buzzer'
pin:
number: GPIO9
mode:
output: true
inverted: false
- platform: gpio
id: can_bus_switch
name: 'CAN Bus Switch'
pin:
number: GPIO35
mode:
output: true
inverted: false
binary_sensor:
- platform: gpio
name: 'IN_01'
id: in_01
pin:
pcf8574: pcf_inputs
number: 0
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_01
- platform: gpio
name: 'IN_02'
id: in_02
pin:
pcf8574: pcf_inputs
number: 1
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_02
- platform: gpio
name: 'IN_03'
id: in_03
pin:
pcf8574: pcf_inputs
number: 2
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_03
- platform: gpio
name: 'IN_04'
id: in_04
pin:
pcf8574: pcf_inputs
number: 3
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_04
- platform: gpio
name: 'IN_05'
id: in_05
pin:
pcf8574: pcf_inputs
number: 4
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_05
- platform: gpio
name: 'IN_06'
id: in_06
pin:
pcf8574: pcf_inputs
number: 5
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_06
- platform: gpio
name: 'IN_07'
id: in_07
pin:
pcf8574: pcf_inputs
number: 6
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_07
- platform: gpio
name: 'IN_08'
id: in_08
pin:
pcf8574: pcf_inputs
number: 7
mode:
input: true
inverted: true
on_press:
then:
- light.toggle: light_08

View File

@@ -98,7 +98,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]
@@ -110,7 +110,7 @@ packages:
# - path: sdm630.yaml
dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-8x10A_gen2-v0_1.yaml@latest
package_import_url: github://boneIO-eu/esphome/boneio-8x10A_gen2_lights-v0_1.yaml@latest
import_full_config: true
pcf8574:

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -23,7 +23,7 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files:
[
'devices/serial_no.yaml',

View File

@@ -23,7 +23,7 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files:
[
'devices/serial_no.yaml',

View File

@@ -23,7 +23,7 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files:
[
'devices/serial_no.yaml',

View File

@@ -96,7 +96,7 @@ modbus:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
# 'devices/dimmer_i2c.yaml',

View File

@@ -106,7 +106,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]

View File

@@ -106,7 +106,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]

View File

@@ -110,7 +110,7 @@ modbus:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
# 'devices/dimmer_i2c.yaml',

View File

@@ -1 +0,0 @@
boneio-dimmer_gen2_8ch-v0_1.yaml

View File

@@ -0,0 +1,314 @@
substitutions:
name: boneio-dr-gen2-8ch-01
friendly_name: 'BoneIO Dimmer Gen2'
serial_prefix: 'dim2' #Don't change it.
firmware_manifest: 'https://boneio.eu/fwesp/boneio-dr-gen2-8ch-01.json'
esphome:
name: '${name}'
friendly_name: '${friendly_name}'
name_add_mac_suffix: true
project:
name: boneio.dimmer-led-gen2
version: '0.1'
on_boot:
priority: -100
then:
- delay: 5s
- if:
condition:
lambda: 'return id(serial_no) != nullptr;'
then:
- component.update: serial_no
- logger.log: "Serial No updated on boot"
else:
- logger.log: "Serial No component not found"
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
ethernet:
id: eth
type: W5500
clk_pin: GPIO13
mosi_pin: GPIO39
miso_pin: GPIO38
cs_pin: GPIO12
interrupt_pin: GPIO2
reset_pin: GPIO1
clock_speed: 25MHz
i2c:
sda: GPIO10
scl: GPIO11
scan: True
frequency: 400kHz
output:
- platform: ledc
pin: GPIO18
frequency: 1000Hz
inverted: false
id: chl01
- platform: ledc
pin: GPIO17
frequency: 1000Hz
inverted: false
id: chl02
- platform: ledc
pin: GPIO16
frequency: 1000Hz
inverted: false
id: chl03
- platform: ledc
pin: GPIO15
frequency: 1000Hz
inverted: false
id: chl04
- platform: ledc
pin: GPIO7
frequency: 1000Hz
inverted: false
id: chr01
- platform: ledc
pin: GPIO6
frequency: 1000Hz
inverted: false
id: chr02
- platform: ledc
pin: GPIO5
frequency: 1000Hz
inverted: false
id: chr03
- platform: ledc
pin: GPIO4
frequency: 1000Hz
inverted: false
id: chr04
# CAN gpio48 - tx, gpio47 rx, gpio35 stb
# uart:
# id: boneio_uart
# rx_pin: GPIO21
# tx_pin: GPIO14
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 80ms
# uart_id: boneio_uart
# id: boneio_modbus
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]
# boneiopackages:
# url: https://github.com/boneIO-eu/esphome_packages
# ref: main
# refresh: 1min
# files:
# - path: sdm630.yaml
dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-dimmer_gen2_8ch-v0_1.yaml@main
import_full_config: true
pcf8574:
- id: 'pcf_inputs'
address: 0x38
logger:
hardware_uart: UART0
api:
reboot_timeout: 0s
ota:
- platform: esphome
- platform: web_server
web_server:
port: 80
version: 3
local: true
light:
- platform: monochromatic
output: chl01
name: 'CHL 01'
id: chl_01
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chl02
name: 'CHL 02'
id: chl_02
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chl03
name: 'CHL 03'
id: chl_03
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chl04
name: 'CHL 04'
id: chl_04
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chr01
name: 'CHR 01'
id: chr_01
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chr02
name: 'CHR 02'
id: chr_02
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chr03
name: 'CHR 03'
id: chr_03
default_transition_length: 2s
gamma_correct: 0
- platform: monochromatic
output: chr04
name: 'CHR 04'
id: chr_04
default_transition_length: 2s
gamma_correct: 0
debug:
update_interval: 15s
sensor:
- platform: debug
free:
name: "Heap Free"
block:
name: "Heap Max Block"
loop_time:
name: "Loop Time"
- platform: lm75b
id: boneIO_temp
name: 'Temperature'
update_interval: 30s
entity_category: diagnostic
on_value_range:
- above: 70.0
then:
- switch.turn_on: buzzer
- below: 70.0
then:
- switch.turn_off: buzzer
switch:
- platform: gpio
id: buzzer
name: 'Buzzer'
pin:
number: GPIO9
mode:
output: true
inverted: false
- platform: gpio
id: can_bus_switch
name: 'CAN Bus Switch'
pin:
number: GPIO35
mode:
output: true
inverted: false
binary_sensor:
- platform: gpio
name: 'IN_01'
id: in_01
pin:
pcf8574: pcf_inputs
number: 0
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_02'
id: in_02
pin:
pcf8574: pcf_inputs
number: 1
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_03'
id: in_03
pin:
pcf8574: pcf_inputs
number: 2
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_04'
id: in_04
pin:
pcf8574: pcf_inputs
number: 3
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_05'
id: in_05
pin:
pcf8574: pcf_inputs
number: 4
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_06'
id: in_06
pin:
pcf8574: pcf_inputs
number: 5
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_07'
id: in_07
pin:
pcf8574: pcf_inputs
number: 6
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_08'
id: in_08
pin:
pcf8574: pcf_inputs
number: 7
mode:
input: true
inverted: true

View File

@@ -106,7 +106,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]

View File

@@ -0,0 +1,370 @@
substitutions:
name: boneio-input24-gen2-01
friendly_name: 'boneIO ESP Input24 Gen2'
serial_prefix: 'esp24' #Don't change it.
firmware_manifest: 'https://boneio.eu/fwesp/boneio-input24-gen2-01.json'
esphome:
name: '${name}'
friendly_name: '${friendly_name}'
name_add_mac_suffix: true
project:
name: boneio.input24-gen2
version: '0.1'
on_boot:
priority: -100
then:
- delay: 5s
- if:
condition:
lambda: 'return id(serial_no) != nullptr;'
then:
- component.update: serial_no
- logger.log: "Serial No updated on boot"
else:
- logger.log: "Serial No component not found"
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
ethernet:
id: eth
type: W5500
clk_pin: GPIO13
mosi_pin: GPIO39
miso_pin: GPIO38
cs_pin: GPIO12
interrupt_pin: GPIO2
reset_pin: GPIO1
clock_speed: 25MHz
i2c:
sda: GPIO10
scl: GPIO11
scan: True
frequency: 400kHz
# CAN gpio48 - tx, gpio47 rx, gpio35 stb
# uart:
# id: boneio_uart
# rx_pin: GPIO21
# tx_pin: GPIO14
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 80ms
# uart_id: boneio_uart
# id: boneio_modbus
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]
# boneiopackages:
# url: https://github.com/boneIO-eu/esphome_packages
# ref: main
# refresh: 1min
# files:
# - path: sdm630.yaml
dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-input24_gen2-v0_1.yaml.yaml@latest
import_full_config: true
pcf8574:
- id: pcf_inputs_1_to_8
address: 0x38
- id: pcf_inputs_9_to_24
address: 0x20
pcf8575: true
logger:
hardware_uart: UART0
api:
reboot_timeout: 0s
ota:
- platform: esphome
- platform: web_server
web_server:
port: 80
version: 3
local: true
sensor:
- platform: lm75b
id: boneIO_temp
name: 'Temperature'
update_interval: 30s
entity_category: diagnostic
on_value_range:
- above: 70.0
then:
- switch.turn_on: buzzer
- below: 70.0
then:
- switch.turn_off: buzzer
switch:
- platform: gpio
id: buzzer
name: 'Buzzer'
pin:
number: GPIO9
mode:
output: true
inverted: false
- platform: gpio
id: can_bus_switch
name: 'CAN Bus Switch'
pin:
number: GPIO35
mode:
output: true
inverted: false
binary_sensor:
- platform: gpio
name: 'IN_01'
id: in_01
pin:
pcf8574: pcf_inputs_1_to_8
number: 0
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_02'
id: in_02
pin:
pcf8574: pcf_inputs_1_to_8
number: 1
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_03'
id: in_03
pin:
pcf8574: pcf_inputs_1_to_8
number: 2
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_04'
id: in_04
pin:
pcf8574: pcf_inputs_1_to_8
number: 3
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_05'
id: in_05
pin:
pcf8574: pcf_inputs_1_to_8
number: 4
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_06'
id: in_06
pin:
pcf8574: pcf_inputs_1_to_8
number: 5
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_07'
id: in_07
pin:
pcf8574: pcf_inputs_1_to_8
number: 6
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_08'
id: in_08
pin:
pcf8574: pcf_inputs_1_to_8
number: 7
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_09'
id: in_09
pin:
pcf8574: pcf_inputs_9_to_24
number: 7
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_10'
id: in_10
pin:
pcf8574: pcf_inputs_9_to_24
number: 6
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_11'
id: in_11
pin:
pcf8574: pcf_inputs_9_to_24
number: 5
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_12'
id: in_12
pin:
pcf8574: pcf_inputs_9_to_24
number: 4
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_13'
id: in_13
pin:
pcf8574: pcf_inputs_9_to_24
number: 3
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_14'
id: in_14
pin:
pcf8574: pcf_inputs_9_to_24
number: 2
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_15'
id: in_15
pin:
pcf8574: pcf_inputs_9_to_24
number: 1
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_16'
id: in_16
pin:
pcf8574: pcf_inputs_9_to_24
number: 0
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_17'
id: in_17
pin:
pcf8574: pcf_inputs_9_to_24
number: 15
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_18'
id: in_18
pin:
pcf8574: pcf_inputs_9_to_24
number: 14
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_19'
id: in_19
pin:
pcf8574: pcf_inputs_9_to_24
number: 13
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_20'
id: in_20
pin:
pcf8574: pcf_inputs_9_to_24
number: 12
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_21'
id: in_21
pin:
pcf8574: pcf_inputs_9_to_24
number: 11
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_22'
id: in_22
pin:
pcf8574: pcf_inputs_9_to_24
number: 10
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_23'
id: in_23
pin:
pcf8574: pcf_inputs_9_to_24
number: 9
mode:
input: true
inverted: true
- platform: gpio
name: 'IN_24'
id: in_24
pin:
pcf8574: pcf_inputs_9_to_24
number: 8
mode:
input: true
inverted: true

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -34,7 +34,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -32,9 +32,10 @@ exclude_files = [
]
include_files = [
"boneio-input24_gen2-v0_01.yaml",
# "boneio-8x10A_gen2_lights-v0_1.yaml",
"boneio-dimmer_gen2_2rgbw-v0_1.yaml",
"boneio-dimmer_gen2_8ch-v0_1"
# "boneio-dimmer_gen2_2rgbw-v0_1.yaml",
# "boneio-dimmer_gen2_8ch-v0_1"
]

View File

@@ -30,7 +30,7 @@ dashboard_import:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/buzzer.yaml',
'devices/serial_no.yaml',

View File

@@ -71,7 +71,7 @@ modbus:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]

View File

@@ -76,7 +76,7 @@ gp8403:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml'
]

View File

@@ -71,7 +71,7 @@ ld2412:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
]

View File

@@ -97,7 +97,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [
'devices/serial_no.yaml',
# 'devices/dimmer_i2c.yaml',

View File

@@ -110,7 +110,7 @@ output:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.7.1
ref: packages-v1.7.2
files: [devices/serial_no.yaml]
dashboard_import: