DDF for IKEA INSPELNING#8025
Merged
Merged
Conversation
ZclFrame.at(0) is status.
- Description - Image Notify payload.
- Description
- Description
Set framecontrol for _Image Notify_.
Add support for Hue Lightguide E27 Edison ST72, see #7969.
Add support for LOM001, see #7968.
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.
Contributor
Don't introduce `state/reachable` to `sensors` resources.
Update CLIP sensors to use Double values as well for updated items.
This seems to break rules evaluation with `gt` or `lt` conditions on the real items.
Don't use real values.
This was referenced Feb 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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" }