MadMonkey87 / HomeyCONZ

deCONZ app for Athom Homey smart home controller
3 stars 14 forks source link

[FEATURE REQUEST] Addition of orentation information for Vibration sensor #58

Closed mhoogenbosch closed 2 years ago

mhoogenbosch commented 3 years ago

Would it be possible to add the ‘orientation’ parameters to the aqara vibration sensor? They are available when pulling the rest api.

"9": { "config": { "battery": 98, "on": true, "pending": [], "reachable": true, "sensitivity": 11, "sensitivitymax": 21, "temperature": 3200 }, "ep": 1, "etag": "b8bf66597839bf06bce9c26741292c06", "lastseen": "2021-08-09T07:39Z", "manufacturername": "LUMI", "modelid": "lumi.vibration.aq1", "name": "Vibration (kt)", "state": { "lastupdated": "2021-08-09T07:39:00.221", "orientation": [ 1, 0, 89 ], "tiltangle": 74, "vibration": false, "vibrationstrength": 7 }, "swversion": "20180130", "type": "ZHAVibration", "uniqueid": "00:15:8d:00:02:af:d4:e8-01-0101" },

MadMonkey87 commented 3 years ago

Yes I try to include this in the next release

MadMonkey87 commented 2 years ago

Provided with 1.28.0, checkout the beta

mhoogenbosch commented 2 years ago

@MadMonkey87 .. wtf... it didn't work.. so finally got time to check this.

  "9": {
    "config": {
      "battery": 91,
      "on": true,
      "pending": [
        "sensitivity"
      ],
      "reachable": true,
      "sensitivity": 1,
      "sensitivitymax": 21,
      "temperature": 3100
    },
    "ep": 1,
    "etag": "bdec790565413c6bb310cd3de8d2caa9",
    "lastannounced": null,
    "lastseen": "2021-11-24T16:01Z",
    "manufacturername": "LUMI",
    "modelid": "lumi.vibration.aq1",
    "name": "Vibration (kt)",
    "state": {
      "lastupdated": "2021-11-24T16:02:56.003",
      "tiltangle": 10,
      "vibration": false,
      "vibrationstrength": 6
    },
    "swversion": "20180130",
    "type": "ZHAVibration",
    "uniqueid": "00:15:8d:00:02:af:d4:e8-01-0101"
  },

deConz completely removed the 'orientation' .. I'll open a case with them.

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5514