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

P1 dial regression #1095

Open
keesdekraker opened this issue Sep 22, 2023 · 1 comment
Open

P1 dial regression #1095

keesdekraker opened this issue Sep 22, 2023 · 1 comment

Comments

@keesdekraker
Copy link

keesdekraker commented Sep 22, 2023

P1 dial does not show correct subvalues by default since latest update to v3.11 (master)
It currently shows instant power (import & export in Watts) instead of countertoday kWh values for import/consumption and export/delivery.

Main/center value is displayed correctly (net consumption/delivery today).

@lokonli
Copy link
Collaborator

lokonli commented Sep 26, 2023

For a P1 dial currently two variants are supported:

Default:
Main value: nett daily counter (=consumption-delivery)
subvalues: actual delivery and actual consumption

subtype: 'usage'
Main value: actual nett usage (=consumption - delivery, Watt)
subvalues: daily delivery counter (kWh), daily usage counter (kWh)

So what you see corresponds with the default dial, and is by design.

If you want to display the countertoday kWh values, you can define your block for instance as follows:

blocks['p1_values'] = {
  type: 'dial',
  idx: 43,
  values: [
    {
      value: 'CounterToday',
      label: 'import',
      unit: 'kWh',
      decimals: 1
    },
    {
        value: 'CounterDelivToday',
        label: 'export',
        unit: 'kWh',
        decimals: 1
    },
  ],
};

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