Compare commits

...

3 Commits

Author SHA1 Message Date
pszafer
206a1912f2 add serial_prefix to config 2024-05-27 20:32:25 +02:00
pszafer
8412fb6fe5 Move uart and modbus to main file 2024-05-23 20:11:00 +02:00
pszafer
1befa8554a Switch dashboard import to latest branch 2024-05-22 19:37:04 +02:00
19 changed files with 327 additions and 79 deletions

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-24-sw-06 name: boneio-24-sw-06
friendly_name: 'BoneIO ESP 24x16 Switches' friendly_name: 'BoneIO ESP 24x16 Switches'
serial_prefix: 'esp24' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-24x16_switches_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-24x16_switches_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf_with_mcp.yaml', 'devices_v0_5-v0_6/pcf_with_mcp.yaml',
'boards/24x16_output.yaml', 'boards/24x16_output.yaml',
# 'devices_v0_5-v0_6/one_wire.yaml', # 'devices_v0_5-v0_6/one_wire.yaml',
# 'devices_v0_5-v0_6/uart.yaml',
] ]
logger: logger:
@@ -576,3 +577,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-24-sw-07 name: boneio-24-sw-07
friendly_name: 'BoneIO ESP 24x16 Switches' friendly_name: 'BoneIO ESP 24x16 Switches'
serial_prefix: 'esp24' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-24x16_switches_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-24x16_switches_v0_7.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -39,7 +41,6 @@ packages:
'devices_v0_7/pcf_with_mcp.yaml', 'devices_v0_7/pcf_with_mcp.yaml',
'boards/24x16_output.yaml', 'boards/24x16_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -572,3 +573,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-32-l-06 name: boneio-32-l-06
friendly_name: 'BoneIO ESP 32x10 Lights' friendly_name: 'BoneIO ESP 32x10 Lights'
serial_prefix: 'esp32' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-32x10_lights_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-32x10_lights_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf.yaml', 'devices_v0_5-v0_6/pcf.yaml',
'boards/32x10_output.yaml', 'boards/32x10_output.yaml',
# 'devices_v0_5-v0_6/one_wire.yaml', # 'devices_v0_5-v0_6/one_wire.yaml',
# 'devices_v0_5-v0_6/uart.yaml',
] ]
logger: logger:
@@ -633,3 +634,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-32-l-07 name: boneio-32-l-07
friendly_name: 'BoneIO ESP 32x10 Lights' friendly_name: 'BoneIO ESP 32x10 Lights'
serial_prefix: 'esp32' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,33 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-32x10_lights_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-32x10_lights_v0_7.yaml@latest
import_full_config: true import_full_config: true
modbus:
send_wait_time: 200ms
uart_id: uart_pin14_15
id: mod_bus
modbus_controller:
- id: sofarsolar
address: 0x09
modbus_id: mod_bus
setup_priority: -10
update_interval: 15s
packages: packages:
# extra_boneio_package:
# url: github://boneIO-eu/esphome-packages
# file: sofar-inverter-ktl.yaml
# vars:
# sofar_modbus_id: sofarsolar
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -57,7 +41,6 @@ packages:
'devices_v0_7/pcf.yaml', 'devices_v0_7/pcf.yaml',
'boards/32x10_output.yaml', 'boards/32x10_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -647,3 +630,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-32-sw-06 name: boneio-32-sw-06
friendly_name: 'BoneIO ESP 32x10 Switches' friendly_name: 'BoneIO ESP 32x10 Switches'
serial_prefix: 'esp32' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf.yaml', 'devices_v0_5-v0_6/pcf.yaml',
'boards/32x10_output.yaml', 'boards/32x10_output.yaml',
# 'devices_v0_5-v0_6/one_wire.yaml', # 'devices_v0_5-v0_6/one_wire.yaml',
# 'devices_v0_5-v0_6/uart.yaml',
] ]
logger: logger:
@@ -632,3 +633,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-32-sw-07 name: boneio-32-sw-07
friendly_name: 'BoneIO ESP 32x10 Switches' friendly_name: 'BoneIO ESP 32x10 Switches'
serial_prefix: 'esp32' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-32x10_switches_v0_7.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -39,7 +41,6 @@ packages:
'devices_v0_7/pcf.yaml', 'devices_v0_7/pcf.yaml',
'boards/32x10_output.yaml', 'boards/32x10_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -628,3 +629,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-cm-l-06 name: boneio-cm-l-06
friendly_name: 'BoneIO ESP Cover Mix Lights' friendly_name: 'BoneIO ESP Cover Mix Lights'
serial_prefix: 'espcm' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_lights_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_lights_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf.yaml', 'devices_v0_5-v0_6/pcf.yaml',
'boards/8_covers_16_output.yaml', 'boards/8_covers_16_output.yaml',
# 'devices_v0_5-v0_6/one_wire.yaml', # 'devices_v0_5-v0_6/one_wire.yaml',
# 'devices_v0_5-v0_6/uart.yaml',
] ]
logger: logger:
@@ -737,3 +738,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-cm-l-07 name: boneio-cm-l-07
friendly_name: 'BoneIO ESP Cover Mix Lights' friendly_name: 'BoneIO ESP Cover Mix Lights'
serial_prefix: 'espcm' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_lights_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_lights_v0_7.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -39,7 +41,6 @@ packages:
'devices_v0_7/pcf.yaml', 'devices_v0_7/pcf.yaml',
'boards/8_covers_16_output.yaml', 'boards/8_covers_16_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -733,3 +734,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-cm-sw-06 name: boneio-cm-sw-06
friendly_name: 'BoneIO ESP Cover Mix Switches' friendly_name: 'BoneIO ESP Cover Mix Switches'
serial_prefix: 'espcm' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_switches_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_switches_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf.yaml', 'devices_v0_5-v0_6/pcf.yaml',
'boards/8_covers_16_output.yaml', 'boards/8_covers_16_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -736,3 +737,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-cm-sw-07 name: boneio-cm-sw-07
friendly_name: 'BoneIO ESP Cover Mix Switches' friendly_name: 'BoneIO ESP Cover Mix Switches'
serial_prefix: 'espcm' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_switches_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_mix_switches_v0_7.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -39,7 +41,6 @@ packages:
'devices_v0_7/pcf.yaml', 'devices_v0_7/pcf.yaml',
'boards/8_covers_16_output.yaml', 'boards/8_covers_16_output.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -733,3 +734,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-c-06 name: boneio-c-06
friendly_name: 'BoneIO ESP Cover' friendly_name: 'BoneIO ESP Cover'
serial_prefix: 'espc' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_v0_5-v0_6.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_v0_5-v0_6.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
'devices_v0_5-v0_6/time.yaml', 'devices_v0_5-v0_6/time.yaml',
'devices_v0_5-v0_6/i2c.yaml', 'devices_v0_5-v0_6/i2c.yaml',
@@ -40,7 +42,6 @@ packages:
'devices_v0_5-v0_6/pcf.yaml', 'devices_v0_5-v0_6/pcf.yaml',
'boards/16_cover_pcf.yaml', 'boards/16_cover_pcf.yaml',
# 'devices_v0_5-v0_6/one_wire.yaml', # 'devices_v0_5-v0_6/one_wire.yaml',
# 'devices_v0_5-v0_6/uart.yaml',
] ]
logger: logger:
@@ -839,3 +840,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin3_1
# rx_pin: GPIO3
# tx_pin: GPIO1
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-c-07 name: boneio-c-07
friendly_name: 'BoneIO ESP Cover' friendly_name: 'BoneIO ESP Cover'
serial_prefix: 'espc' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -23,15 +24,16 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-cover_v0_7.yaml@v1.0.5 package_import_url: github://boneIO-eu/esphome/boneio-cover_v0_7.yaml@latest
import_full_config: true import_full_config: true
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.5 ref: v1.0.16
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices/serial_no.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
'devices_v0_7/i2c.yaml', 'devices_v0_7/i2c.yaml',
'devices_v0_7/ina219.yaml', 'devices_v0_7/ina219.yaml',
@@ -39,7 +41,6 @@ packages:
'devices_v0_7/pcf.yaml', 'devices_v0_7/pcf.yaml',
'boards/16_cover_pcf.yaml', 'boards/16_cover_pcf.yaml',
# 'devices_v0_7/one_wire.yaml', # 'devices_v0_7/one_wire.yaml',
# 'devices_v0_7/uart.yaml',
] ]
logger: logger:
@@ -835,3 +836,25 @@ binary_sensor:
mode: mode:
input: true input: true
inverted: true inverted: true
######################
### MODBUS SECTION ###
######################
# UNCOMMENT BELOW TO USE MODBUS
# uart:
# id: uart_pin14_15
# rx_pin: GPIO14
# tx_pin: GPIO15
# baud_rate: 9600
# stop_bits: 1
# modbus:
# send_wait_time: 200ms
# uart_id: uart_pin14_15
# id: boneio_modbus
# modbus_controller:
# - id: YOURDEVICE ID
# address: 0x09
# modbus_id: mod_bus
# setup_priority: -10
# update_interval: 60s

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-dr-rgbw-03 name: boneio-dr-rgbw-03
friendly_name: 'BoneIO Dimmer LED' friendly_name: 'BoneIO Dimmer LED'
serial_prefix: 'dim' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -20,10 +21,10 @@ external_components:
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.14 ref: v1.0.16
files: files:
[ [
'devices/dimmer_serial_no.yaml', 'devices/serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
] ]
@@ -38,7 +39,7 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@v1.0.14 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-dr-4cct-03 name: boneio-dr-4cct-03
friendly_name: 'BoneIO Dimmer LED' friendly_name: 'BoneIO Dimmer LED'
serial_prefix: 'dim' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -20,10 +21,10 @@ external_components:
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.14 ref: v1.0.16
files: files:
[ [
'devices/dimmer_serial_no.yaml', 'devices/serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
] ]
@@ -38,7 +39,7 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@v1.0.14 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:

