home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.17k stars 30.2k forks source link

Warning: modbus communication open on startup #127570

Open RALFISBORN opened 1 day ago

RALFISBORN commented 1 day ago

The problem

Hello, Since updating to Core 2024.10.0, I get the following warning message every time I start:

Logger: homeassistant.components.modbus.modbus Source: components/modbus/modbus.py:344 Integration: Modbus

image

Nothing has been changed on the system apart from the core update.

What version of Home Assistant Core has the issue?

2024.10.0

What was the last working version of Home Assistant Core?

2024.9.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

modbus

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

# Modbus Energiezähler UV
- name: modbus_energycounter_uv
  type: tcp
  host: 192.168.10.34
  port: 502
  timeout: 10
  sensors:
    - name: 30013_Wirkleistung_L1
      unit_of_measurement: W
      address: 12 #Modbus Register 30013
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5
    - name: 30015_Wirkleistung_L2
      unit_of_measurement: W
      address: 14 #Modbus Register 30015
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5
    - name: 30017_Wirkleistung_L3
      unit_of_measurement: W
      address: 16 #Modbus Register 30017
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5
    - name: 30053_Summe_Netz-Erzeugung
      unit_of_measurement: W
      address: 52 #Modbus Register 30053
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5
    - name: 31281_Leistung_Import
      unit_of_measurement: W
      address: 1280 #Modbus Register 31281
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5
    - name: 31283_Leistung_Export
      unit_of_measurement: W
      address: 1282 #Modbus Register 31282
      input_type: input
      data_type: float32
      slave: 1
      scan_interval: 5

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 day ago

modbus documentation modbus source

wimjanse commented 1 day ago

Same issue. This is a warning only, but all modbus data works fine.