Compare commits

...

14 Commits

Author SHA1 Message Date
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
pszafer
3741466e05 fix fw 2024-05-22 17:03:31 +02:00
pszafer
501155c99e fix ina L power 2024-05-22 16:59:20 +02:00
pszafer
866a2c99ea Add Power measure to INA 2024-05-22 12:47:15 +02:00
pszafer
6b44f23693 fix serial no 2024-05-22 10:25:02 +02:00
pszafer
ac9c9d6ac5 dimmer serial no 2024-05-22 10:00:46 +02:00
pszafer
8733d0f625 add serial number 2024-05-22 09:59:52 +02:00
pszafer
9a5c78334d fix INA to 10A 2024-05-22 09:59:44 +02:00
pszafer
28c60689c6 Dimmer output 2024-05-20 13:10:50 +02:00
pszafer
3ac8e38f75 move dimmer and buzzer to main dimmer file 2024-05-20 09:07:31 +02:00
pszafer
ea52b3d40e fix channel naming 2024-05-19 22:35:02 +02:00
pszafer
f03b078855 fix tag ref 2024-05-19 22:32:51 +02:00
pszafer
f152ce0508 rename ina to ina219 2024-05-19 22:31:33 +02:00
23 changed files with 559 additions and 125 deletions

View File

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +575,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -39,7 +39,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 +571,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +632,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

@@ -23,31 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -57,7 +39,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 +628,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +631,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -39,7 +39,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 +627,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +736,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -39,7 +39,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 +732,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +735,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -39,7 +39,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 +732,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_5-v0_6/display.yaml', 'devices_v0_5-v0_6/display.yaml',
@@ -40,7 +40,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 +838,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