View File

@@ -1,6 +1,7 @@
substitutions: substitutions:
name: boneio-dr-8ch-03 name: boneio-dr-8ch-03
friendly_name: 'BoneIO Dimmer LED' friendly_name: 'BoneIO Dimmer LED'
serial_prefix: 'dim' #Don't change it.
esphome: esphome:
name: '${name}' name: '${name}'
@@ -20,10 +21,10 @@ external_components:
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.14 ref: v1.0.16
files: files:
[ [
'devices/dimmer_serial_no.yaml', 'devices/serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
] ]
@@ -38,7 +39,7 @@ ethernet:
power_pin: GPIO16 power_pin: GPIO16
dashboard_import: dashboard_import:
package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@v1.0.14 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:

View File

@@ -3,7 +3,7 @@ text_sensor:
name: 'Serial No.' name: 'Serial No.'
lambda: |- lambda: |-
std::string mac = get_mac_address(); std::string mac = get_mac_address();
return "dim" + mac.erase(0, mac.length()/2); return to_string("${serial_prefix}") + mac.erase(0, mac.length()/2);
icon: mdi:expansion-card-variant icon: mdi:expansion-card-variant
entity_category: diagnostic entity_category: diagnostic
update_interval: 10min update_interval: 60min

View File

@@ -1,6 +0,0 @@
uart:
id: uart_pin3_1
rx_pin: GPIO3
tx_pin: GPIO1
baud_rate: 9600
stop_bits: 1

View File

@@ -1,6 +1,5 @@
dallas: dallas:
- pin: GPIO32 - pin: GPIO32
# sensor: # sensor:
# - platform: dallas # - platform: dallas
# address: 0x283c01d607d4df28 # address: 0x283c01d607d4df28

View File

@@ -1,6 +0,0 @@
uart:
id: uart_pin14_15
rx_pin: GPIO14
tx_pin: GPIO15
baud_rate: 9600
stop_bits: 1