Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is "Out-of-grid–total power" not updated every time? #36

Open
sundsvald opened this issue Apr 24, 2024 · 2 comments
Open

Why is "Out-of-grid–total power" not updated every time? #36

sundsvald opened this issue Apr 24, 2024 · 2 comments

Comments

@sundsvald
Copy link

"Out-of-grid–total power" is working as if it have a "skip_updates: 2".
Is the "skip_updates: 2" inherited from another variable?

...

  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    skip_updates: 2
    name: "${device_type}-External CT L3 Power"
    id: ${device_type}_External_CT_L3_Power
    register_type: holding
    address: 618
    unit_of_measurement: "W"
    state_class: "measurement"
    accuracy_decimals: 0
    value_type: S_WORD

    • platform: modbus_controller
      modbus_controller_id: ${modbus_controller_id}
      name: "${device_type}-Out-of-grid–total power"
      id: ${device_type}_out_of_grid_total_power
      register_type: holding
      address: 619
      unit_of_measurement: "W"
      state_class: "measurement"
      accuracy_decimals: 0
      value_type: S_WORD
      ...
@fabhund
Copy link

fabhund commented Apr 24, 2024

Yes. The ESPhome modbus controller combines same beginning adresses into one call, to lower the amount of requests. The skip_updates applies to all belonging to that same start adress. It's decsribed in the ESPhome modbus controller documentation.

@sundsvald
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants