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

dump devices TRADFRI Driver 10W, 30W, remote control #9

Closed OnlyBjarne closed 1 year ago

OnlyBjarne commented 1 year ago
{
  "hub" : {
    "id" : "8d6f2469-497a-492e-be0f-33af5707205c_1",
    "type" : "gateway",
    "deviceType" : "gateway",
    "createdAt" : "2022-11-01T07:28:23.583Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T13:19:39.261Z",
    "attributes" : {
      "customName" : "Home",
      "model" : "DIRIGERA Hub for smart products",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.96.11",
      "hardwareVersion" : "P2.5",
      "serialNumber" : "8d6f2469-497a-492e-be0f-33af5707205c",
      "identifyStarted" : "2022-11-09T03:38:14.000Z",
      "identifyPeriod" : -1,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoDownload",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00",
      "permittingJoin" : false,
      "backendConnected" : false,
      "backendConnectionPersistent" : false,
      "backendOnboardingComplete" : true,
      "backendRegion" : "eu-central-1",
      "backendCountryCode" : "NO",
      "userConsents" : [ {
        "name" : "analytics",
        "value" : "enabled"
      }, {
        "name" : "diagnostics",
        "value" : "enabled"
      } ],
      "logLevel" : 3,
      "coredump" : false,
      "timezone" : "Europe/Oslo",
      "countryCode" : "XZ",
      "isOn" : false
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "permittingJoin", "userConsents", "logLevel", "time", "timezone", "countryCode", "coordinates" ]
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ]
  },
  "devices" : [ {
    "id" : "8d6f2469-497a-492e-be0f-33af5707205c_1",
    "type" : "gateway",
    "deviceType" : "gateway",
    "createdAt" : "2022-11-01T07:28:23.583Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T13:19:39.261Z",
    "attributes" : {
      "customName" : "Home",
      "model" : "DIRIGERA Hub for smart products",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.96.11",
      "hardwareVersion" : "P2.5",
      "serialNumber" : "8d6f2469-497a-492e-be0f-33af5707205c",
      "identifyStarted" : "2022-11-09T03:38:14.000Z",
      "identifyPeriod" : -1,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoDownload",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00",
      "permittingJoin" : false,
      "backendConnected" : false,
      "backendConnectionPersistent" : false,
      "backendOnboardingComplete" : true,
      "backendRegion" : "eu-central-1",
      "backendCountryCode" : "NO",
      "userConsents" : [ {
        "name" : "analytics",
        "value" : "enabled"
      }, {
        "name" : "diagnostics",
        "value" : "enabled"
      } ],
      "logLevel" : 3,
      "coredump" : false,
      "timezone" : "Europe/Oslo",
      "countryCode" : "XZ",
      "isOn" : false
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "permittingJoin", "userConsents", "logLevel", "time", "timezone", "countryCode", "coordinates" ]
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ]
  }, {
    "id" : "d0aa3515-cef7-465f-8bcf-19caf59f1a98_1",
    "type" : "controller",
    "deviceType" : "lightController",
    "createdAt" : "2022-11-01T08:31:06.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T08:38:47.000Z",
    "attributes" : {
      "customName" : "Remote 1",
      "model" : "TRADFRI remote control",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "24.4.5",
      "hardwareVersion" : "1",
      "serialNumber" : "842E14FFFEA8A635",
      "productCode" : "E1810",
      "batteryPercentage" : 65,
      "isOn" : false,
      "lightLevel" : 1,
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ "isOn", "lightLevel" ],
      "canReceive" : [ "customName" ]
    },
    "room" : {
      "id" : "45e3cc5e-8c64-478b-ac32-25762b431db4",
      "name" : "Kjøkken",
      "color" : "ikea_green_no_65",
      "icon" : "rooms_arm_chair"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ ],
    "isHidden" : false
  }, {
    "id" : "eb9a4367-9e23-4d37-9566-401a7ae7caf0_1",
    "type" : "light",
    "deviceType" : "light",
    "createdAt" : "2022-11-01T08:33:27.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T10:31:23.000Z",
    "customIcon" : "lighting_spot_chandelier",
    "attributes" : {
      "customName" : "Vasken",
      "model" : "TRADFRI Driver 30W",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.3.086",
      "hardwareVersion" : "1",
      "serialNumber" : "B4E3F9FFFE128FF2",
      "productCode" : "ICPSHC2430EUIL1",
      "isOn" : false,
      "startupOnOff" : "startOn",
      "lightLevel" : 100,
      "identifyStarted" : "2022-11-01T08:34:45.000Z",
      "identifyPeriod" : 15,
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "isOn", "lightLevel" ]
    },
    "room" : {
      "id" : "45e3cc5e-8c64-478b-ac32-25762b431db4",
      "name" : "Kjøkken",
      "color" : "ikea_green_no_65",
      "icon" : "rooms_arm_chair"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ "d0aa3515-cef7-465f-8bcf-19caf59f1a98_1" ],
    "isHidden" : false
  }, {
    "id" : "05c15afa-2d11-4b34-a156-20da547d7757_1",
    "type" : "light",
    "deviceType" : "light",
    "createdAt" : "2022-11-01T08:32:38.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T10:31:23.000Z",
    "customIcon" : "lighting_spot_chandelier",
    "attributes" : {
      "customName" : "Vitrine",
      "model" : "TRADFRI Driver 10W",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.3.086",
      "hardwareVersion" : "1",
      "serialNumber" : "B4E3F9FFFECA8570",
      "productCode" : "ICPSHC2410EUIL1",
      "isOn" : false,
      "startupOnOff" : "startOn",
      "lightLevel" : 100,
      "identifyStarted" : "2022-11-01T08:34:22.000Z",
      "identifyPeriod" : 15,
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "isOn", "lightLevel" ]
    },
    "room" : {
      "id" : "45e3cc5e-8c64-478b-ac32-25762b431db4",
      "name" : "Kjøkken",
      "color" : "ikea_green_no_65",
      "icon" : "rooms_arm_chair"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ "d0aa3515-cef7-465f-8bcf-19caf59f1a98_1" ],
    "isHidden" : false
  }, {
    "id" : "72e7bdbd-2d0e-433a-ad63-88a78ebbb101_1",
    "type" : "light",
    "deviceType" : "light",
    "createdAt" : "2022-11-01T08:33:46.000Z",
    "isReachable" : true,
    "lastSeen" : "2022-11-12T10:31:23.000Z",
    "customIcon" : "lighting_spot_chandelier",
    "attributes" : {
      "customName" : "Platetopp",
      "model" : "TRADFRI Driver 30W",
      "manufacturer" : "IKEA of Sweden",
      "firmwareVersion" : "2.3.086",
      "hardwareVersion" : "1",
      "serialNumber" : "B4E3F9FFFE738F47",
      "productCode" : "ICPSHC2430EUIL1",
      "isOn" : false,
      "startupOnOff" : "startOn",
      "lightLevel" : 100,
      "identifyStarted" : "2022-11-01T08:34:50.000Z",
      "identifyPeriod" : 15,
      "permittingJoin" : false,
      "otaStatus" : "upToDate",
      "otaState" : "readyToCheck",
      "otaProgress" : 0,
      "otaPolicy" : "autoUpdate",
      "otaScheduleStart" : "00:00",
      "otaScheduleEnd" : "00:00"
    },
    "capabilities" : {
      "canSend" : [ ],
      "canReceive" : [ "customName", "isOn", "lightLevel" ]
    },
    "room" : {
      "id" : "45e3cc5e-8c64-478b-ac32-25762b431db4",
      "name" : "Kjøkken",
      "color" : "ikea_green_no_65",
      "icon" : "rooms_arm_chair"
    },
    "deviceSet" : [ ],
    "remoteLinks" : [ "d0aa3515-cef7-465f-8bcf-19caf59f1a98_1" ],
    "isHidden" : false
  } ],
  "scenes" : [ ],
  "rooms" : [ {
    "id" : "45e3cc5e-8c64-478b-ac32-25762b431db4",
    "name" : "Kjøkken",
    "color" : "ikea_green_no_65",
    "icon" : "rooms_arm_chair"
  } ],
  "deviceSets" : [ ],
  "music" : {
    "playlists" : [ ],
    "favorites" : [ ]
  }
}

Thank you for doing this!

dvdgeisler commented 1 year ago

Thanks for sharing. All devices must be working now.