Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95387

Modbus configuration error. KeyError: delay

$
0
0

@mprimog wrote:

Hello,

I am testing deepply Modbus integration.

TCP integration works well.

I am now with “serial” and i am getting an error in the configuration:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 170, in _async_setup_component
hass, processed_config
File “/config/custom_components/modbus/init.py”, line 102, in async_setup
hub_collect[client_config[CONF_NAME]] = ModbusHub(client_config, hass.loop)
File “/config/custom_components/modbus/init.py”, line 174, in init
self._config_delay = client_config[CONF_DELAY]
KeyError: ‘delay’

Any clue?

This is my configuration

modbus:
  name: hub1
  type: serial
  method: rtu
  port: /dev/ttyUSB0
  baudrate: 9600
  stopbits: 1
  bytesize: 8
  parity: N

Thanks a lot.
Marcos.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>