@@ -23,13 +23,13 @@ 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.15
files: [ files: [
'devices/buzzer.yaml', 'devices/buzzer.yaml',
'devices_v0_7/display.yaml', 'devices_v0_7/display.yaml',
@@ -39,7 +39,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 +834,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

@@ -13,17 +13,19 @@ esphome:
esp32: esp32:
board: esp32dev board: esp32dev
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]
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.6 ref: v1.0.15
files: files:
[ [
'devices/dimmer_buzzer.yaml', 'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
'devices/dimmer_lm75.yaml',
'devices/dimmer_outputs.yaml',
] ]
ethernet: ethernet:
@@ -36,7 +38,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.6 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -60,6 +62,13 @@ text_sensor:
ip_address: ip_address:
entity_category: diagnostic entity_category: diagnostic
name: boneio-dimmer IP name: boneio-dimmer IP
- platform: template
name: 'Hostname'
id: hostname
entity_category: diagnostic
lambda: |-
return id(eth).get_use_address();
update_interval: 5min
binary_sensor: binary_sensor:
- platform: gpio - platform: gpio
@@ -123,6 +132,49 @@ binary_sensor:
input: true input: true
inverted: true inverted: true
output:
- platform: ledc
pin: 33
frequency: 1000Hz
inverted: false
id: chl01
- platform: ledc
pin: 32
frequency: 1000Hz
inverted: false
id: chl02
- platform: ledc
pin: 12
frequency: 1000Hz
inverted: false
id: chl03
- platform: ledc
pin: 14
frequency: 1000Hz
inverted: false
id: chl04
- platform: ledc
pin: 13
frequency: 1000Hz
inverted: false
id: chr01
- platform: ledc
pin: 15
frequency: 1000Hz
inverted: false
id: chr02
- platform: ledc
pin: 2
frequency: 1000Hz
inverted: false
id: chr03
- platform: ledc
pin: 17
frequency: 1000Hz
inverted: false
id: chr04
light: light:
- platform: rgbw - platform: rgbw
name: 'RGBW L' name: 'RGBW L'
@@ -140,3 +192,28 @@ light:
white: chr04 white: chr04
default_transition_length: 2s default_transition_length: 2s
gamma_correct: 0 gamma_correct: 0
sensor:
- platform: lm75
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:
pcf8574: pcf_inputs
number: 0
mode:
output: true
inverted: true

View File

@@ -13,17 +13,19 @@ esphome:
esp32: esp32:
board: esp32dev board: esp32dev
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]
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.6 ref: v1.0.15
files: files:
[ [
'devices/dimmer_buzzer.yaml', 'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
'devices/dimmer_lm75.yaml',
'devices/dimmer_outputs.yaml',
] ]
ethernet: ethernet:
@@ -36,7 +38,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.6 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -60,6 +62,13 @@ text_sensor:
ip_address: ip_address:
entity_category: diagnostic entity_category: diagnostic
name: boneio-dimmer IP name: boneio-dimmer IP
- platform: template
name: 'Hostname'
id: hostname
entity_category: diagnostic
lambda: |-
return id(eth).get_use_address();
update_interval: 5min
binary_sensor: binary_sensor:
- platform: gpio - platform: gpio
@@ -123,6 +132,49 @@ binary_sensor:
input: true input: true
inverted: true inverted: true
output:
- platform: ledc
pin: 33
frequency: 1000Hz
inverted: false
id: chl01
- platform: ledc
pin: 32
frequency: 1000Hz
inverted: false
id: chl02
- platform: ledc
pin: 12
frequency: 1000Hz
inverted: false
id: chl03
- platform: ledc
pin: 14
frequency: 1000Hz
inverted: false
id: chl04
- platform: ledc
pin: 13
frequency: 1000Hz
inverted: false
id: chr01
- platform: ledc
pin: 15
frequency: 1000Hz
inverted: false
id: chr02
- platform: ledc
pin: 2
frequency: 1000Hz
inverted: false
id: chr03
- platform: ledc
pin: 17
frequency: 1000Hz
inverted: false
id: chr04
light: light:
- platform: cwww - platform: cwww
name: 'CHL_01_02' name: 'CHL_01_02'
@@ -138,15 +190,40 @@ light:
warm_white_color_temperature: 2000 K warm_white_color_temperature: 2000 K
- platform: cwww - platform: cwww
name: 'CHL_05_06' name: 'CHR_01_02'
cold_white: chl05 cold_white: chl01
warm_white: chl06 warm_white: chl02
cold_white_color_temperature: 6536 K cold_white_color_temperature: 6536 K
warm_white_color_temperature: 2000 K warm_white_color_temperature: 2000 K
- platform: cwww - platform: cwww
name: 'CHL_07_08' name: 'CHR_03_04'
cold_white: chl07 cold_white: chl03
warm_white: chl08 warm_white: chl04
cold_white_color_temperature: 6536 K cold_white_color_temperature: 6536 K
warm_white_color_temperature: 2000 K warm_white_color_temperature: 2000 K
sensor:
- platform: lm75
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:
pcf8574: pcf_inputs
number: 0
mode:
output: true
inverted: true

View File

@@ -13,17 +13,19 @@ esphome:
esp32: esp32:
board: esp32dev board: esp32dev
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]
packages: packages:
internals_packages: internals_packages:
url: https://github.com/boneIO-eu/esphome url: https://github.com/boneIO-eu/esphome
ref: v1.0.6 ref: v1.0.15
files: files:
[ [
'devices/dimmer_buzzer.yaml', 'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml', 'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml', 'devices/dimmer_ina219.yaml',
'devices/dimmer_lm75.yaml',
'devices/dimmer_outputs.yaml',
] ]
ethernet: ethernet:
@@ -36,7 +38,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.6 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@latest
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -60,6 +62,13 @@ text_sensor:
ip_address: ip_address:
entity_category: diagnostic entity_category: diagnostic
name: boneio-dimmer IP name: boneio-dimmer IP
- platform: template
name: 'Hostname'
id: hostname
entity_category: diagnostic
lambda: |-
return id(eth).get_use_address();
update_interval: 5min
binary_sensor: binary_sensor:
- platform: gpio - platform: gpio
@@ -123,6 +132,49 @@ binary_sensor:
input: true input: true
inverted: true inverted: true
output:
- platform: ledc
pin: 33
frequency: 1000Hz
inverted: false
id: chl01
- platform: ledc
pin: 32
frequency: 1000Hz
inverted: false
id: chl02
- platform: ledc
pin: 12
frequency: 1000Hz
inverted: false
id: chl03
- platform: ledc
pin: 14
frequency: 1000Hz
inverted: false
id: chl04
- platform: ledc
pin: 13
frequency: 1000Hz
inverted: false
id: chr01
- platform: ledc
pin: 15
frequency: 1000Hz
inverted: false
id: chr02
- platform: ledc
pin: 2
frequency: 1000Hz
inverted: false
id: chr03
- platform: ledc
pin: 17
frequency: 1000Hz
inverted: false
id: chr04
light: light:
- platform: monochromatic - platform: monochromatic
output: chl01 output: chl01
@@ -173,3 +225,28 @@ light:
id: chr_04 id: chr_04
default_transition_length: 2s default_transition_length: 2s
gamma_correct: 0 gamma_correct: 0
sensor:
- platform: lm75
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:
pcf8574: pcf_inputs
number: 0
mode:
output: true
inverted: true

