Skip to content

Commit

Permalink
Add ESPHome 2024.6.0 compatibility (KinDR007#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roving-Ronin committed Jun 21, 2024
1 parent f4a24e6 commit 9f10485
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All Victron devices providing a ve.direct port.

## Requirements

* [ESPHome 2021.10 or higher](https://github.com/esphome/esphome/releases).
* [ESPHome 2024.6.0 or higher](https://github.com/esphome/esphome/releases).
* Generic ESP32 or ESP8266 board

## Schematics
Expand Down
3 changes: 2 additions & 1 deletion bluesmart-charger-esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ substitutions:

esphome:
name: ${name}
min_version: 2024.6.0

esp32:
board: esp32dev
Expand All @@ -17,7 +18,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 2 additions & 1 deletion bluesmart-charger-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:

Expand Down
4 changes: 4 additions & 0 deletions debug-esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ substitutions:

esphome:
name: ${name}
min_version: 2024.6.0

esp32:
board: wemos_d1_mini32
Expand All @@ -21,7 +22,10 @@ wifi:
password: !secret wifi_password

ota:
platform: esphome

api:

logger:

uart:
Expand Down
3 changes: 3 additions & 0 deletions debug-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -18,6 +19,8 @@ wifi:
password: !secret wifi_password

ota:
platform: esphome

api:

logger:
Expand Down
3 changes: 2 additions & 1 deletion multi-rs-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 2 additions & 1 deletion phoenix-charger-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 2 additions & 1 deletion phoenix-inverter-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 2 additions & 1 deletion smartshunt-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
7 changes: 4 additions & 3 deletions smartsolar-mppt-esp8266-example-advanced.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ substitutions:
external_components_source: github://KinDR007/VictronMPPT-ESPHOME@main
lower_devicename: "victron"
devicename: "SmartSolar_150_35"
config_version: "v2021.05.30"
config_version: "v2024.06.21"
wifi_fast_connect: "false"
accuracy: "2"

Expand All @@ -11,6 +11,7 @@ esphome:
platform: ESP8266
board: d1_mini
# board: nodemcuv2
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -28,18 +29,18 @@ wifi:
password: !secret wifi_password

captive_portal:

logger:
baud_rate: 0
# level: VERY_VERBOSE
esp8266_store_log_strings_in_flash: false

# Enable Home Assistant API
api:
password: "pass"
reboot_timeout: 0s

ota:
password: "pass"
platform: esphome

web_server:
port: 80
Expand Down
3 changes: 2 additions & 1 deletion smartsolar-mppt-esp8266-example-multiple-uarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -18,7 +19,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 2 additions & 1 deletion smartsolar-mppt-esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ esphome:
name: ${name}
platform: ESP8266
board: d1_mini
min_version: 2024.6.0

external_components:
- source: ${external_components_source}
Expand All @@ -16,7 +17,7 @@ wifi:
password: !secret wifi_password

ota:
# api:
platform: esphome

logger:
baud_rate: 0
Expand Down
3 changes: 3 additions & 0 deletions tests/emulator-all-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bluesmart-ip22-0xa332.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bluesmart-ip65-0xa30a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bmv600.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bmv700.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bmv710.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-bmv712.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-multi-rs-solar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-phoenix-inverter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down
3 changes: 3 additions & 0 deletions tests/fake-smartsolar-mppt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ wifi:
password: !secret wifi_password

api:

ota:
platform: esphome

logger:
level: DEBUG

Expand Down

0 comments on commit 9f10485

Please sign in to comment.