Closed Kmotr closed 2 months ago
I bet there are more registers but i think i found at least the important ones.
`#
#
default: update_interval: 5 digits: 6
parameters:
group: PV items:
name: "PV1 Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3010] icon: "mdi:solar-power"
name: "PV2 Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3013] icon: "mdi:solar-power"
name: "PV1 Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 1 registers: [0x3011] icon: "mdi:solar-power"
name: "PV2 Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 1 registers: [0x3014] icon: "mdi:solar-power"
name: PV1 Power class: "power" state_class: "measurement" uom: "W" rule: 1 scale: 0.1 registers: [0x3012]
name: PV2 Power class: "power" state_class: "measurement" uom: "W" rule: 1 scale: 0.1 registers: [0x3015]
name: "Daily Production" friendly_name: Daily Production class: "energy" state_class: "total" uom: "kWh" scale: 0.01 rule: 1 registers: [0x301c] icon: "mdi:solar-power"
name: "Daily Production PV1" friendly_name: Daily Production PV1 class: "energy" state_class: "total" uom: "kWh" scale: 0.1 rule: 1 registers: [0x301f] icon: "mdi:solar-power"
name: "Daily Production PV2" friendly_name: Daily Production PV2 class: "energy" state_class: "total" uom: "kWh" scale: 0.01 rule: 1 registers: [0x3022] icon: "mdi:solar-power"
name: "Total Production" friendly_name: Total Production class: "energy" state_class: "total_increasing" uom: "kWh" scale: 0.01 rule: 1 registers: [0x301e] icon: "mdi:solar-power"
group: Grid items:
name: "AC Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3009] icon: "mdi:transmission-tower"
name: "Grid Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 2 registers: [0x300a] icon: "mdi:home-lightning-bolt"
name: "AC Output Frequency" class: "frequency" state_class: "measurement" uom: "Hz" scale: 0.01 rule: 1 registers: [0x300b] icon: "mdi:home-lightning-bolt"
group: Device items:
name: "Device State" class: "enum" state_class: "" uom: "" scale: 1 rule: 1 registers: [0x3000] icon: "mdi:information" range: min: 0 max: 5 lookup:
name: "Total AC Output Power (Active)" class: "power" state_class: "measurement" uom: "W" scale: 0.1 rule: 3 registers: [0x300f] icon: "mdi:home-lightning-bolt"
name: "Inverter Temperature" class: "temperature" uom: "°C" state_class: "measurement" scale: 1 rule: 1 offset: 40 registers: [0x300c]
name: "Max designed power" class: "power" state_class: "measurement" uom: "W" scale: 1 rule: 1 registers: [0x2007]
name: "Rated power" class: "power" state_class: "measurement" uom: "W" scale: 1 rule: 1 registers: [0x300e]`
feat: Add tsun_tsol-ms.yaml
I bet there are more registers but i think i found at least the important ones.
`#
First version: 10.09.2024
Microinverter TSUN TSOL-MS800
2x MPPT, 1x inverter
1x Logger, 2x Module
#
Tested with:
TSUN TSOL-MS800 (Serial: Y47E...) FW: LSW5BLE_17_02B0_1.08-D1
default: update_interval: 5 digits: 6
parameters:
group: PV items:
name: "PV1 Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3010] icon: "mdi:solar-power"
name: "PV2 Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3013] icon: "mdi:solar-power"
name: "PV1 Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 1 registers: [0x3011] icon: "mdi:solar-power"
name: "PV2 Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 1 registers: [0x3014] icon: "mdi:solar-power"
name: PV1 Power class: "power" state_class: "measurement" uom: "W" rule: 1 scale: 0.1 registers: [0x3012]
name: PV2 Power class: "power" state_class: "measurement" uom: "W" rule: 1 scale: 0.1 registers: [0x3015]
name: "Daily Production" friendly_name: Daily Production class: "energy" state_class: "total" uom: "kWh" scale: 0.01 rule: 1 registers: [0x301c] icon: "mdi:solar-power"
name: "Daily Production PV1" friendly_name: Daily Production PV1 class: "energy" state_class: "total" uom: "kWh" scale: 0.1 rule: 1 registers: [0x301f] icon: "mdi:solar-power"
name: "Daily Production PV2" friendly_name: Daily Production PV2 class: "energy" state_class: "total" uom: "kWh" scale: 0.01 rule: 1 registers: [0x3022] icon: "mdi:solar-power"
name: "Total Production" friendly_name: Total Production class: "energy" state_class: "total_increasing" uom: "kWh" scale: 0.01 rule: 1 registers: [0x301e] icon: "mdi:solar-power"
group: Grid items:
name: "AC Voltage" class: "voltage" state_class: "measurement" uom: "V" scale: 0.1 rule: 1 registers: [0x3009] icon: "mdi:transmission-tower"
name: "Grid Current" class: "current" state_class: "measurement" uom: "A" scale: 0.01 rule: 2 registers: [0x300a] icon: "mdi:home-lightning-bolt"
name: "AC Output Frequency" class: "frequency" state_class: "measurement" uom: "Hz" scale: 0.01 rule: 1 registers: [0x300b] icon: "mdi:home-lightning-bolt"
group: Device items:
Device - Operating (Running) state
name: "Device State" class: "enum" state_class: "" uom: "" scale: 1 rule: 1 registers: [0x3000] icon: "mdi:information" range: min: 0 max: 5 lookup:
name: "Total AC Output Power (Active)" class: "power" state_class: "measurement" uom: "W" scale: 0.1 rule: 3 registers: [0x300f] icon: "mdi:home-lightning-bolt"
name: "Inverter Temperature" class: "temperature" uom: "°C" state_class: "measurement" scale: 1 rule: 1 offset: 40 registers: [0x300c]
name: "Max designed power" class: "power" state_class: "measurement" uom: "W" scale: 1 rule: 1 registers: [0x2007]
name: "Rated power" class: "power" state_class: "measurement" uom: "W" scale: 1 rule: 1 registers: [0x300e]`