Compare commits

...

7 Commits

Author SHA1 Message Date
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
5 changed files with 62 additions and 15 deletions

View File

@@ -20,8 +20,13 @@ 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.9 ref: v1.0.14
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml'] files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet: ethernet:
id: eth id: eth
@@ -33,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.9 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@v1.0.14
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -57,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

View File

@@ -20,8 +20,13 @@ 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.9 ref: v1.0.14
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml'] files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet: ethernet:
id: eth id: eth
@@ -33,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.9 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@v1.0.14
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -57,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

View File

@@ -20,8 +20,13 @@ 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.9 ref: v1.0.14
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml'] files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet: ethernet:
id: eth id: eth
@@ -33,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.9 package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@v1.0.14
import_full_config: true import_full_config: true
pcf8574: pcf8574:
@@ -57,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

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

@@ -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