MIC 2000 TL-X + MOD 6000 TL3-XH: ESPHome YAML + README hinzugefügt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,212 @@
|
||||
esphome:
|
||||
name: growatt-mic-2000
|
||||
friendly_name: Growatt MIC 2000 TL-X
|
||||
|
||||
esp8266:
|
||||
board: esp07s
|
||||
|
||||
logger:
|
||||
|
||||
api:
|
||||
encryption:
|
||||
key: "HIER_API_KEY_EINTRAGEN"
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: "HIER_OTA_PASSWORT_EINTRAGEN"
|
||||
|
||||
wifi:
|
||||
ssid: "HIER_WLAN_NAME_EINTRAGEN"
|
||||
password: "HIER_WLAN_PASSWORT_EINTRAGEN"
|
||||
ap:
|
||||
ssid: "Growatt MIC 2000 TL-X Fallback Hotspot"
|
||||
password: "HIER_HOTSPOT_PASSWORT_EINTRAGEN"
|
||||
|
||||
captive_portal:
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
id: homeassistant_time
|
||||
|
||||
output:
|
||||
- id: light_bl
|
||||
platform: gpio
|
||||
pin: 16
|
||||
- id: light_gr
|
||||
platform: gpio
|
||||
pin: 0
|
||||
- id: light_rd
|
||||
platform: gpio
|
||||
pin: 2
|
||||
|
||||
uart:
|
||||
id: mod_bus
|
||||
tx_pin: 1
|
||||
rx_pin: 3
|
||||
baud_rate: 115200
|
||||
|
||||
modbus:
|
||||
id: modbus1
|
||||
uart_id: mod_bus
|
||||
|
||||
modbus_controller:
|
||||
- id: growatt
|
||||
address: 1
|
||||
modbus_id: modbus1
|
||||
setup_priority: -10
|
||||
on_online:
|
||||
then:
|
||||
- output.turn_on: light_gr
|
||||
on_offline:
|
||||
then:
|
||||
- output.turn_off: light_gr
|
||||
|
||||
script:
|
||||
- id: blink_blue
|
||||
mode: single
|
||||
then:
|
||||
- output.turn_on: light_bl
|
||||
- delay: 200ms
|
||||
- output.turn_off: light_bl
|
||||
|
||||
sensor:
|
||||
# --- PV Eingang ---
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "PV Voltage"
|
||||
address: 3
|
||||
register_type: read
|
||||
unit_of_measurement: V
|
||||
device_class: voltage
|
||||
state_class: measurement
|
||||
icon: mdi:solar-panel
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
on_value:
|
||||
then:
|
||||
- script.execute: blink_blue
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "PV Current"
|
||||
address: 4
|
||||
register_type: read
|
||||
unit_of_measurement: A
|
||||
device_class: current
|
||||
state_class: measurement
|
||||
icon: mdi:solar-panel
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "PV Power"
|
||||
address: 5
|
||||
register_type: read
|
||||
unit_of_measurement: W
|
||||
device_class: power
|
||||
state_class: measurement
|
||||
icon: mdi:solar-panel
|
||||
value_type: U_DWORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
# --- AC Ausgang / Netz ---
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Grid Frequency"
|
||||
address: 37
|
||||
register_type: read
|
||||
unit_of_measurement: Hz
|
||||
device_class: frequency
|
||||
state_class: measurement
|
||||
icon: mdi:sine-wave
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 2
|
||||
filters:
|
||||
- multiply: 0.01
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Grid Voltage"
|
||||
address: 38
|
||||
register_type: read
|
||||
unit_of_measurement: V
|
||||
device_class: voltage
|
||||
state_class: measurement
|
||||
icon: mdi:flash
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Grid Current"
|
||||
address: 39
|
||||
register_type: read
|
||||
unit_of_measurement: A
|
||||
device_class: current
|
||||
state_class: measurement
|
||||
icon: mdi:flash
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "AC Output Power"
|
||||
address: 40
|
||||
register_type: read
|
||||
unit_of_measurement: W
|
||||
device_class: power
|
||||
state_class: measurement
|
||||
icon: mdi:flash
|
||||
value_type: U_DWORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
# --- Energie (PV Erzeugung) ---
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Energy Today"
|
||||
address: 53
|
||||
register_type: read
|
||||
unit_of_measurement: kWh
|
||||
device_class: energy
|
||||
state_class: total_increasing
|
||||
icon: mdi:solar-power
|
||||
value_type: U_DWORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Energy Total"
|
||||
address: 55
|
||||
register_type: read
|
||||
unit_of_measurement: kWh
|
||||
device_class: energy
|
||||
state_class: total_increasing
|
||||
icon: mdi:solar-power
|
||||
value_type: U_DWORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
|
||||
# --- Temperatur ---
|
||||
|
||||
- platform: modbus_controller
|
||||
name: "Inverter Temperature"
|
||||
address: 93
|
||||
register_type: read
|
||||
unit_of_measurement: "°C"
|
||||
device_class: temperature
|
||||
state_class: measurement
|
||||
icon: mdi:thermometer
|
||||
value_type: U_WORD
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- multiply: 0.1
|
||||
@@ -0,0 +1,50 @@
|
||||
# Growatt MIC 2000 TL-X — ESPHome Konfiguration
|
||||
|
||||
Modbus-RTU Integration des Growatt MIC 2000 TL-X (einphasiger String-Wechselrichter) über einen Growatt SuniStick mit ESPHome-Firmware.
|
||||
|
||||
Gleiche Registerstruktur wie der MIC 1500 TL-X — die MIC TL-X Familie verwendet ein einheitliches Protokoll.
|
||||
|
||||
---
|
||||
|
||||
## Modbus-Register Übersicht
|
||||
|
||||
Alle Register sind **Input Register** (Modbus Funktionscode 04, `register_type: "read"`).
|
||||
Modbus-Adresse des Geräts: `0x01`
|
||||
|
||||
### PV Eingang
|
||||
|
||||
| Name | Adresse | Typ | Multiplikator | Einheit |
|
||||
|------|---------|-----|---------------|---------|
|
||||
| PV Voltage | 3 | U_WORD | 0.1 | V |
|
||||
| PV Current | 4 | U_WORD | 0.1 | A |
|
||||
| PV Power | 5 | U_DWORD | 0.1 | W |
|
||||
|
||||
### AC Ausgang / Netz
|
||||
|
||||
| Name | Adresse | Typ | Multiplikator | Einheit |
|
||||
|------|---------|-----|---------------|---------|
|
||||
| Grid Frequency | 37 | U_WORD | **0.01** | Hz |
|
||||
| Grid Voltage | 38 | U_WORD | 0.1 | V |
|
||||
| Grid Current | 39 | U_WORD | 0.1 | A |
|
||||
| AC Output Power | 40 | U_DWORD | 0.1 | W |
|
||||
|
||||
### Energie (PV Erzeugung)
|
||||
|
||||
| Name | Adresse | Typ | Multiplikator | Einheit |
|
||||
|------|---------|-----|---------------|---------|
|
||||
| Energy Today | 53 | U_DWORD | 0.1 | kWh |
|
||||
| Energy Total | 55 | U_DWORD | 0.1 | kWh |
|
||||
|
||||
### Temperatur
|
||||
|
||||
| Name | Adresse | Typ | Multiplikator | Einheit |
|
||||
|------|---------|-----|---------------|---------|
|
||||
| Inverter Temperature | 93 | U_WORD | 0.1 | °C |
|
||||
|
||||
---
|
||||
|
||||
## Hinweise
|
||||
|
||||
- **Einphasig, kein Hybrid, kein Batterie-Interface** — keine Register >100 vorhanden.
|
||||
- Register identisch mit MIC 1500 TL-X. Andere MIC TL-X Modelle (1000W, 1500W, 2000W) verwenden dieselbe Registerstruktur.
|
||||
- Passwörter und API-Keys sind durch Platzhalter ersetzt und müssen vor dem Einsatz angepasst werden.
|
||||
Reference in New Issue
Block a user