core: Modbus integration not working after latest update(s)

The problem

Modbus integration used to work before the latest updates 2021.8.x Sensors report state : unknown

Tried to solve using suggestion to add scan_interval = 0 to every sensor :

registers: - name: SMA_Power_AC unit_of_measurement: W slave: 3 register: 30775 count: 2 data_type: int scan_interval: 0

Unfortunetely this does not help.

What is version of Home Assistant Core has the issue?

2021.8.6

What was the last working version of Home Assistant Core?

Not sure

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

registers:
    - name: SMA_Power_AC
      unit_of_measurement: W
      slave: 3
      register: 30775
      count: 2
      data_type: int
      scan_interval: 0

Anything in the logs that might be useful for us?

No specific entries in log

Additional information

Modbus integration I use is for SMA Solar. Use to work perfectly.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Super ! Works perfectly !!! Thank You Jelle !

Thanks to @jellespijker !

You are my hero today !!! Thank you so much !!! I already started using SBFSPOT but this is so much easier. Now I have my inverter data back as I used to !