Récupérer les notifications du lave linge

Salut,

J’ai installé et configuré le plugin smartthing, mon lave linge et TV remonte correctement mais je cherche à récupérer la notification de fin de cycle pour lancer un scénario Jeedom. Est ce possible ? Si oui comment ?
Dans la doc, je devrais avoir une page notification mais je ne l’ai pas dans mon plugin. Pareil pour la page historique.

Bonjour.

Es-tu en beta ou en stable ?
Comme indiqué dans le changelog et sur la page d’actualité du plugin, les notifications et historiques ne sont disponibles qu’en beta pour l’instant.

Ok, j’étai passé à côté de ça. Je vais passer en beta mais comment récupérer la notification du coup ?

Dans la doc, il est indiqué que tu peux pas rater la page notifications qui affiche toutes les notifications.
Ensuite, c’est en fonction de la notification : si un appareil est à l’origine, la commande info « Dernière notification » sera créée dans l’équipement de l’appareil et remontera l’info, si aucun appareil n’est indiqué, la commande info « Dernière notification » sera créée dans l’équipement location (emplacement) et remontera l’info.
C’est une fois cette commande info créée dans l’appareil en question (ex: lave-linge) que tu pourras t’en servir pour gérer ensuite un scénario…

1 « J'aime »

Ok, merci. Je vais attendre la fin d’un cycle pour recevoir la notification.

Tu me cite la doc à chaque fois, mais j’ai beau la relire dans tous les sens, je ne trouve pas ce que tu viens d’expliquer. Les signets du sommaire ne renvois pas au bon endroit.

Par contre, dès que j’active le widget du lave linge, j’ai l’erreur « Internal servor 500 » sur mon dashboard.
Si je supprime le widget, les infos s’affichent. Je n’avais pas cette erreur en version stable.

Une idée d’où ça vient ?

Envoie-moi les infos brutes de l’appareil stp.

