Giter Site home page Giter Site logo

Comments (7)

ebaauw avatar ebaauw commented on September 18, 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.

from deconz-rest-plugin.

Preto avatar Preto commented on September 18, 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?

from deconz-rest-plugin.

ebaauw avatar ebaauw commented on September 18, 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.

from deconz-rest-plugin.

ebaauw avatar ebaauw commented on September 18, 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"
}

from deconz-rest-plugin.

github-actions avatar github-actions commented on September 18, 2024

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.

from deconz-rest-plugin.

ebaauw avatar ebaauw commented on September 18, 2024

Bump

from deconz-rest-plugin.

github-actions avatar github-actions commented on September 18, 2024

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.

from deconz-rest-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.