dvdgeisler / DirigeraClient

Dirigera Client API: Java written client API to interface IKEA's new smarthome hub DIRIGERA
MIT License
74 stars 9 forks source link

New device PRAKTLYSING cellular blind #19

Closed Juje closed 1 year ago

Juje commented 1 year ago

Here you go and have fun :slightly_smiling_face: And thanks for all your work.

I'm not sure if the TRADFRI remote is different from what you have but this one is called the "TRADFRI open/close remote" which was delivered with the blinds.

{
  "hub" : {
    "id" : "373f16bf-f11d-43c3-9e49-40ca8e715d7d_1",
    "type" : "gateway",
    "deviceType" : "gateway",
    "createdAt" : "2022-09-14T11:32:34.779Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-18T22:13:51.062Z",
    "attributes" : {
      "customName" : "Home",
      "model" : "DIRIGERA Hub for smart products",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.96.7",
      "hardwareVersion" : "P2.5",
      "serialNumber" : "373f16bf-f11d-43c3-9e49-40ca8e715d7d",
      "identifyStarted" : "2000-01-01T00:00:00.000Z",
      "identifyPeriod" : 0,
      "otaStatus" : "updateAvailable",
      "otaState" : "readyToUpdate",
      "otaProgress" : 0,
      "otaPolicy" : "autoDownload",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00",
      "permittingJoin" : false,
      "backendConnected" : true,
      "backendConnectionPersistent" : true,
      "backendOnboardingComplete" : true,
      "backendRegion" : "eu-central-1",
      "backendCountryCode" : "DK",
      "userConsents" : [ {
        "name" : "analytics",
        "value" : "enabled"
      }, {
        "name" : "diagnostics",
        "value" : "enabled"
      } ],
      "logLevel" : 3,
      "coredump" : false,
      "timezone" : "Europe/Brussels",
      "countryCode" : "XZ",
      "coordinates" : {},
      "isOn" : false
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "permittingJoin", "userConsents", "logLevel", "time", "timezone", "countryCode", "coordinates" ]
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ]
  },
  "devices" : [ {
    "id" : "9f96eced-7674-4b9f-bbf9-b9575d888638_1",
    "type" : "controller",
    "deviceType" : "blindsController",
    "createdAt" : "2022-11-01T22:43:56.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-17T21:48:45.000Z",
    "attributes" : {
      "customName" : "Office Blinder Remote ",
      "model" : "TRADFRI open/close remote",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "24.4.5",
      "hardwareVersion" : "1",
      "serialNumber" : "5C0272FFFE6C613C",
      "productCode" : "E1766",
      "batteryPercentage" : 65,
      "isOn" : false,
      "lightLevel" : 1,
      "blindsCurrentLevel" : 0,
      "blindsState" : "",
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ "isOn", "lightLevel", "blindsState" ],
      "canReceive" : [ "customName" ]
    },
    "room" : {
      "id" : "36e2e693-a042-4119-84ec-42d45a347534",
      "name" : "Office",
      "color" : "ikea_blue_no_63",
      "icon" : "rooms_display"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ],
    "isHidden" : false
  }, {
    "id" : "eadfad54-9d23-4475-92b6-0ee3d6f8b481_1",
    "type" : "blinds",
    "deviceType" : "blinds",
    "createdAt" : "2022-11-01T22:32:41.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-18T22:11:51.000Z",
    "attributes" : {
      "customName" : "Office Blinder",
      "model" : "PRAKTLYSING cellular blind",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.3.088",
      "hardwareVersion" : "1",
      "serialNumber" : "0C4314FFFE293771",
      "productCode" : "E2021",
      "batteryPercentage" : 92,
      "blindsTargetLevel" : 60,
      "blindsCurrentLevel" : 60,
      "blindsState" : "stopped",
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "blindsCurrentLevel", "blindsTargetLevel", "blindsState" ]
    },
    "room" : {
      "id" : "36e2e693-a042-4119-84ec-42d45a347534",
      "name" : "Office",
      "color" : "ikea_blue_no_63",
      "icon" : "rooms_display"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ "9f96eced-7674-4b9f-bbf9-b9575d888638_1" ],
    "isHidden" : false
  }, {
    "id" : "373f16bf-f11d-43c3-9e49-40ca8e715d7d_1",
    "type" : "gateway",
    "deviceType" : "gateway",
    "createdAt" : "2022-09-14T11:32:34.779Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-18T22:13:51.062Z",
    "attributes" : {
      "customName" : "Home",
      "model" : "DIRIGERA Hub for smart products",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.96.7",
      "hardwareVersion" : "P2.5",
      "serialNumber" : "373f16bf-f11d-43c3-9e49-40ca8e715d7d",
      "identifyStarted" : "2000-01-01T00:00:00.000Z",
      "identifyPeriod" : 0,
      "otaStatus" : "updateAvailable",
      "otaState" : "readyToUpdate",
      "otaProgress" : 0,
      "otaPolicy" : "autoDownload",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00",
      "permittingJoin" : false,
      "backendConnected" : true,
      "backendConnectionPersistent" : true,
      "backendOnboardingComplete" : true,
      "backendRegion" : "eu-central-1",
      "backendCountryCode" : "DK",
      "userConsents" : [ {
        "name" : "analytics",
        "value" : "enabled"
      }, {
        "name" : "diagnostics",
        "value" : "enabled"
      } ],
      "logLevel" : 3,
      "coredump" : false,
      "timezone" : "Europe/Brussels",
      "countryCode" : "XZ",
      "coordinates" : {},
      "isOn" : false
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "permittingJoin", "userConsents", "logLevel", "time", "timezone", "countryCode", "coordinates" ]
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ]
  } ],
  "scenes" : [ ],
  "rooms" : [ {
    "id" : "cba9578a-996f-43f9-b59f-5954a1ec9e5d",
    "name" : "Bedroom 1",
    "color" : "ikea_yellow_no_24",
    "icon" : "rooms_bed"
  }, {
    "id" : "0eca4b03-7612-46b6-85a1-1f51c38ab6b8",
    "name" : "Bathroom",
    "color" : "ikea_lilac_no_3",
    "icon" : "rooms_bathtub"
  }, {
    "id" : "36e2e693-a042-4119-84ec-42d45a347534",
    "name" : "Office",
    "color" : "ikea_blue_no_63",
    "icon" : "rooms_display"
  }, {
    "id" : "769d2eb9-e128-4188-bf7a-c8fc006c952c",
    "name" : "Hallway",
    "color" : "ikea_orange_no_11",
    "icon" : "rooms_coat_hanger"
  }, {
    "id" : "798cb45d-bcd1-4f78-9e41-065974bb1ea3",
    "name" : "Living room",
    "color" : "ikea_green_no_65",
    "icon" : "rooms_sofa"
  } ],
  "deviceSets" : [ ],
  "music" : {
    "playlists" : [ ],
    "favorites" : [ ]
  }
}
dvdgeisler commented 1 year ago

Thanks for sharing Juje! Indeed, the remote seems to be different.

dvdgeisler commented 1 year ago

Blinds and its remotes are integrated now.