Voilà: 
[
{
"deviceId" : "6be2778d-bdac-5612-5c7f-5c11da764146",
"name" : "[washer] Samsung",
"label" : "Lave-linge",
"manufacturerName" : "Samsung Electronics",
"presentationId" : "DA-WM-WM-000001",
"deviceManufacturerCode" : "Samsung Electronics",
"locationId" : "e0429687-b55b-44d9-b446-cd414d8a37bd",
"ownerId" : "ef3f4aef-ec82-fef2-acbd-3149ec4b3901",
"roomId" : "382da281-14bb-4c55-92d8-78943c71ab95",
"deviceTypeName" : "Samsung OCF Washer",
"components" : [
{
"id" : "main",
"capabilities" : [
{
"id" : "execute",
"version" : 1
},
{
"id" : "ocf",
"version" : 1
},
{
"id" : "powerConsumptionReport",
"version" : 1
},
{
"id" : "refresh",
"version" : 1
},
{
"id" : "remoteControlStatus",
"version" : 1
},
{
"id" : "switch",
"version" : 1
},
{
"id" : "washerOperatingState",
"version" : 1
},
{
"id" : "custom.disabledCapabilities",
"version" : 1
},
{
"id" : "custom.dryerDryLevel",
"version" : 1
},
{
"id" : "custom.jobBeginningStatus",
"version" : 1
},
{
"id" : "custom.supportedOptions",
"version" : 1
},
{
"id" : "custom.washerAutoDetergent",
"version" : 1
},
{
"id" : "custom.washerAutoSoftener",
"version" : 1
},
{
"id" : "custom.washerRinseCycles",
"version" : 1
},
{
"id" : "custom.washerSoilLevel",
"version" : 1
},
{
"id" : "custom.washerSpinLevel",
"version" : 1
},
{
"id" : "custom.washerWaterTemperature",
"version" : 1
},
{
"id" : "samsungce.autoDispenseDetergent",
"version" : 1
},
{
"id" : "samsungce.autoDispenseSoftener",
"version" : 1
},
{
"id" : "samsungce.detergentOrder",
"version" : 1
},
{
"id" : "samsungce.detergentState",
"version" : 1
},
{
"id" : "samsungce.deviceIdentification",
"version" : 1
},
{
"id" : "samsungce.driverVersion",
"version" : 1
},
{
"id" : "samsungce.kidsLock",
"version" : 1
},
{
"id" : "samsungce.softenerOrder",
"version" : 1
},
{
"id" : "samsungce.softenerState",
"version" : 1
},
{
"id" : "samsungce.washerBubbleSoak",
"version" : 1
},
{
"id" : "samsungce.washerCycle",
"version" : 1
},
{
"id" : "samsungce.washerCyclePreset",
"version" : 1
},
{
"id" : "samsungce.washerWashingTime",
"version" : 1
},
{
"id" : "samsungce.washerWaterLevel",
"version" : 1
},
{
"id" : "samsungce.washerWaterValve",
"version" : 1
},
{
"id" : "samsungce.welcomeMessage",
"version" : 1
},
{
"id" : "samsungce.waterConsumptionReport",
"version" : 1
}
],
"categories" : [
{
"name" : "Washer",
"categoryType" : "manufacturer"
}
]
}
],
"createTime" : "2021-02-11T13:09:38.222Z",
"profile" : {
"id" : "d5952b45-08c2-31bc-81e3-63805e8d83f8"
},
"type" : "OCF",
"restrictionTier" : 0
},
{
"components" : {
"main" : {
"samsungce.washerWaterLevel" : {
"supportedWaterLevel" : {
"value" : null,
"timestamp" : "2021-03-31T16:59:48.991Z"
},
"waterLevel" : {
"value" : null,
"timestamp" : "2021-04-17T11:43:33.432Z"
}
},
"samsungce.welcomeMessage" : {
"welcomeMessage" : {
"value" : null,
"timestamp" : "2021-04-17T11:43:33.112Z"
}
},
"custom.washerWaterTemperature" : {
"supportedWasherWaterTemperature" : {
"value" : [
"none",
"cold",
"20",
"30",
"40",
"60",
"90"
],
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"washerWaterTemperature" : {
"value" : "40",
"timestamp" : "2021-07-10T16:28:59.320Z"
}
},
"samsungce.autoDispenseSoftener" : {
"remainingAmount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.468Z"
},
"amount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.468Z"
},
"supportedDensity" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.468Z"
},
"density" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.468Z"
},
"supportedAmount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.468Z"
}
},
"samsungce.autoDispenseDetergent" : {
"remainingAmount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.445Z"
},
"amount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.445Z"
},
"supportedDensity" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.445Z"
},
"density" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.445Z"
},
"supportedAmount" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:45.445Z"
}
},
"samsungce.deviceIdentification" : {
"micomAssayCode" : {
"value" : "20260041",
"timestamp" : "2021-04-05T10:16:02.974Z"
},
"modelName" : {
"value" : null,
"timestamp" : "2021-04-17T11:43:22.670Z"
},
"serialNumber" : {
"value" : null,
"timestamp" : "2021-04-15T11:54:15.704Z"
},
"serialNumberExtra" : {
"value" : null,
"timestamp" : "2021-04-15T11:54:11.530Z"
},
"modelClassificationCode" : {
"value" : "200101020014113002A3020700000000",
"timestamp" : "2021-04-05T10:16:02.974Z"
},
"description" : {
"value" : "DA_WM_TP2_20_COMMON_WW90T65/DC92-02613A_D071",
"timestamp" : "2021-04-05T10:16:02.974Z"
},
"binaryId" : {
"value" : "DA_WM_TP2_20_COMMON",
"timestamp" : "2021-04-05T10:16:02.974Z"
}
},
"samsungce.washerWaterValve" : {
"waterValve" : {
"value" : null,
"timestamp" : "2021-04-17T11:43:28.422Z"
},
"supportedWaterValve" : {
"value" : null,
"timestamp" : "2021-03-31T16:59:48.962Z"
}
},
"washerOperatingState" : {
"completionTime" : {
"value" : "2021-07-15T16:39:39Z",
"timestamp" : "2021-07-15T14:01:39.190Z"
},
"machineState" : {
"value" : "stop",
"timestamp" : "2021-07-15T10:58:37.934Z"
},
"washerJobState" : {
"value" : "none",
"timestamp" : "2021-07-15T11:08:46.381Z"
},
"supportedMachineStates" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:44.531Z"
}
},
"switch" : {
"switch" : {
"value" : "off",
"timestamp" : "2021-07-15T11:08:46.471Z"
}
},
"custom.washerAutoSoftener" : {
"washerAutoSoftener" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:44.112Z"
}
},
"samsungce.washerCycle" : {
"supportedCycles" : {
"value" : [
{
"cycle" : "1C",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "8410",
"default" : "40",
"options" : [
"40"
]
}
}
},
{
"cycle" : "1B",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "847E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40",
"60",
"90"
]
}
}
},
{
"cycle" : "1E",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A33F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "933F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "811E",
"default" : "cold",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "1F",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "8102",
"default" : "cold",
"options" : [
"cold"
]
}
}
},
{
"cycle" : "25",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "843E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40",
"60"
]
}
}
},
{
"cycle" : "26",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A207",
"default" : "400",
"options" : [
"rinseHold",
"noSpin",
"400"
]
},
"rinseCycle" : {
"raw" : "920F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3"
]
},
"waterTemperature" : {
"raw" : "831E",
"default" : "30",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "33",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "933F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "857E",
"default" : "60",
"options" : [
"cold",
"20",
"30",
"40",
"60",
"90"
]
}
}
},
{
"cycle" : "24",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A30F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800"
]
},
"rinseCycle" : {
"raw" : "930F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3"
]
},
"waterTemperature" : {
"raw" : "841E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "32",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A33F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "833E",
"default" : "30",
"options" : [
"cold",
"20",
"30",
"40",
"60"
]
}
}
},
{
"cycle" : "20",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "943F",
"default" : "4",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "857E",
"default" : "60",
"options" : [
"cold",
"20",
"30",
"40",
"60",
"90"
]
}
}
},
{
"cycle" : "22",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A30F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800"
]
},
"rinseCycle" : {
"raw" : "920F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3"
]
},
"waterTemperature" : {
"raw" : "841E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "23",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "930F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3"
]
},
"waterTemperature" : {
"raw" : "831E",
"default" : "30",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "2F",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A30F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800"
]
},
"rinseCycle" : {
"raw" : "933F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "831E",
"default" : "30",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "21",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "943F",
"default" : "4",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "841E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "2A",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A30F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800"
]
},
"rinseCycle" : {
"raw" : "933F",
"default" : "3",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "831E",
"default" : "30",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "2E",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "943F",
"default" : "4",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "867E",
"default" : "90",
"options" : [
"cold",
"20",
"30",
"40",
"60",
"90"
]
}
}
},
{
"cycle" : "2D",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A30F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "841E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40"
]
}
}
},
{
"cycle" : "34",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A33F",
"default" : "800",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "843E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40",
"60"
]
}
}
},
{
"cycle" : "30",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "35F0",
"default" : "off",
"options" : [
"on",
"off"
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "923F",
"default" : "2",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "843E",
"default" : "40",
"options" : [
"cold",
"20",
"30",
"40",
"60"
]
}
}
},
{
"cycle" : "27",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53F",
"default" : "1200",
"options" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "913F",
"default" : "1",
"options" : [
"0",
"1",
"2",
"3",
"4",
"5"
]
},
"waterTemperature" : {
"raw" : "8000",
"options" : [
]
}
}
},
{
"cycle" : "28",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A53E",
"default" : "1200",
"options" : [
"noSpin",
"400",
"800",
"1000",
"1200"
]
},
"rinseCycle" : {
"raw" : "9000",
"options" : [
]
},
"waterTemperature" : {
"raw" : "8000",
"options" : [
]
}
}
},
{
"cycle" : "3A",
"supportedOptions" : {
"bubbleSoak" : {
"raw" : "3500",
"options" : [
]
},
"spinLevel" : {
"raw" : "A520",
"default" : "1200",
"options" : [
"1200"
]
},
"rinseCycle" : {
"raw" : "9204",
"default" : "2",
"options" : [
"2"
]
},
"waterTemperature" : {
"raw" : "8520",
"default" : "60",
"options" : [
"60"
]
}
}
}
],
"timestamp" : "2021-04-05T10:16:02.974Z"
},
"washerCycle" : {
"value" : "Table_02_Course_1C",
"timestamp" : "2021-07-15T11:08:46.467Z"
},
"referenceTable" : {
"value" : {
"id" : "Table_02"
},
"timestamp" : "2021-03-31T16:59:48.836Z"
}
},
"samsungce.waterConsumptionReport" : {
"waterConsumption" : {
"value" : null,
"timestamp" : "2021-04-05T10:16:02.894Z"
}
},
"ocf" : {
"st" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:44.002Z"
},
"mndt" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:40.935Z"
},
"mnfv" : {
"value" : "DA_WM_TP2_20_COMMON_30210226",
"timestamp" : "2021-03-23T16:19:04.332Z"
},
"mnhw" : {
"value" : "MediaTek",
"timestamp" : "2021-02-11T13:15:36.610Z"
},
"di" : {
"value" : "6be2778d-bdac-5612-5c7f-5c11da764146",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"mnsl" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:40.184Z"
},
"dmv" : {
"value" : "res.1.1.0,sh.1.1.0",
"timestamp" : "2021-04-05T10:16:02.315Z"
},
"n" : {
"value" : "[washer] Samsung",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"mnmo" : {
"value" : "DA_WM_TP2_20_COMMON|20260041|200101020014113002A3020700000000",
"timestamp" : "2021-02-11T13:15:36.610Z"
},
"vid" : {
"value" : "DA-WM-WM-000001",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"mnmn" : {
"value" : "Samsung Electronics",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"mnml" : {
"value" : "http://www.samsung.com",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"mnpv" : {
"value" : "DAWIT 2.0",
"timestamp" : "2021-02-11T13:15:36.610Z"
},
"mnos" : {
"value" : "TizenRT 1.0 + IPv6",
"timestamp" : "2021-02-11T13:15:36.610Z"
},
"pi" : {
"value" : "6be2778d-bdac-5612-5c7f-5c11da764146",
"timestamp" : "2021-02-11T13:09:38.350Z"
},
"icv" : {
"value" : "core.1.1.0",
"timestamp" : "2021-02-11T13:09:38.350Z"
}
},
"custom.dryerDryLevel" : {
"dryerDryLevel" : {
"value" : null,
"timestamp" : "2021-04-15T11:43:12.052Z"
},
"supportedDryerDryLevel" : {
"value" : null,
"timestamp" : "2021-03-31T17:00:12.662Z"
}
},
"custom.disabledCapabilities" : {
"disabledCapabilities" : {
"value" : [
"samsungce.washerCyclePreset",
"samsungce.waterConsumptionReport",
"samsungce.autoDispenseDetergent",
"samsungce.autoDispenseSoftener",
"custom.washerSoilLevel",
"custom.dryerWrinklePrevent",
"samsungce.washerWaterLevel",
"samsungce.washerWaterValve",
"samsungce.washerWashingTime",
"custom.washerAutoDetergent",
"custom.washerAutoSoftener",
"samsungce.welcomeMessage"
],
"timestamp" : "2021-04-05T10:16:02.974Z"
}
},
"custom.washerRinseCycles" : {
"supportedWasherRinseCycles" : {
"value" : [
"0",
"1",
"2",
"3",
"4",
"5"
],
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"washerRinseCycles" : {
"value" : "2",
"timestamp" : "2021-07-10T16:28:59.329Z"
}
},
"samsungce.driverVersion" : {
"versionNumber" : {
"value" : 21051701,
"timestamp" : "2021-07-02T17:51:15.054Z"
}
},
"samsungce.kidsLock" : {
"lockState" : {
"value" : "unlocked",
"timestamp" : "2021-02-11T13:09:38.921Z"
}
},
"samsungce.detergentOrder" : {
"alarmEnabled" : {
"value" : false,
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"orderThreshold" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
}
},
"powerConsumptionReport" : {
"powerConsumption" : {
"value" : {
"energy" : 63100,
"deltaEnergy" : 0,
"power" : 0,
"powerEnergy" : 0,
"persistedEnergy" : 0,
"energySaved" : 0,
"start" : "2021-07-15T11:08:37Z",
"end" : "2021-07-15T14:01:39Z"
},
"timestamp" : "2021-07-15T14:01:39.190Z"
}
},
"samsungce.softenerOrder" : {
"alarmEnabled" : {
"value" : false,
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"orderThreshold" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
}
},
"custom.washerSoilLevel" : {
"supportedWasherSoilLevel" : {
"value" : null,
"timestamp" : "2021-02-11T13:10:52.243Z"
},
"washerSoilLevel" : {
"value" : null,
"timestamp" : "2021-02-11T13:10:52.243Z"
}
},
"samsungce.washerBubbleSoak" : {
"status" : {
"value" : "off",
"timestamp" : "2021-07-15T14:01:51.113Z"
}
},
"samsungce.washerCyclePreset" : {
"maxNumberOfPresets" : {
"value" : 10,
"timestamp" : "2021-04-05T10:16:04.493Z"
},
"presets" : {
"value" : null,
"timestamp" : "2021-04-15T11:43:09.142Z"
}
},
"samsungce.detergentState" : {
"remainingAmount" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"dosage" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"initialAmount" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"detergentType" : {
"value" : "none",
"timestamp" : "2021-04-05T10:16:02.974Z"
}
},
"refresh" : [
],
"custom.jobBeginningStatus" : {
"jobBeginningStatus" : {
"value" : "None",
"timestamp" : "2021-03-09T04:28:17.137Z"
}
},
"execute" : {
"data" : {
"value" : {
"payload" : {
"rt" : [
"x.com.samsung.da.mode"
],
"if" : [
"oic.if.baseline",
"oic.if.a"
],
"x.com.samsung.da.options" : [
"BubbleSoak_Off"
]
}
},
"data" : {
"href" : "/course/vs/0"
},
"timestamp" : "2021-07-15T14:01:51.113Z"
}
},
"samsungce.softenerState" : {
"remainingAmount" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"dosage" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"softenerType" : {
"value" : "unknown",
"timestamp" : "2021-02-11T13:09:38.921Z"
},
"initialAmount" : {
"value" : 0,
"unit" : "cc",
"timestamp" : "2021-02-11T13:09:38.921Z"
}
},
"remoteControlStatus" : {
"remoteControlEnabled" : {
"value" : "false",
"timestamp" : "2021-04-15T08:07:20.285Z"
}
},
"custom.supportedOptions" : {
"referenceTable" : {
"value" : {
"id" : "Table_02"
},
"timestamp" : "2021-03-31T16:59:48.836Z"
},
"supportedCourses" : {
"value" : [
"1C",
"1B",
"1E",
"1F",
"25",
"26",
"33",
"24",
"32",
"20",
"22",
"23",
"2F",
"21",
"2A",
"2E",
"2D",
"34",
"30",
"27",
"28",
"3A"
],
"timestamp" : "2021-02-11T13:09:38.921Z"
}
},
"samsungce.washerWashingTime" : {
"supportedWashingTimes" : {
"value" : null,
"timestamp" : "2021-03-31T16:59:49.182Z"
},
"washingTime" : {
"value" : null,
"unit" : "min",
"timestamp" : "2021-04-15T11:43:07.746Z"
}
},
"custom.washerAutoDetergent" : {
"washerAutoDetergent" : {
"value" : null,
"timestamp" : "2021-02-11T13:09:38.558Z"
}
},
"custom.washerSpinLevel" : {
"washerSpinLevel" : {
"value" : "1200",
"timestamp" : "2021-07-15T11:08:46.473Z"
},
"supportedWasherSpinLevel" : {
"value" : [
"rinseHold",
"noSpin",
"400",
"800",
"1000",
"1200"
],
"timestamp" : "2021-02-11T13:09:38.921Z"
}
}
}
}
}
]

