core: Modbus integration breake HA

The problem

modbus integration cause homeassistant to be irresponsible around ~20 min after run, after reboot HA working again for around 20 min, … after this time frontned geting slowly and slowly to stop responging at all. in brief window of time when ha was not totaly irresponsible but getting slow in logs i can see every integration response took longer than normal, when i disable modbus integration completly everything works fine

modbus configuration:

https://pastebin.com/M5e7XeUZ

What is version of Home Assistant Core has the issue?

2021.4.6

What was the last working version of Home Assistant Core?

2021.3.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

modbus

Link to integration documentation on our website

https://www.home-assistant.io/integrations/modbus/

Example YAML snippet

- name: LicznikiPradu
   type: tcp
   host: 172.17.136.32
   port: 12346
   sensors:
    - name: PralkaMeter-Voltage
      unit_of_measurement: V
      address: 0
      input_type: input
      count: 2
      slave: 7
      precision: 2
      data_type: float
    - name: PralkaMeter-Current
      unit_of_measurement: A
      address: 6
      input_type: input
      count: 2
      slave: 7
      precision: 2
      data_type: float
    - name: PralkaMeter-Power
      unit_of_measurement: W
      address: 12
      input_type: input
      count: 2
      slave: 7
      precision: 2
      data_type: float
      # reverse_order: true

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 34 (15 by maintainers)

Most upvoted comments

that is by far not a configuration that only contains modbus

Yes, that is currently the problem here, its.modbus related so stop looking for fauøts other places and start digging in modbus

I am sorry to tell you, that I am not being paid to do this…so I will leave the digging to you ! I help people who understand that helping is a two-way

Excuse me!? Do you think other will run your test department for your code contributions? Please fix your mess yourself and dont expect other to do your job, there are users here submitting tickets to help YOU fixing your faulty code.

You are actually not correct, grep in the log is something I can easily as well.

BUT removing the other integrations changes the timing, and that is what I WAS looking for.

So what you find not needed is essential in my search. But you know so much better what is needed so I assume you can also solve the issue.

You are actually not correct, grep in the log is something I can easily as well.

BUT removing the other integrations changes the timing, and that is what I WAS looking for.

So what you find not needed is essential in my search. But you know so much better what is needed so I assume you can also solve the issue.

Hei du, nå synes jeg du skal roe deg ned litt du jan, kansje jeg skal ringe deg.

Kritikken han kommer med er vell berettiget, du burde roe deg helt ned ett par hakk, ta heller å reparere dritten DU HAR ØDELAGT klare du ikke levere kodebidrag som er positiv og hjelper på opplevelsen så synes jeg du skal pakke sammen tastaturet ditt og heller finne på noe annet å gjøre, for jeg er ikke sikker på om du egner deg her!

Saken er enkel, folk er forbanna for at DU har ødelagt noe som fungerte og at det ikke ser ut for at DITT bidrag utgjøre en positiv forskjell.

thanks. If you identify problems please open a new issue since this is closed.

The more important changes are in 2021.5