ik probeer modbus aan de praat te krijgen:
dipswitches staan goed, waveshare heeft spanning, LG staat op modbus address 01.
Waar moet ik het modbusaddress invoeren in Home assistant?
Ik ben even de weg kwijt....
dit is het begin van mijn confoguration.yaml
--
modbus:
- type: tcp
host: 192.168.2.45
port: 502
name: "lg_modbus"
retry_on_empty: true
retries: 10
sensors:
##input
- name: lg_error_code
scan_interval: 120
address: 0
slave: 1
----
homne assistant error:
---4Logger: homeassistant.config
Bron: config.py:940
Eerst voorgekomen: 19:02:08 (1 gebeurtenissen)
Laatst gelogd: 19:02:08
Invalid config for 'modbus' at configuration.yaml, line 14: not a valid value for dictionary value 'modbus->0->type', got 'tcp', please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 14: required key 'baudrate' not provided, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 14: required key 'bytesize' not provided, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 14: required key 'method' not provided, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 14: required key 'parity' not provided, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 14: required key 'stopbits' not provided, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 15: 'host' is an invalid option for 'modbus', check: modbus->0->host, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 18: 'retry_on_empty' is an invalid option for 'modbus', check: modbus->0->retry_on_empty, please check the docs at
https://www.home-assistant.io/integrations/modbus Invalid config for 'modbus' at configuration.yaml, line 19: 'retries' is an invalid option for 'modbus', check: modbus->0->retries, please check the docs at
https://www.home-assistant.io/integrations/modbus
[
Voor 104% gewijzigd door
Boomster op 28-11-2024 19:06
]