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

Disable certain functionality that the driver supports but HA not? #43

Open
marcelveldt opened this issue Jul 4, 2024 · 3 comments
Open
Labels
expert-ui This is something that should go in HA's new Z-Wave Expert UI zwave-certification Required for Z-Wave certification

Comments

@marcelveldt
Copy link
Collaborator

Add some way to flag the driver that the consumer (HA) doesn't support a certain feature/CC.

Usecase is for example the Thermostat Setback feature that we do not support in HA while its being tested in certification if we say we support it in the driver. We need to inform the driver that we do not support this particular feature(s) so the driver doesn't report them as supported to the certification tests.

Find out what flags we need, known so far:

  • Thermostat Setback CC
  • Energy Production
  • Schedule Entry Lock (Z-Wave JS UI has a dedicated UI for this)

Probably (I don't think those are supported):

  • Climate Control Schedule
  • Door Lock Logging
  • Humidity Control Mode
  • Humidity Control Operating State
  • Humidity Control Setpoint
  • Irrigation
  • Language
  • Scene Actuator Configuration
  • Scene Controller Configuration
@marcelveldt marcelveldt converted this from a draft issue Jul 4, 2024
@marcelveldt marcelveldt added the expert-ui This is something that should go in HA's new Z-Wave Expert UI label Jul 4, 2024
@AlCalzone
Copy link
Member

AlCalzone commented Sep 2, 2024

Task:

For each of the above CCs, either

The latter requires followup work on both sides.

@MartinHjelmare
Copy link
Collaborator

I think we should decide before the Hackaton what to do so we can spend time on the Hackaton on implementing things instead of discussing things. If we can't do that I suggest we put this in hold until after the Hackaton.

@AlCalzone
Copy link
Member

My suggestions:

The CCs marked (optional) have no control specification, therefore everything is just recommended.

Climate Control Schedule:
Seems complex UI wise and is deprecated --> disable

Door Lock Logging: (optional)

  • Put in expert UI
  • Textbox + Button to get X logging records, X = 0...(max supported)
  • Show retrieved logging records, see definition

The following three may make sense to tie into the climate entity, but for certification the following should be enough:

Humidity Control Mode: (optional)

  • Add a select entity to change the mode. Seems easy enough to do:
    grafik

Humidity Operating State: (optional)

  • Add a sensor to show the current state:
    grafik

Humidity Control Setpoint: (optional)

  • Probably expert UI?
  • For each supported mode (this is a 1:1 match with Humidity Control Mode CC), add a way to change the target humidity.
  • Each setpoint must be between the supported min/max value for that setpoint.
  • The scale/unit must be one of the supported scales for that setpoint, these exist:
    grafik

Irrigation: (optional)
Pretty complex, not many devices exist, I'd skip this.

Language: (optional)

  • Probably expert UI
  • A select that contains language (ISO 639-2:1998 alpha-3) / country codes (ISO 3166-1 alpha-2) in the format eng or eng-US

Scene Actuator Configuration: (optional)

  • Definitely expert UI
  • 4 fields:
    • Scene ID (1-255)
    • Dimming duration (instant, 1-127s, 1-127 minutes, default)
    • Checkbox for "override current settings"
    • Level (0-99; 255 [on])
  • Buttons to retrieve and/or set the configuration for a scene ID

Scene Controller Configuration: (optional)

  • Definitely expert UI
  • 3 fields:
    • Group ID (between 2 and max. association group no. of the device)
    • Scene ID (0 = disable; 1-255)
    • Dimming duration (instant, 1-127s, 1-127 minutes, default)
  • Buttons to retrieve and/or set the configuration for a scene ID

Schedule Entry Lock: (optional)
Versions 1-3 are deprecated (but useful), v4 will never be certified, replacement pending.
I'd skip this, unless we are looking for something to do.

Thermostat Setback CC:
If we report support for this, it is required. @marcelveldt what's the status of your investigation into Matter / Zigbee?
If expert UI, we need a few fields:

  • select for the setback type:
    grafik
  • Setback state - switch between:
    • number input from -12.8 °C to +12.0 °C
    • select for the special modes
      grafik

Energy production: (optional)
Apparently never certified.
Implementing would be easy enough though:

  • 4 different values to display definition here
  • parameter is one of
    grafik
  • unit is included in the value metadata

@AlCalzone AlCalzone added the zwave-certification Required for Z-Wave certification label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expert-ui This is something that should go in HA's new Z-Wave Expert UI zwave-certification Required for Z-Wave certification
Projects
Development

No branches or pull requests

3 participants