1 « J'aime »

Je ne reproduis pas, j’ai créé ton appareil sur ma maquette avec tes infos brutes et ça ne génère pas d’erreur.
Relance une synchronisation. Et réessaye d’activer le widget.

J’ai fait ta manipulation, ça n’a rien changé. J’ai activé le log en debug du plugin mais rien ne s’affiche.

Supprime l’équipement et relance une synchronisation.
Y a une commande qui passe mal ou qui n’est plus prise en compte proprement, je pense.

C’est bon ça fonctionne. J’ai bien les notifications mais comment les récupérer dans un scénario ? J’ai pas compris ta méthode ? J’ai pas la commande dernière notification qui se créée.

Envoie-moi un imprim-ecran de la page générale des notifications sur le plugin (où l’on voit toutes les notifications de ton compte).
Et celle de la page santé.

Ex : si, dans les 5 dernières notifications de la page Notifications, il y a une notification liée au Lave-linge, dans l’équipement Lav-linge, une nouvelle commande « Derniere notification » sera créée.

Salut,

Voici les 2 captures que tu m’as demandées. Je confirme que je n’ai pas la commandé créée. Par contre, je vois une notification reçu le 17/07/2021 sur le Lave Linge et dans la page santé, la dernière communication date du 15/07/2021. Ya un truc qui déconne.
Pareil pour la TV, dernière communication le 17/07/2021 avec un status allumé alors qu’elle est éteinte depuis.