View File

@@ -21,7 +21,7 @@ firmware_destination = "../website/public/esp/firmware"
def json_pattern(firmware_name): def json_pattern(firmware_name):
return { return {
"name": "ESPHome", "name": "ESPHome",
"version": "2024.3.1", "version": "2024.5.0",
"home_assistant_domain": "esphome", "home_assistant_domain": "esphome",
"funding_url": "https://esphome.io/guides/supporters.html", "funding_url": "https://esphome.io/guides/supporters.html",
"new_install_prompt_erase": False, "new_install_prompt_erase": False,

View File

@@ -1,10 +0,0 @@
switch:
- platform: gpio
id: buzzer
name: 'Buzzer'
pin:
pcf8574: pcf_inputs
number: 0
mode:
output: true
inverted: true

View File

@@ -4,32 +4,34 @@ sensor:
shunt_resistance: 0.005 ohm shunt_resistance: 0.005 ohm
bus_voltage: bus_voltage:
name: 'VDDL Supply' name: 'VDDL Supply'
unit_of_measurement: 'V' entity_category: diagnostic
power:
name: 'VDDL Power'
entity_category: diagnostic entity_category: diagnostic
current: current:
name: 'VDDL Current' name: 'VDDL Current'
unit_of_measurement: 'A'
entity_category: diagnostic entity_category: diagnostic
shunt_voltage: shunt_voltage:
name: 'VDDL Shunt Voltage' name: 'VDDL Shunt Voltage'
entity_category: diagnostic entity_category: diagnostic
max_voltage: 32V max_voltage: 32V
max_current: 3.2A max_current: 10A
update_interval: 5s update_interval: 5s
- platform: ina219 - platform: ina219
address: 0x41 address: 0x41
shunt_resistance: 0.005 ohm shunt_resistance: 0.005 ohm
bus_voltage: bus_voltage:
name: 'VDDR Supply' name: 'VDDR Supply'
unit_of_measurement: 'V' entity_category: diagnostic
power:
name: 'VDDR Power'
entity_category: diagnostic entity_category: diagnostic
current: current:
name: 'VDDR Current' name: 'VDDR Current'
unit_of_measurement: 'A'
entity_category: diagnostic entity_category: diagnostic
shunt_voltage: shunt_voltage:
name: 'VDDR Shunt Voltage' name: 'VDDR Shunt Voltage'
entity_category: diagnostic entity_category: diagnostic
max_voltage: 32V max_voltage: 32V
max_current: 3.2A max_current: 10A
update_interval: 5s update_interval: 5s

View File

@@ -1,19 +0,0 @@
#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:
- platform: lm75
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

View File

@@ -0,0 +1,9 @@
text_sensor:
- platform: template
name: 'Serial No.'
lambda: |-
std::string mac = get_mac_address();
return "dim" + mac.erase(0, mac.length()/2);
icon: mdi:expansion-card-variant
entity_category: diagnostic
update_interval: 10min

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