Skip to content

Commit

Permalink
Wip configuration BLE Victron
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannchaudet committed Dec 26, 2023
1 parent 4edb0c8 commit 14d47c1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions device.shed-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ esp32:
logger:
baud_rate: 0 # Disable UART logging

external_components:
- source: github://Fabian-Schmidt/esphome-victron_ble

# Bluetooth hub
esp32_ble_tracker:

victron_ble:
- id: smartshunt
mac_address: !secret shed_controller_smartshunt_mac_address
bindkey: !secret shed_controller_smartshunt_encryption_key

- id: smartsolar
mac_address: !secret shed_controller_smartsolar_mac_address
bindkey: !secret shed_controller_smartsolar_encryption_key

status_led:
#
# Status led
Expand Down Expand Up @@ -89,6 +104,22 @@ sensor:
- !include ./common/sensor.wifi_signal.yaml
- !include ./common/sensor.uptime.yaml

#
# Victron
#
- platform: victron_ble
victron_ble_id: smartshunt
name: "Current"
type: BATTERY_CURRENT
- platform: victron_ble
victron_ble_id: smartsolar
name: "Battery Voltage"
type: BATTERY_VOLTAGE
- platform: victron_ble
victron_ble_id: smartsolar
name: "Battery Current"
type: BATTERY_CURRENT

text_sensor:
#
# Common: ESPHome version
Expand Down

0 comments on commit 14d47c1

Please sign in to comment.