mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3741466e05 | ||
|
|
501155c99e | ||
|
|
866a2c99ea | ||
|
|
6b44f23693 | ||
|
|
ac9c9d6ac5 | ||
|
|
8733d0f625 | ||
|
|
9a5c78334d |
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
9
devices/dimmer_serial_no.yaml
Normal file
9
devices/dimmer_serial_no.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user