Hallo Grüß Euch
Ich Bin Neu Hier Vielleicht könnt ihr mir Helfen Habe Mein Home Assistant neu. Mein Problem ist ich habe einen Kostal Plenticor 7 und ein KSEM Smartmeter habe schon alles versucht die werte von Smartmeter zu auslesen. verwende Sunspec. Aber leider keine brauchbaren Werte . Vielen Danke für Tipps lg.Arno
Will den Kostal KSEM mit Modbus in die configuration.yaml Eintragen
modbus:
- name: "KSEM" #can be anything you want
type: tcp #modbus over tcp
host: 192.168.1.100 #insert your KSEM ip address, eg "host: 192.168.1.100"
port: 502 #insert your KSEM port, eg "port: 502"
sensors:
- name: networkreference_power_ksem #power from grid
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 0
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: gridfeed_power_ksem #power to grid
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 2
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: networkreference_energy_ksem #total energy from gird
slave: 1
scale: 0.0001
precision: 3
address: 512
scan_interval: 60
count: 4
input_type: holding
data_type: uint64
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
- name: gridfeed_energy_ksem #total energy to grid
slave: 1
scale: 0.0001
precision: 3
address: 516
scan_interval: 60
count: 4
input_type: holding
data_type: uint64
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
- name: L1_powerpos_ksem #power sent to grid on L1
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 40
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: L1_powerneg_ksem #power taken to grid on L1
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 42
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: L2_powerpos_ksem #power sent to grid on L2
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 80
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: L2_powerneg_ksem #power taken from grid on L2
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 82
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: L3_powerpos_ksem #power sent to grid on L3
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 120
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
- name: L3_powerneg_ksem #power taken from grid on L3
slave: 1
device_class: power
state_class: measurement
unit_of_measurement: W
scale: 0.1
address: 122
scan_interval: 10
count: 2
input_type: holding
data_type: uint32
Bekomme aber immer diesen Fehler
Konfigurationswarnungen
Invalid config for 'modbus' at configuration.yaml, line 107: L2_powerneg_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->7', got {'name': 'L2_powerneg_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 82, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 119: L3_powerpos_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->8', got {'name': 'L3_powerpos_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 120, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 131: L3_powerneg_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->9', got {'name': 'L3_powerneg_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 122, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 21: networkreference_power_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->0', got {'name': 'networkreference_power_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 0, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 33: gridfeed_power_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->1', got {'name': 'gridfeed_power_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 2, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 45: networkreference_energy_ksem: `count` illegal with `data_type: uint64` 'modbus->0->sensors->2', got {'name': 'networkreference_energy_ksem', 'slave': 1, 'scale': 0.0001, 'precision': 3, 'address': 512, 'scan_interval': 60, 'count': 4, 'input_type': 'holding', 'data_type': 'uint64', 'device_class': 'energy', 'state_class': 'total_increasing', 'unit_of_measurement': 'kWh'} Invalid config for 'modbus' at configuration.yaml, line 58: gridfeed_energy_ksem: `count` illegal with `data_type: uint64` 'modbus->0->sensors->3', got {'name': 'gridfeed_energy_ksem', 'slave': 1, 'scale': 0.0001, 'precision': 3, 'address': 516, 'scan_interval': 60, 'count': 4, 'input_type': 'holding', 'data_type': 'uint64', 'device_class': 'energy', 'state_class': 'total_increasing', 'unit_of_measurement': 'kWh'} Invalid config for 'modbus' at configuration.yaml, line 71: L1_powerpos_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->4', got {'name': 'L1_powerpos_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 40, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 83: L1_powerneg_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->5', got {'name': 'L1_powerneg_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 42, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'} Invalid config for 'modbus' at configuration.yaml, line 95: L2_powerpos_ksem: `count` illegal with `data_type: uint32` 'modbus->0->sensors->6', got {'name': 'L2_powerpos_ksem', 'slave': 1, 'device_class': 'power', 'state_class': 'measurement', 'unit_of_measurement': 'W', 'scale': 0.1, 'address': 80, 'scan_interval': 10, 'count': 2, 'input_type': 'holding', 'data_type': 'uint32'}
Bitte um Hilfe
by tarag: Beiträge zusammengeführt und Code in
vorformatierten Text </>
formatiert