add Resol VBus support (#3976)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
fixes https://github.com/esphome/feature-requests/issues/1949
This commit is contained in:
Samuel Sieb
2023-02-06 15:17:17 -08:00
committed by GitHub
parent 0bf6e21e1a
commit 93ddce2e79
14 changed files with 1746 additions and 1 deletions

View File

@@ -287,6 +287,9 @@ uart:
modbus:
uart_id: uart1
vbus:
uart_id: uart4
ota:
safe_mode: true
port: 3286
@@ -799,6 +802,11 @@ sensor:
id: adc128s102_channel_0
channel: 0
- platform: vbus
model: deltasol c
temperature_1:
name: Temperature 1
time:
- platform: homeassistant
@@ -904,6 +912,11 @@ binary_sensor:
then:
- pzemac.reset_energy: pzemac1
- platform: vbus
model: deltasol_bs_plus
relay1:
name: Relay 1 On
globals:
- id: my_global_string
type: std::string