Skip to content

Commit

Permalink
Add project description and version number (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Jun 30, 2022
1 parent 20f5696 commit 6eb6f9e
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 13 deletions.
8 changes: 7 additions & 1 deletion esp32-example.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
substitutions:
name: soyosource-gtn-virtual-meter
device_description: "Monitor a Soyosource GTN and control the power output on demand both via RS485"
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main

esphome:
name: ${name}
platform: ESP32
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp32:
board: esp-wrover-kit

external_components:
Expand Down
8 changes: 7 additions & 1 deletion esp32-multiple-uarts-example.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
substitutions:
name: soyosource_gtn_virtual_meter
device_description: "Monitor multiple Soyosource GTNs and control the power output on demand both via RS485"
device0: firstfloor_soyosource_gtn_virtual_meter
device1: groundfloor_soyosource_gtn_virtual_meter
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main

esphome:
name: ${name}
platform: ESP32
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp32:
board: esp-wrover-kit

external_components:
Expand Down
8 changes: 7 additions & 1 deletion esp8266-display-example.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
substitutions:
name: soyosource-gtn-display
device_description: "Monitor and control the WiFi version of the Soyosource GTN via the USB-TTL port and control the power output on demand via RS485"
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main

esphome:
name: ${name}
platform: ESP8266
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp8266:
board: d1_mini

external_components:
Expand Down
8 changes: 7 additions & 1 deletion esp8266-example.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
substitutions:
name: soyosource-gtn-virtual-meter
device_description: "Monitor a Soyosource GTN and control the power output on demand both via RS485"
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main

esphome:
name: ${name}
platform: ESP8266
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp8266:
board: d1_mini

external_components:
Expand Down
15 changes: 8 additions & 7 deletions esp8266-fake-display.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
substitutions:
name: fake-display
device_description: "Emulate the USB-TTL port traffic of the Soyosource GTN (WiFi version)"
tx_pin: GPIO5
rx_pin: GPIO4

esphome:
name: ${name}
platform: ESP8266
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp8266:
board: d1_mini

wifi:
Expand All @@ -25,13 +31,8 @@ uart:
dummy_receiver: true

interval:
- interval: 12s
- interval: 11s
then:
# # status response (bad checksum?)
# - uart.write: [0xA6, 0x03, 0x84, 0x91, 0x40, 0x01, 0xC5, 0x00, 0xDB, 0x00, 0xF7, 0x63, 0x02, 0xBC, 0xFE]
# - delay: 1s

# status response (fixed checksum)
- uart.write: [0xA6, 0x03, 0x84, 0x91, 0x40, 0x01, 0xC5, 0x00, 0xDB, 0x00, 0xF7, 0x63, 0x02, 0xBC, 0xEE]
- delay: 1s

Expand Down
8 changes: 7 additions & 1 deletion esp8266-inverter-emulator.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
substitutions:
name: soyosource-gtn-inverter-emu
device_description: "Emulate the USB-TTL port traffic of the Soyosource GTN (WiFi version)"
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main
tx_pin: GPIO1
rx_pin: GPIO3

esphome:
name: ${name}
platform: ESP8266
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp8266:
board: d1_mini

external_components:
Expand Down
8 changes: 7 additions & 1 deletion esp8266-wifi-dongle-example.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
substitutions:
name: soyosource-wifi-dongle
device_description: "Monitor and control the WiFi version of the Soyosource GTN using the OEM WiFi dongle with a alternative firmware"
external_components_source: github://syssi/esphome-soyosource-gtn-virtual-meter@main

esphome:
name: ${name}
platform: ESP8266
comment: ${device_description}
project:
name: "syssi.esphome-soyosource-gtn-virtual-meter"
version: 1.1.0

esp8266:
board: esp12e

external_components:
Expand Down

0 comments on commit 6eb6f9e

Please sign in to comment.