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

icasa Zigbee Dimmer Pro ICZB-IW21D #7811

Closed
1 task done
ebaauw opened this issue Jun 9, 2024 · 10 comments · Fixed by #7828
Closed
1 task done

icasa Zigbee Dimmer Pro ICZB-IW21D #7811

ebaauw opened this issue Jun 9, 2024 · 10 comments · Fixed by #7828

Comments

@ebaauw
Copy link
Collaborator

ebaauw commented Jun 9, 2024

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for my device

Product name

icasa Zigbee Dimmer Pro

Manufacturer

icasa

Model identifier

ICZB-IW21D

Device type to add

Switch

Node info

Screenshot 2024-06-09 at 22 36 22

Endpoints and clusters

Screenshot 2024-06-09 at 22 37 42

Basic

Screenshot 2024-06-09 at 22 38 14

Further relevant clusters

On/Off

Screenshot 2024-06-09 at 22 39 28

Level Control

Screenshot 2024-06-09 at 22 39 57

Simple Metering

Screenshot 2024-06-09 at 22 40 43

Electrical Measurement

Screenshot 2024-06-09 at 22 41 48

OTAU

Manufacturer: 0x1224
Image Type: 0x012C
Version: 0x0000003A

@ebaauw
Copy link
Collaborator Author

ebaauw commented Jun 9, 2024

Received some new devices from my friends at icasa.

The ICZB-IW21D looks like your regular Sunricher-OEM in-wall dimmer , with light blue housing. I'm told it's the successor of the ICZB-IW11D, now with power and consumption measurement.

Also received a Zigbee On/Off Switch Pro, ICZB-IW21SW. You guessed it: the successor of the ICZB-IW11SW, again with consumption and power measurement. Note to self: still need to add the DDF for that old switch as well.

@ebaauw ebaauw self-assigned this Jun 9, 2024
@ebaauw ebaauw changed the title iCASA Zigbee Dimmer Pro ICZB-IW21D icasa Zigbee Dimmer Pro ICZB-IW21D Jun 9, 2024
@Preto
Copy link

Preto commented Jun 15, 2024

Hi @ebaauw, might this just be the same device as #7190 from Robbshop (rebranded Sunricher)? These also have consumption and power measurement.

I couldn't get a DDF to work myself, without lights flickering or other weirdness 😄. Screenshots are in the mentioned issue and look almost the same to me. I have a few different SW Build's installed of the mentioned device.

If its the same device, can you make it compatible so I can use your freshly generated DDF as well?

@ebaauw
Copy link
Collaborator Author

ebaauw commented Jun 15, 2024

Could very well be. Note however the differenced in firmware version (r54 vs r58), so there might be subtle changes between the various OEM clones.

You can always copy the DDF, change the manufacturer and model, and try it on the Robbshop dimmer.

@ebaauw
Copy link
Collaborator Author

ebaauw commented Jun 29, 2024

Just like the ICZB-IW11D, the device supports commands Trigger Effect, Off with Effect, Move to Level (with On/Off) and attributes Execute If Off, On/Off Transition Time, On Level, and PowerOn OnOff as well as .PowerOn Level_. OnOff and Current Level are reportable.

The consumption multiplier/divisor values are reported correctly:

  • Current Summation Delivered is in Ws (1/3600000 kWh), so needs to de divided by 3600 for state/consumption in Wh;
  • RMS Voltage is in 0.1 V, so needs to be divided by 10 for state/voltage in V;
  • RMS Current is in mA (0.001 A), so can be used directly for state/current in mA;
  • Active Power is in 0.1 W, so needs to be divided by 10 for state/power in W.
    All these attributes are reportable.

Oddly, when the device is off, it reports 1.3V and 17mA. For now, I'll be passing those values to the API, but I'm not sure if that's the best choice.

This should lead to the following resources:

{
  "capabilities": {
    "alerts": [
      "none",
      "select",
      "lselect",
      "blink",
      "breathe",
      "okay",
      "channelchange",
      "finish",
      "stop"
    ]
  },
  "config": {
    "bri": {
      "execute_if_off": true,
      "on_level": "previous",
      "onoff_transitiontime": 4,
      "startup": "previous"
    },
    "groups": [
      "0"
    ],
    "on": {
      "startup": "previous"
    }
  },
  "etag": "1b6de7f5941db7c2aa1ca6d4f91774df",
  "hascolor": false,
  "lastannounced": null,
  "lastseen": "2024-06-29T18:28Z",
  "manufacturername": "icasa",
  "modelid": "ICZB-IW21D",
  "name": "Dimmable light 3",
  "state": {
    "alert": "none",
    "bri": 50,
    "on": true,
    "reachable": true
  },
  "swversion": "2.9.2_r58",
  "type": "Dimmable light",
  "uniqueid": "18:7a:3e:ff:fe:f7:41:40-01"
}
{
  "config": {
    "on": true,
    "reachable": true
  },
  "etag": "9def077abcdacd5251579ee30c3bcadc",
  "lastannounced": null,
  "lastseen": "2024-06-29T18:33Z",
  "manufacturername": "icasa",
  "modelid": "ICZB-IW21D",
  "name": "Consumption 308",
  "state": {
    "consumption": 478,
    "lastupdated": "2024-06-29T18:29:57.550"
  },
  "swversion": "2.9.2_r58",
  "type": "ZHAConsumption",
  "uniqueid": "18:7a:3e:ff:fe:f7:41:40-01-0702"
}
{
  "config": {
    "on": true,
    "reachable": true
  },
  "etag": "b68dedc7d01c3fe82a7d59c5413e8702",
  "lastannounced": null,
  "lastseen": "2024-06-29T18:34Z",
  "manufacturername": "icasa",
  "modelid": "ICZB-IW21D",
  "name": "Power 310",
  "state": {
    "current": 89,
    "lastupdated": "2024-06-29T18:34:58.193",
    "power": 4,
    "voltage": 53
  },
  "swversion": "2.9.2_r58",
  "type": "ZHAPower",
  "uniqueid": "18:7a:3e:ff:fe:f7:41:40-01-0b04"
}

Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Jul 21, 2024
@ebaauw
Copy link
Collaborator Author

ebaauw commented Jul 21, 2024

Bump

@github-actions github-actions bot removed the stale label Jul 22, 2024
manup pushed a commit that referenced this issue Aug 7, 2024
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Aug 12, 2024
Copy link
Contributor

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

@Mimiix
Copy link
Collaborator

Mimiix commented Aug 20, 2024

Do we need to keep this open @ebaauw or is this merged?

@ebaauw
Copy link
Collaborator Author

ebaauw commented Aug 20, 2024

Has been merged, see above.

@Mimiix Mimiix linked a pull request Aug 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants