iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Issues with Samsung Fridge showing double on/off and doors. #159

Closed siobhanellis closed 1 year ago

siobhanellis commented 1 year ago

Describe The Bug: When the SmartThings plugin connects to my fridge it shows 2 power on/off switches, and it shows 4 doors. I have done some investigation and:

1) My fridge does have 4 doors 2) 2 door sensors reflect the status of either of the 2 fridge doors (as in if I open either fridge door then both of the sensors show open) 3) 2 door sensors reflect the status of the 2 freezer doors (as in if I open either freezer door then both of the sensors show open)

I do not know why I have two power buttons.

Just configure SmartThings with 1.5.4 (Thank you, such an improvement over previous versions)

Expected behavior: Either four door sensors that reflect the individual state of each door or 2 door sensors, one for the fridge and one for the freezer. 1 power switch

Logs:

Show the Homebridge logs here, remove any sensitive information.

[3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Washing machine polling... [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Received getSwitchState() event for Washing machine [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Refreshing status for Washing machine - current timestamp is 1680170857684 [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Calling Smartthings to get an update for Washing machine [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170864502 [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] State for Family Hub: 3 [3/30/2023, 11:07:47 AM] [Smartthings Plug (IK)] Family Hub value updated. [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Updated status for Washing machine-main: {"samsungce.washerDelayEnd":{"remainingTime":{"value":0,"unit":"min","timestamp":"2022-02-19T07:53:32.590Z"},"minimumReservableTime":{"value":163,"unit":"min","timestamp":"2023-03-27T11:41:44.302Z"}},"samsungce.washerWaterLevel":{"supportedWaterLevel":{"value":null},"waterLevel":{"value":null}},"samsungce.welcomeMessage":{"welcomeMessage":{"value":null}},"custom.washerWaterTemperature":{"supportedWasherWaterTemperature":{"value":["none","cold","20","30","40","60","90"],"timestamp":"2022-02-19T07:53:32.610Z"},"washerWaterTemperature":{"value":"none","timestamp":"2023-03-29T21:26:11.728Z"}},"samsungce.autoDispenseSoftener":{"remainingAmount":{"value":null},"amount":{"value":null},"supportedDensity":{"value":null},"density":{"value":null},"supportedAmount":{"value":null}},"samsungce.dongleSoftwareInstallation":{"status":{"value":"completed","timestamp":"2022-06-14T12:06:11.052Z"}},"samsungce.autoDispenseDetergent":{"remainingAmount":{"value":null},"amount":{"value":null},"supportedDensity":{"value":null},"density":{"value":null},"supportedAmount":{"value":null},"availableTypes":{"value":null},"type":{"value":null}},"samsungce.deviceIdentification":{"micomAssayCode":{"value":"20260041","timestamp":"2022-02-19T07:53:32.487Z"},"modelName":{"value":null},"serialNumber":{"value":null},"serialNumberExtra":{"value":null},"modelClassificationCode":{"value":"200100020015110202A3020700000000","timestamp":"2022-02-19T07:53:32.487Z"},"description":{"value":"DA_WM_TP2_20_COMMON_WW12T50/DC92-02857A_9029","timestamp":"2022-02-19T07:53:32.487Z"},"binaryId":{"value":"DA_WM_TP2_20_COMMON","timestamp":"2023-03-29T21:26:11.533Z"}},"samsungce.washerWaterValve":{"waterValve":{"value":null},"supportedWaterValve":{"value":null}},"washerOperatingState":{"completionTime":{"value":"2023-03-30T00:09:11Z","timestamp":"2023-03-29T21:26:11.588Z"},"machineState":{"value":"stop","timestamp":"2023-03-27T11:41:44.392Z"},"washerJobState":{"value":"none","timestamp":"2023-03-27T11:41:44.392Z"},"supportedMachineStates":{"value":null}},"switch":{"switch":{"value":"off","timestamp":"2023-03-27T11:41:43.894Z"}},"custom.washerAutoSoftener":{"washerAutoSoftener":{"value":null}},"samsungce.washerFreezePrevent":{"operatingState":{"value":null}},"samsungce.washerCycle":{"supportedCycles":{"value":[{"cycle":"1C","supportedOptions":{"bubbleSoak":{"raw":"3500","default":"none","options":[]},"spinLevel":{"raw":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"rinseCycle":{"raw":"923F","default":"2","options":["0","1","2","3","4","5"]},"waterTemperature":{"raw":"8000","default":"none","options":[]}}},{"cycle":"1B","supportedOptions":{"bubbleSoak":{"raw":"35F0","default":"off","options":["on","off"]},"spinLevel":{"raw":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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","default":"none","options":[]},"spinLevel":{"raw":"A43F","default":"1000","options":["rinseHold","noSpin","400","800","1000","1200"]},"rinseCycle":{"raw":"923F","default":"2","options":["0","1","2","3","4","5"]},"waterTemperature":{"raw":"811E","default":"cold","options":["cold","20","30","40"]}}},{"cycle":"1F","supportedOptions":{"bubbleSoak":{"raw":"3500","default":"none","options":[]},"spinLevel":{"raw":"A57F","default":"1200","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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":"A57F","default":"1200","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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","default":"none","options":[]},"spinLevel":{"raw":"A207","default":"400","options":["rinseHold","noSpin","400"]},"rinseCycle":{"raw":"920F","default":"2","options":["0","1","2","3"]},"waterTemperature":{"raw":"811E","default":"cold","options":["cold","20","30","40"]}}},{"cycle":"33","supportedOptions":{"bubbleSoak":{"raw":"35F0","default":"off","options":["on","off"]},"spinLevel":{"raw":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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":"A37F","default":"800","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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","default":"none","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","default":"none","options":[]},"spinLevel":{"raw":"A57F","default":"1200","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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","default":"none","options":[]},"spinLevel":{"raw":"A57F","default":"1200","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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":"A57F","default":"1200","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"rinseCycle":{"raw":"923F","default":"2","options":["0","1","2","3","4","5"]},"waterTemperature":{"raw":"833E","default":"30","options":["cold","20","30","40","60"]}}},{"cycle":"30","supportedOptions":{"bubbleSoak":{"raw":"35F0","default":"off","options":["on","off"]},"spinLevel":{"raw":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"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","default":"none","options":[]},"spinLevel":{"raw":"A67F","default":"1400","options":["rinseHold","noSpin","400","800","1000","1200","1400"]},"rinseCycle":{"raw":"913F","default":"1","options":["0","1","2","3","4","5"]},"waterTemperature":{"raw":"8000","default":"none","options":[]}}},{"cycle":"28","supportedOptions":{"bubbleSoak":{"raw":"3500","default":"none","options":[]},"spinLevel":{"raw":"A47E","default":"1000","options":["noSpin","400","800","1000","1200","1400"]},"rinseCycle":{"raw":"9000","default":"0","options":[]},"waterTemperature":{"raw":"8000","default":"none","options":[]}}},{"cycle":"3A","supportedOptions":{"bubbleSoak":{"raw":"3500","default":"none","options":[]},"waterTemperature":{"raw":"8520","default":"70","options":["70"]},"spinLevel":{"raw":"A520","default":"1200","options":["1200"]},"rinseCycle":{"raw":"9204","default":"2","options":["2"]}}}],"timestamp":"2023-03-18T16:50:45.532Z"},"washerCycle":{"value":"Table_02_Course_1C","timestamp":"2023-03-27T11:41:44.115Z"},"referenceTable":{"value":{"id":"Table_02"},"timestamp":"2022-02-19T07:53:32.736Z"}},"samsungce.waterConsumptionReport":{"waterConsumption":{"value":{"cumulativeAmount":9955600,"delta":0,"start":"2023-03-22T20:55:19Z","end":"2023-03-22T22:21:16Z"},"timestamp":"2023-03-22T22:21:16.995Z"}},"ocf":{"st":{"value":null},"mndt":{"value":null},"mnfv":{"value":"DA_WM_TP2_20_COMMON_30220725","timestamp":"2022-09-20T04:52:26.448Z"},"mnhw":{"value":"MediaTek","timestamp":"2022-02-19T07:53:33.584Z"},"di":{"value":"cdca81d4-b9aa-d373-bd15-e23deb847dc2","timestamp":"2022-02-19T07:53:33.584Z"},"mnsl":{"value":"http://www.samsung.com","timestamp":"2022-02-19T07:53:33.584Z"},"dmv":{"value":"res.1.1.0,sh.1.1.0","timestamp":"2022-09-20T04:52:26.720Z"},"n":{"value":"[washer] Samsung","timestamp":"2022-02-19T07:53:33.584Z"},"mnmo":{"value":"DA_WM_TP2_20_COMMON|20260041|200100020015110202A3020700000000","timestamp":"2022-02-19T07:53:33.584Z"},"vid":{"value":"DA-WM-WM-000001","timestamp":"2022-02-19T07:53:33.584Z"},"mnmn":{"value":"Samsung Electronics","timestamp":"2022-02-19T07:53:33.584Z"},"mnml":{"value":"http://www.samsung.com","timestamp":"2022-02-19T07:53:33.584Z"},"mnpv":{"value":"DAWIT 2.0","timestamp":"2022-02-19T07:53:33.584Z"},"mnos":{"value":"TizenRT 2.0 + IPv6","timestamp":"2022-09-20T04:52:26.448Z"},"pi":{"value":"cdca81d4-b9aa-d373-bd15-e23deb847dc2","timestamp":"2022-02-19T07:53:33.584Z"},"icv":{"value":"core.1.1.0","timestamp":"2022-02-19T07:53:33.584Z"}},"custom.dryerDryLevel":{"dryerDryLevel":{"value":null},"supportedDryerDryLevel":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.autoDispenseDetergent","samsungce.autoDispenseSoftener","samsungce.waterConsumptionReport","samsungce.washerCyclePreset","samsungce.welcomeMessage","samsungce.dongleSoftwareInstallation","demandResponseLoadControl","samsungce.washerFreezePrevent","custom.dryerDryLevel","custom.washerSoilLevel","samsungce.washerWaterLevel","samsungce.washerWaterValve","samsungce.washerWashingTime","custom.washerAutoDetergent","custom.washerAutoSoftener"],"timestamp":"2023-01-20T05:56:09.887Z"}},"custom.washerRinseCycles":{"supportedWasherRinseCycles":{"value":["0","1","2","3","4","5"],"timestamp":"2022-02-19T07:53:32.610Z"},"washerRinseCycles":{"value":"2","timestamp":"2023-03-27T11:41:44.397Z"}},"samsungce.driverVersion":{"versionNumber":{"value":23020101,"timestamp":"2023-03-23T20:03:11.518Z"}},"sec.diagnosticsInformation":{"logType":{"value":["errCode","dump"],"timestamp":"2022-09-20T04:52:26.475Z"},"endpoint":{"value":"SSM","timestamp":"2022-09-20T04:52:26.475Z"},"minVersion":{"value":"1.0","timestamp":"2022-09-20T04:52:26.475Z"},"signinPermission":{"value":null},"setupId":{"value":"210","timestamp":"2022-09-20T04:52:26.475Z"},"protocolType":{"value":"wifi_https","timestamp":"2022-09-20T04:52:26.475Z"},"mnId":{"value":"0AJT","timestamp":"2022-09-20T04:52:26.475Z"},"dumpType":{"value":"file","timestamp":"2022-09-20T04:52:26.475Z"}},"samsungce.washerOperatingState":{"washerJobState":{"value":"none","timestamp":"2023-03-27T11:41:44.392Z"},"operatingState":{"value":"ready","timestamp":"2023-03-27T11:41:44.392Z"},"supportedOperatingStates":{"value":["ready","running","paused"],"timestamp":"2022-11-01T11:44:52.614Z"},"scheduledJobs":{"value":[{"jobName":"wash","timeInMin":53},{"jobName":"rinse","timeInMin":38},{"jobName":"spin","timeInMin":7}],"timestamp":"2023-03-27T09:55:16.391Z"},"progress":{"value":1,"unit":"%","timestamp":"2023-03-27T11:41:44.392Z"},"remainingTimeStr":{"value":"02:43","timestamp":"2023-03-27T11:41:44.392Z"},"operationTime":{"value":163,"unit":"min","timestamp":"2023-03-27T11:41:44.302Z"},"remainingTime":{"value":163,"unit":"min","timestamp":"2023-03-27T11:41:44.392Z"}},"samsungce.kidsLock":{"lockState":{"value":"unlocked","timestamp":"2022-02-19T07:53:32.446Z"}},"demandResponseLoadControl":{"drlcStatus":{"value":null}},"samsungce.detergentOrder":{"alarmEnabled":{"value":false,"timestamp":"2022-02-19T07:53:32.762Z"},"orderThreshold":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"}},"powerConsumptionReport":{"powerConsumption":{"value":{"energy":65300,"deltaEnergy":0,"power":0,"powerEnergy":0,"persistedEnergy":0,"energySaved":0,"start":"2023-03-29T20:03:11Z","end":"2023-03-29T21:26:11Z"},"timestamp":"2023-03-29T21:26:11.533Z"}},"samsungce.softenerOrder":{"alarmEnabled":{"value":false,"timestamp":"2022-02-19T07:53:32.762Z"},"orderThreshold":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"}},"custom.washerSoilLevel":{"supportedWasherSoilLevel":{"value":null},"washerSoilLevel":{"value":null}},"samsungce.washerBubbleSoak":{"status":{"value":"off","timestamp":"2022-02-19T07:53:32.762Z"}},"samsungce.washerCyclePreset":{"maxNumberOfPresets":{"value":10,"timestamp":"2022-02-19T07:59:25.854Z"},"presets":{"value":null}},"samsungce.detergentState":{"remainingAmount":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"},"dosage":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"},"initialAmount":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"},"detergentType":{"value":"none","timestamp":"2022-02-19T07:53:32.762Z"}},"refresh":{},"custom.jobBeginningStatus":{"jobBeginningStatus":{"value":"None","timestamp":"2022-02-19T07:53:32.443Z"}},"execute":{"data":{"value":{"payload":{"rt":["x.com.samsung.da.buzzersound"],"if":["oic.if.baseline","oic.if.a"]}},"data":{"href":"/buzzersound/vs/0"},"timestamp":"2023-03-29T21:26:12.792Z"}},"samsungce.softenerState":{"remainingAmount":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"},"dosage":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"},"softenerType":{"value":"none","timestamp":"2023-01-20T03:51:23.060Z"},"initialAmount":{"value":0,"unit":"cc","timestamp":"2022-02-19T07:53:32.762Z"}},"remoteControlStatus":{"remoteControlEnabled":{"value":"false","timestamp":"2023-02-22T13:15:11.423Z"}},"custom.supportedOptions":{"referenceTable":{"value":{"id":"Table_02"},"timestamp":"2022-02-19T07:53:32.736Z"},"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":"2022-02-19T07:53:32.762Z"}},"samsungce.washerWashingTime":{"supportedWashingTimes":{"value":null},"washingTime":{"value":null}},"custom.energyType":{"energySavingSupport":{"value":false,"timestamp":"2022-06-14T12:06:12.506Z"},"drMaxDuration":{"value":99999999,"unit":"min","timestamp":"2022-06-14T13:44:22.802Z"},"energyType":{"value":"2.0","timestamp":"2022-06-14T12:06:11.052Z"},"energySavingLevel":{"value":null},"supportedEnergySavingLevels":{"value":null},"energySavingOperation":{"value":null},"energySavingOperationSupport":{"value":false,"timestamp":"2022-06-14T13:44:22.802Z"}},"samsungce.softwareUpdate":{"targetModule":{"value":null},"otnDUID":{"value":"EXCNQWBW7SWY6","timestamp":"2022-06-14T12:06:12.506Z"},"lastUpdatedDate":{"value":null},"availableModules":{"value":[],"timestamp":"2022-06-14T12:06:12.506Z"},"newVersionAvailable":{"value":false,"timestamp":"2022-06-14T12:06:12.506Z"},"operatingState":{"value":null},"progress":{"value":null}},"custom.washerAutoDetergent":{"washerAutoDetergent":{"value":null}},"custom.washerSpinLevel":{"washerSpinLevel":{"value":"1400","timestamp":"2023-03-27T11:41:44.453Z"},"supportedWasherSpinLevel":{"value":["rinseHold","noSpin","400","800","1000","1200","1400"],"timestamp":"2022-02-19T07:53:32.610Z"}}} [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Switch value from Washing machine: off [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Washing machine value updated. [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170864502 [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] State for Family Hub: 0 [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Family Hub value updated. [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170864502 [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] State for Family Hub: -19 [3/30/2023, 11:07:48 AM] [Smartthings Plug (IK)] Family Hub value updated. [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170864502 [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Calling Smartthings to get an update for Family Hub [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] iPhone polling... [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Received getSensorState() event for iPhone [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Refreshing status for iPhone - current timestamp is 1680170864918 [3/30/2023, 11:07:49 AM] [Smartthings Plug (IK)] Calling Smartthings to get an update for iPhone [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-main: {"custom.disabledComponents":{"disabledComponents":{"value":["scale-10","scale-11"],"timestamp":"2022-12-22T14:32:36.578Z"}},"demandResponseLoadControl":{"drlcStatus":{"value":null}},"contactSensor":{"contact":{"value":"closed","timestamp":"2023-03-30T09:41:04.309Z"}},"powerConsumptionReport":{"powerConsumption":{"value":{"energy":126933,"deltaEnergy":2,"power":2089,"powerEnergy":486.1290000478427,"persistedEnergy":0,"energySaved":0,"start":"2023-03-30T09:39:09Z","end":"2023-03-30T09:53:02Z"},"timestamp":"2023-03-30T09:53:02.368Z"}},"samsungce.viewInside":{"contents":{"value":[{"fileId":"5589266f-4c6f-bfbf-7fc8-e7ef97b6513b","mimeType":"image/jpeg","expiredTime":"2023-03-19T20:01:16Z"},{"fileId":"e40dbe79-8750-f83f-eeaa-54c47d0e713b","mimeType":"image/jpeg","expiredTime":"2023-03-19T20:01:16Z"},{"fileId":"8d8d98fe-ebd7-d2c3-cd94-e972ebd4da0d","mimeType":"image/jpeg","expiredTime":"2023-03-19T20:01:16Z"}],"timestamp":"2023-03-19T19:51:17.291Z"},"lastUpdatedTime":{"value":"2023-03-30T09:41:13Z","timestamp":"2023-03-30T09:41:13.237Z"}},"refresh":{},"samsungce.runestoneHomeContext":{"supportedContexts":{"value":null}},"execute":{"data":{"value":{"payload":{"rt":["x.com.samsung.da.rm.micomdata"],"if":["oic.if.a"],"x.com.samsung.rm.micomdata":"D0C0042B000000000000FE15051F5AA6086400000000014A00FE152B011984C5C7000000040101000001F07000CEE0","x.com.samsung.rm.micomdataLength":94}},"data":{"href":"/rm/micomdata/vs/0"},"timestamp":"2023-03-30T10:02:52.496Z"}},"samsungce.deviceIdentification":{"micomAssayCode":{"value":null},"modelName":{"value":null},"serialNumber":{"value":null},"serialNumberExtra":{"value":null},"modelClassificationCode":{"value":null},"description":{"value":null},"binaryId":{"value":"22K_REF_LCD_FHUB7.0","timestamp":"2023-03-30T06:08:39.227Z"}},"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"ocf":{"st":{"value":"2023-02-05T12:44:24Z","timestamp":"2023-02-05T21:41:08.514Z"},"mndt":{"value":null},"mnfv":{"value":"20220905.115908","timestamp":"2022-12-22T14:32:36.617Z"},"mnhw":{"value":null},"di":{"value":"85beada5-21d9-a42d-b300-8f27d2594371","timestamp":"2022-12-22T14:32:36.617Z"},"mnsl":{"value":null},"dmv":{"value":"res.1.1.0,sh.1.1.0","timestamp":"2022-12-22T14:32:36.617Z"},"n":{"value":"[refrigerator] Samsung (LCD)","timestamp":"2022-12-22T14:32:36.617Z"},"mnmo":{"value":"22K_REF_LCD_FHUB7.0|00137541|0000083c031524380103050000000000","timestamp":"2022-12-22T14:32:36.617Z"},"vid":{"value":"DA-REF-NORMAL-01001","timestamp":"2022-12-22T14:32:36.617Z"},"mnmn":{"value":"Samsung Electronics","timestamp":"2022-12-22T14:32:36.617Z"},"mnml":{"value":null},"mnpv":{"value":"6.0","timestamp":"2022-12-22T14:32:36.617Z"},"mnos":{"value":"Tizen","timestamp":"2022-12-22T14:32:36.617Z"},"pi":{"value":"85beada5-21d9-a42d-b300-8f27d2594371","timestamp":"2022-12-22T14:32:36.617Z"},"icv":{"value":"core.1.1.0","timestamp":"2022-12-22T14:32:36.617Z"}},"refrigeration":{"defrost":{"value":null},"rapidCooling":{"value":"off","timestamp":"2022-12-22T14:32:36.069Z"},"rapidFreezing":{"value":"off","timestamp":"2022-12-22T14:32:36.069Z"}},"samsungce.powerCool":{"activated":{"value":false,"timestamp":"2022-12-22T14:32:36.069Z"}},"custom.energyType":{"energySavingSupport":{"value":false,"timestamp":"2022-12-22T14:32:36.578Z"},"drMaxDuration":{"value":null},"energyType":{"value":"2.0","timestamp":"2022-12-22T14:32:35.962Z"},"energySavingLevel":{"value":null},"supportedEnergySavingLevels":{"value":null},"energySavingOperation":{"value":null},"energySavingOperationSupport":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.deviceReportStateConfiguration","samsungce.runestoneHomeContext","demandResponseLoadControl"],"timestamp":"2022-12-22T14:32:36.578Z"}},"samsungce.softwareUpdate":{"targetModule":{"value":null},"otnDUID":{"value":"H3CGCEMPTVQMI","timestamp":"2022-12-22T14:32:36.578Z"},"lastUpdatedDate":{"value":null},"availableModules":{"value":[],"timestamp":"2022-12-22T14:32:36.578Z"},"newVersionAvailable":{"value":false,"timestamp":"2022-12-22T14:32:36.578Z"},"operatingState":{"value":null},"progress":{"value":null}},"samsungce.driverVersion":{"versionNumber":{"value":22120101,"timestamp":"2023-01-31T07:03:35.435Z"}},"samsungce.powerFreeze":{"activated":{"value":false,"timestamp":"2022-12-22T14:32:36.069Z"}},"sec.diagnosticsInformation":{"logType":{"value":["errCode","dump"],"timestamp":"2022-12-22T14:32:36.578Z"},"endpoint":{"value":"SSM","timestamp":"2022-12-22T14:32:36.578Z"},"minVersion":{"value":"1.0","timestamp":"2022-12-22T14:32:36.578Z"},"signinPermission":{"value":null},"setupId":{"value":"500","timestamp":"2022-12-22T14:32:36.578Z"},"protocolType":{"value":"wifi_https","timestamp":"2022-12-22T14:32:36.578Z"},"mnId":{"value":"0AJT","timestamp":"2022-12-22T14:32:36.578Z"},"dumpType":{"value":"file","timestamp":"2022-12-22T14:32:36.578Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"custom.deviceReportStateConfiguration":{"reportStateRealtimePeriod":{"value":null},"reportStateRealtime":{"value":{"state":"disabled"},"timestamp":"2022-12-22T14:32:36.179Z"},"reportStatePeriod":{"value":"enabled","timestamp":"2022-12-22T14:32:36.179Z"}},"custom.waterFilter":{"waterFilterUsageStep":{"value":1,"timestamp":"2022-12-22T14:32:35.966Z"},"waterFilterResetType":{"value":["replaceable"],"timestamp":"2022-12-22T14:32:35.966Z"},"waterFilterCapacity":{"value":null},"waterFilterLastResetDate":{"value":null},"waterFilterUsage":{"value":100,"timestamp":"2023-03-26T14:58:26.030Z"},"waterFilterStatus":{"value":"replace","timestamp":"2023-03-26T14:58:25.584Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-freezer: {"contactSensor":{"contact":{"value":"closed","timestamp":"2023-03-30T09:40:37.237Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"temperatureMeasurement":{"temperature":{"value":-19,"unit":"C","timestamp":"2023-03-30T06:39:38.946Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":-23,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"},"maximumSetpoint":{"value":-15,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":-19,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-cooler: {"contactSensor":{"contact":{"value":"closed","timestamp":"2023-03-30T09:41:04.309Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"temperatureMeasurement":{"temperature":{"value":3,"unit":"C","timestamp":"2023-03-30T06:41:16.585Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":1,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"},"maximumSetpoint":{"value":7,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":3,"unit":"C","timestamp":"2022-12-22T14:32:36.578Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-cvroom: {"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":"CV_TTYPE_RF9000A_FREEZE","timestamp":"2022-12-22T14:32:36.069Z"}},"contactSensor":{"contact":{"value":"closed","timestamp":"2023-03-30T09:40:37.238Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-icemaker: {"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"switch":{"switch":{"value":"on","timestamp":"2022-12-22T14:32:36.071Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-icemaker-02: {"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"switch":{"switch":{"value":"on","timestamp":"2022-12-22T14:32:36.578Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-scale-10: {"samsungce.connectionState":{"connectionState":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}},"samsungce.scaleSettings":{"enabled":{"value":null}},"samsungce.weightMeasurementCalibration":{}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-scale-11: {"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-12-22T14:32:35.962Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for Family Hub-pantry-01: {"samsungce.foodDefrost":{"supportedOptions":{"value":null},"foodType":{"value":null},"weight":{"value":null},"operationTime":{"value":null},"remainingTime":{"value":null}},"samsungce.fridgePantryInfo":{"name":{"value":"FLEX_CRISPER","timestamp":"2022-12-22T14:32:36.578Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.meatAging","samsungce.foodDefrost"],"timestamp":"2022-12-22T14:32:35.962Z"}},"samsungce.meatAging":{"zoneInfo":{"value":null},"supportedMeatTypes":{"value":null},"supportedAgingMethods":{"value":null},"status":{"value":[],"timestamp":"2022-12-22T14:32:36.578Z"}},"samsungce.fridgePantryMode":{"mode":{"value":"fridge","timestamp":"2022-12-22T14:32:36.578Z"},"supportedModes":{"value":["meatAndFish","fridge"],"timestamp":"2022-12-22T14:32:36.578Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] State for Family Hub: 0 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Family Hub value updated. [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Updated status for iPhone-main: {"presenceSensor":{"presence":{"value":"present","timestamp":"2023-03-30T07:01:42.648Z"}}} [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] State for iPhone: 1 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] iPhone value updated. [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170870176 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] State for Family Hub: 0 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Family Hub value updated. [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Family Hub polling... [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Received getSensorState() event for Family Hub [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Refreshing status for Family Hub - current timestamp is 1680170870176 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] State for Family Hub: 0 [3/30/2023, 11:07:50 AM] [Smartthings Plug (IK)] Family Hub value updated. Plugin Config:


{
    "name": "Smartthings Plug (IK)",
    "BaseURL": "https://api.smartthings.com/v1/",
    "AccessToken": "blah-de-blah-blah",
    "GarageDoorMaxPoll": 40,
    "PollLocksSeconds": 10,
    "PollDoorsSeconds": 10,
    "PollSensorsSeconds": 5,
    "PollSwitchesAndLightsSeconds": 10,
    "_bridge": {
        "username": "0E:B2:48:AA:CE:77",
        "port": 31141
    },
    "platform": "HomeBridgeSmartThings"
}

**Screenshots:**

![Screenshot 2023-03-30 at 11 23 15](https://user-images.githubusercontent.com/33163141/228807596-f0b79804-f99c-41df-bb0c-9216824c9001.png)

**Environment:**

* **Plugin Version**: 1.5.4
* **Homebridge Version**: 1.6.0
* **Node.js Version**: 16.14.0
* **NPM Version**: 8.3.1
* **Operating System**: macOS

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
iklein99 commented 1 year ago

You have 2 power button, each representing your 2 ice makers.

siobhanellis commented 1 year ago

You have 2 power button, each representing your 2 ice makers.

Ah yes, thank you. Cubed Ice Maker and Ice Bites Maker (What ever that is).

I've started seeing some weird behaviour with the temperatures too. (Congrats on getting those btw).

It seems they randomly come and go. Initially I had the fridge and the freezer, then when I restarted I had the freezer only, then restarted again, and had both and then just the fridge.

iklein99 commented 1 year ago

Try upgrading to 1.5.5 and let me know if it still happens. Remember to restart homebridge

siobhanellis commented 1 year ago

No, still got 4 doors…. But both temp sensors are back.

Siobhan

iklein99 commented 1 year ago

This is because your device reports 4 contact sensors on the following components: "main", "freezer", "cooler" and "cvroom". The plugin is just reporting what your device is reporting. Nothing I can do about that.

iklein99 commented 1 year ago

Unless you have anything else, I'm going to close this issue.

siobhanellis commented 1 year ago

Please close, as you answered all the questions for me.

Although now you have data for washing machines you can add that 😉

Siobhan

IOT: Practical HomeKit: ( https://practicalhomekit.blogspot.com ) Charity Fundraising: Lammie Drive: ( lammiedrive.blogspot.comhttp://lammiedrive.blogspot.com/ )