larsbeck / HomematicIp

This package allows to query the HomematicIp REST and WebSocket endpoint.
MIT License
7 stars 2 forks source link

[Unsupported device] MOTION_DETECTOR_PUSH_BUTTON #12

Closed DevEddy closed 5 years ago

DevEddy commented 5 years ago

Hi Lars,

one more:

{
  "id": "3014F711A00014D8A98A13A9",
  "homeId": "21edcd0f-2b62-4b28-b0fb-e8476834d493",
  "label": "Bewegungsmelder",
  "lastStatusUpdate": 0,
  "type": "MOTION_DETECTOR_PUSH_BUTTON",
  "functionalChannels": {
    "0": {
      "label": "",
      "deviceId": "3014F711A00014D8A98A13A9",
      "index": 0,
      "groupIndex": 0,
      "functionalChannelType": "DEVICE_PERMANENT_FULL_RX",
      "groups": [
        "db6c929e-bf58-4656-88f3-1b8c3f0612a8",
        "072abd4a-aa66-44b9-9743-b2c9bd13ff80"
      ],
      "unreach": null,
      "lowBat": null,
      "routerModuleEnabled": false,
      "routerModuleSupported": false,
      "rssiDeviceValue": null,
      "rssiPeerValue": null,
      "configPending": false,
      "dutyCycle": null,
      "permanentFullRx": true
    },
    "1": {
      "label": "",
      "deviceId": "3014F711A00014D8A98A13A9",
      "index": 1,
      "groupIndex": 1,
      "functionalChannelType": "SINGLE_KEY_CHANNEL",
      "groups": []
    },
    "2": {
      "label": "",
      "deviceId": "3014F711A00014D8A98A13A9",
      "index": 2,
      "groupIndex": 1,
      "functionalChannelType": "SINGLE_KEY_CHANNEL",
      "groups": []
    },
    "3": {
      "label": "",
      "deviceId": "3014F711A00014D8A98A13A9",
      "index": 3,
      "groupIndex": 2,
      "functionalChannelType": "MOTION_DETECTION_CHANNEL",
      "groups": [
        "a72a33cb-b048-4e5f-88d0-743afd5f7d07",
        "db6c929e-bf58-4656-88f3-1b8c3f0612a8",
        "98383206-9f19-4b94-9d0c-46f9ca49d95f"
      ],
      "motionDetected": null,
      "illumination": null,
      "currentIllumination": null,
      "numberOfBrightnessMeasurements": 7,
      "motionDetectionSendInterval": "SECONDS_240",
      "motionBufferActive": false
    }
  },
  "oem": "eQ-3",
  "manufacturerCode": 1,
  "firmwareVersion": "1.0.12",
  "updateState": "UP_TO_DATE",
  "firmwareVersionInteger": 65548,
  "liveUpdateState": "LIVE_UPDATE_NOT_SUPPORTED",
  "availableFirmwareVersion": "0.0.0",
  "serializedGlobalTradeItemNumber": "3014F711A00014D8A98A13A9",
  "modelType": "HmIP-SMI55",
  "modelId": 338,
  "permanentlyReachable": false
}

-- Eddy

larsbeck commented 5 years ago

Hi Eddy,

I added support for MotionDetectorPushButtons in the latest commit.

Lars