Quel est l’interval de cron choisi ?
Est-ce que le cron passe sur le plugin ?

Mets les logs en debug stp.

Le CRON était désactivé de base à l’installation du plugin.

Je l’ai mis sur 10 min.

Maintenant j’ai une erreur ’’Une authentification est nécessaire pour accéder à la ressource.’’ quand je rentre dans le panneau de notification des appareils. Et je n’ai plus de notification qui s’affiche dans la liste.

Pourtant les commandes et statuts fonctionnent correctement. J’ai refait une synchronisation mais ça ne change rien.

Dès que tu sauvegardes ton équipement, si la valeur est vide, il met 1 min en intervalle.

Crée un nouveau jeton smartthings et remets le nouveau le champ prévu.
Puis relance une synchronisation.

Le CRON est au niveau du plugin pas de l’équipement ? Je ne l’avais pas touché donc il s’est mis tout seul sur désactivé à l’installation.

Je regénéré le jeton, j’ai refait une synchro et j’ai toujours se message d’erreur quand je vais dans la page notification.

Le fichier log est en pièce jointe, on retrouve l’erreur 401 pour l’authentification.

smartthings.txt (60,4 Ko)

A la première installation, il n’a aucune valeur.
Si tu sauvegardes à ce moment la configuration plugin, effectivement il gardera « jamais » en valeur.

C’est un problème de droits lié au jeton.
As-tu bien généré le jeton en activant les notifications :

Oui, j’ai tout coché au moment de la création du jeton.

Bon les notifications sont revenus, plus de message d’erreurs mais toujours pas de commande pour les notifications, j’ai vérifié dans la configuration du plugin que la case ’’ créer les commandes de Notifications ’’ est bien cochée.

Là je désespère d’y arriver !