Compare commits

..

4 Commits

Author SHA1 Message Date
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 56 additions and 11 deletions

View File

@@ -20,8 +20,13 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.0.9
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml']
ref: v1.0.11
files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet:
id: eth
@@ -33,7 +38,7 @@ ethernet:
power_pin: GPIO16
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.11
import_full_config: true
pcf8574:
@@ -57,6 +62,13 @@ text_sensor:
ip_address:
entity_category: diagnostic
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:
- platform: gpio

View File

@@ -20,8 +20,13 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.0.9
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml']
ref: v1.0.11
files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet:
id: eth
@@ -33,7 +38,7 @@ ethernet:
power_pin: GPIO16
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.11
import_full_config: true
pcf8574:
@@ -57,6 +62,13 @@ text_sensor:
ip_address:
entity_category: diagnostic
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:
- platform: gpio

View File

@@ -20,8 +20,13 @@ external_components:
packages:
internals_packages:
url: https://github.com/boneIO-eu/esphome
ref: v1.0.9
files: ['devices/dimmer_i2c.yaml', 'devices/dimmer_ina219.yaml']
ref: v1.0.11
files:
[
'devices/dimmer_serial_no.yaml',
'devices/dimmer_i2c.yaml',
'devices/dimmer_ina219.yaml',
]
ethernet:
id: eth
@@ -33,7 +38,7 @@ ethernet:
power_pin: GPIO16
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.11
import_full_config: true
pcf8574:
@@ -57,6 +62,13 @@ text_sensor:
ip_address:
entity_category: diagnostic
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:
- platform: gpio

View File

@@ -14,7 +14,7 @@ sensor:
name: 'VDDL Shunt Voltage'
entity_category: diagnostic
max_voltage: 32V
max_current: 3.2A
max_current: 10A
update_interval: 5s
- platform: ina219
address: 0x41
@@ -31,5 +31,5 @@ sensor:
name: 'VDDR Shunt Voltage'
entity_category: diagnostic
max_voltage: 32V
max_current: 3.2A
max_current: 10A
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