Hi,
I change platform from Openhab to Home Assistant, but my problem is to set energy meter orno 51x via modbus in HA,
In OH2 my cfg see like that
serial.home_freq.connection=/dev/ttyUSB0:9600:8:even:1:rtu:150:1000:none:none
serial.home_volt.connection=/dev/ttyUSB0:9600:8:even:1:rtu:150:1000:none:none
poll=5000
serial.home_freq.type=holding
serial.home_freq.id=1
serial.home_freq.start=20
serial.home_freq.length=2
serial.home_freq.valuetype=float32
serial.home_volt.type=holding
serial.home_volt.id=1
serial.home_volt.start=14
serial.home_volt.length=6
serial.home_volt.valuetype=float32
In HA i have only this
modbus:
type: serial
name: hub
methos: rtu
port: /dev/ttyUSB0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
And error
Invalid config for [modbus]: [methos] is an invalid option for [modbus]. Check: modbus->modbus->0->methos. (See /config/configuration.yaml, line 261).
someone can help me finish the configuration so that I can get the data from the energymeter?