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

DDF for IKEA INSPELNING #8025

Merged
merged 79 commits into from
Feb 11, 2025
Merged

DDF for IKEA INSPELNING #8025

merged 79 commits into from
Feb 11, 2025

Conversation

ebaauw
Copy link
Collaborator

@ebaauw ebaauw commented Nov 8, 2024

See #7948. Note that this DDF requires the INSPELNING firmware to be at least 2.4.45, however this is not yet checked.

This PR builds on #7979 and should be merged after that PR.

Resources:

{
  "capabilities": {
    "alerts": [
      "none",
      "select",
      "lselect"
    ],
    "otau": {
      "file_version": 33816645,
      "image_type": 40766,
      "manufacturer_code": 4476
    },
    "sleeper": false
  },
  "config": {
    "groups": [
      "0"
    ],
    "on": {
      "startup": false
    }
  },
  "ddf_hash": null,
  "ddf_policy": "latest_prefer_stable",
  "etag": "60939e92ec5e29de2711c7bb110f730b",
  "extaddress": -8330071615875077000,
  "hascolor": false,
  "lastannounced": null,
  "lastseen": "2024-11-08T12:59Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "INSPELNING Smart plug",
  "name": "Kitchen Hot Water",
  "nwkaddress": 6275,
  "productid": "E2206",
  "state": {
    "alert": "none",
    "on": true,
    "reachable": true
  },
  "swversion": "2.4.45",
  "type": "Smart plug",
  "uniqueid": "8c:65:a3:ff:fe:33:ac:0f-01"
}
{
  "capabilities": {
    "otau": {
      "file_version": 33816645,
      "image_type": 40766,
      "manufacturer_code": 4476
    },
    "sleeper": false
  },
  "config": {
    "on": true,
    "reachable": true
  },
  "ddf_hash": null,
  "ddf_policy": "latest_prefer_stable",
  "etag": "f15ba9b0762b9de778647638bd9d923a",
  "extaddress": -8330071615875077000,
  "lastannounced": null,
  "lastseen": "2024-11-08T12:59Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "INSPELNING Smart plug",
  "name": "Kitchen Hot Water",
  "nwkaddress": 6275,
  "productid": "E2206",
  "state": {
    "consumption": 2782,
    "lastupdated": "2024-11-08T12:57:31.490",
    "reachable": true
  },
  "swversion": "2.4.45",
  "type": "ZHAConsumption",
  "uniqueid": "8c:65:a3:ff:fe:33:ac:0f-01-0702"
}
{
  "capabilities": {
    "otau": {
      "file_version": 33816645,
      "image_type": 40766,
      "manufacturer_code": 4476
    },
    "sleeper": false
  },
  "config": {
    "on": true,
    "reachable": true
  },
  "ddf_hash": null,
  "ddf_policy": "latest_prefer_stable",
  "etag": "2a6f8b1807ec403f285ec030fa8b8b74",
  "extaddress": -8330071615875077000,
  "lastannounced": null,
  "lastseen": "2024-11-08T12:59Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "INSPELNING Smart plug",
  "name": "Kitchen Hot Water",
  "nwkaddress": 6275,
  "productid": "E2206",
  "state": {
    "current": 8,
    "lastupdated": "2024-11-08T13:00:32.526",
    "power": 0.4,
    "reachable": true,
    "voltage": 231.8
  },
  "swversion": "2.4.45",
  "type": "ZHAPower",
  "uniqueid": "8c:65:a3:ff:fe:33:ac:0f-01-0b04"
}

ebaauw and others added 30 commits October 10, 2024 20:06
ZclFrame.at(0) is status.
- Description
- Image Notify payload.
Set framecontrol for _Image Notify_.
Add support for Hue Lightguide E27 Edison ST72, see dresden-elektronik#7969.
Set items not to be shown in API as non-public.
Return the (sub-)map and key where the value needs to be inserted, creating any intermediate sub-maps where needed.
Refector `lightToMap()`.
Refactor `sensorToMap()`
- Include top-level key in `ApiAttribute`;
- Optional `event` parameter to use separate `attr` submap.
- Optional `event` parameter to handle web socket notifications;
- `LightNode *` parameter is no longer `const`, since the `needPushChange` property of the underlying resource items will be cleared.
Leverage `lightToMap()` in `handleLightEvent()`.
- Optional `event` parameter to handle web socket notifications;
- `Sensor *` parameter is no longer `const`, since the `needPushChange` property of the underlying resource items will be cleared.
Copy link
Contributor

github-actions bot commented Nov 8, 2024

Hey @ebaauw, thanks for your pull request!

Tip

Modified bundles can be downloaded here.
Relative expire date

DDB changes

Modified

  • ikea/inspelning_smart_plug.json : INSPELNING smart plug ✔️

Validation

Tip

Everything is fine !

🕐 Updated for commit 40d91f6

@manup manup added this to the v2.29.2-beta milestone Feb 11, 2025
@manup manup merged commit a2b8d0c into dresden-elektronik:master Feb 11, 2025
1 check passed
@ebaauw ebaauw deleted the inspelning branch February 11, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants