DaveGut / HubitatActive

Hubitat Environment Developments
64 stars 86 forks source link

Samsung Sabbath Mode #26

Open evdev opened 1 year ago

evdev commented 1 year ago

Hi, I was wondering if it would be possible to add the Sabbath Mode state toggle to your driver (for refrigerator and oven)? Not sure if it is possible since Samsung does not expose it even for Smartthings routine automation.

DaveGut commented 1 year ago

Can not find a simple command. If in Sabbath Mode, what would change for sensors, operating modes, etc.? It is not necessarily hard to fake. For example,

  1. The faithful can not use the appliance at all. In that case I could disable ALL commands and provide an attribute for an alert if ANY door is opened or any command is executed (through SmartThings).
  2. The faithful can open / close doors, but can not otherwise use the device.
  3. Only certain functions are disabled.
evdev commented 1 year ago

Sabbath mode disables any immediate reaction between the person interacting with the appliance. So lights do not turn on when the fridge is opened, nor does the fan stop blowing when the door is opened. The water dispenser is turned off and the ice maker is not making more ice. Most of those functions are not exposed to any sort of outside API. Sabbath mode is something you can set in the Smartthings app its just that you cannot trigger it automatically.

On Sun, Sep 4, 2022 at 8:36 AM David Gutheinz @.***> wrote:

Can not find a simple command. If in Sabbath Mode, what would change for sensors, operating modes, etc.? It is not necessarily hard to fake. For example,

  1. The faithful can not use the appliance at all. In that case I could disable ALL commands and provide an attribute for an alert if ANY door is opened or any command is executed (through SmartThings).
  2. The faithful can open / close doors, but can not otherwise use the device.
  3. Only certain functions are disabled.

— Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/26#issuecomment-1236330759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA34RU5JBSO6DYDP5JFV72DV4SJWVANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>

DaveGut commented 1 year ago

I think I found a solution. Will code and provide test code (hopefully this week).

DaveGut commented 1 year ago

I have created a TEST version with a new command "Toggle Sabbath" and a new attribute "SabbathMode". It only impacts the code in the main (parent) driver. Replace that code with:

https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Please provide feedback. When successful, this will become part of the baseline.

Dave

evdev commented 1 year ago

Oh, wow. Thanks for working so fast on this. Please pardon my late response. I had marked your email as unread because I wanted to return to it but because of that I didn't see the new emails you sent. So sorry. I tried the new driver and it doesn't look like it is working yet on my fridge. I've included the logs from Hubitat below. I tried the toggle button both with Sabbath mode off and on and it didn't seem to work in either direction. I will try to send you the Smartthings logs next.

dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=1&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:18.898 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=2&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: Attributes: [coolingSetpoint:null, temperature:null, SabbathMode:null, contact:closed, rapidCooling:off, rapidFreezing:off, filterStatus:normal, defrost:off] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=3&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:17.405 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=4&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:574c2469-0ac4-4505-91d5-89f149d15310, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=5&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:17.402 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=6&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=7&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:15.695 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=8&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=9&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:06.685 pm warn https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=10&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: distResp: [status:ERROR, errorMsg:java.lang.NullPointerException: Cannot invoke method contains() on null object, respData:{"components":{"pantry-01":{"samsungce.foodDefrost":{"supportedOptions":{"value":null},"foodType":{"value":null},"weight":{"value":null},"operationTime":{"value":null},"remainingTime":{"value":null}},"samsungce.fridgePantryInfo":{"name":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.meatAging","samsungce.foodDefrost"],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.meatAging":{"zoneInfo":{"value":null},"supportedMeatTypes":{"value":null},"supportedAgingMethods":{"value":null},"status":{"value":null}},"samsungce.fridgePantryMode":{"mode":{"value":null},"supportedModes":{"value":null}}},"pantry-02":{"samsungce.foodDefrost":{"supportedOptions":{"value":null},"foodType":{"value":null},"weight":{"value":null},"operationTime":{"value":null},"remainingTime":{"value":null}},"samsungce.fridgePantryInfo":{"name":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.meatAging","samsungce.foodDefrost"],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.meatAging":{"zoneInfo":{"value":null},"supportedMeatTypes":{"value":null},"supportedAgingMethods":{"value":null},"status":{"value":null}},"samsungce.fridgePantryMode":{"mode":{"value":null},"supportedModes":{"value":null}}},"icemaker":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"switch":{"switch":{"value":"on","timestamp":"2022-08-17T02:27:15.205Z"}}},"onedoor":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","temperatureMeasurement","thermostatCoolingSetpoint"],"timestamp":"2022-08-16T23:11:32.877Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"scale-10":{"samsungce.connectionState":{"connectionState":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}},"samsungce.weightMeasurementCalibration":{}},"scale-11":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}}},"cooler":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-09T01:17:28.120Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","samsungce.temperatureSetting"],"timestamp":"2022-08-16T23:11:36.106Z"}},"samsungce.temperatureSetting":{"supportedDesiredTemperatures":{"value":null},"desiredTemperature":{"value":null}},"temperatureMeasurement":{"temperature":{"value":37,"unit":"F","timestamp":"2022-08-17T01:44:21.647Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":34,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"},"maximumSetpoint":{"value":44,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":37,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}}},"freezer":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-08T21:07:09.158Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","samsungce.temperatureSetting"],"timestamp":"2022-08-16T23:11:36.106Z"}},"samsungce.temperatureSetting":{"supportedDesiredTemperatures":{"value":null},"desiredTemperature":{"value":null}},"temperatureMeasurement":{"temperature":{"value":0,"unit":"F","timestamp":"2022-08-17T02:43:21.176Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":-8,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"},"maximumSetpoint":{"value":5,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":0,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}}},"main":{"custom.disabledComponents":{"disabledComponents":{"value":["cvroom","onedoor","icemaker-02","pantry-01","pantry-02","scale-10","scale-11"],"timestamp":"2022-08-16T23:11:36.106Z"}},"demandResponseLoadControl":{"drlcStatus":{"value":{"drlcType":1,"drlcLevel":0,"duration":0,"override":false},"timestamp":"2022-08-16T23:11:35.604Z"}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-09T01:17:28.120Z"}},"powerConsumptionReport":{"powerConsumption":{"value":{"energy":37513,"deltaEnergy":0,"power":6,"powerEnergy":0.013406666517257691,"persistedEnergy":0,"energySaved":0,"start":"2022-09-09T01:17:21Z","end":"2022-09-09T01:17:29Z"},"timestamp":"2022-09-09T01:17:29.075Z"}},"samsungce.viewInside":{"contents":{"value":null},"lastUpdatedTime":{"value":null}},"refresh":{},"execute":{"data":{"value":{"payload":{"rt":["x.com.samsung.da.refcontrol"],"if":["oic.if.baseline","oic.if.a"],"x.com.samsung.da.sabbathMode":"On"}},"data":{"href":"/sabbath/vs/0"},"timestamp":"2022-09-09T01:19:49.338Z"}},"samsungce.deviceIdentification":{"micomAssayCode":{"value":null},"modelName":{"value":null},"serialNumber":{"value":null},"serialNumberExtra":{"value":null},"modelClassificationCode":{"value":null},"description":{"value":null},"binaryId":{"value":"TP1X_REF_21K","timestamp":"2022-08-16T23:11:35.205Z"}},"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"samsungce.selfCheck":{"result":{"value":"passed","timestamp":"2022-08-16T23:11:33.301Z"},"supportedActions":{"value":["start"],"timestamp":"2022-08-16T23:11:33.301Z"},"progress":{"value":null},"errors":{"value":[],"timestamp":"2022-08-16T23:11:33.301Z"},"status":{"value":"ready","timestamp":"2022-08-16T23:11:33.301Z"}},"ocf":{"st":{"value":null},"mndt":{"value":null},"mnfv":{"value":"A-RFWW-TP1-22-REV1_20220604","timestamp":"2022-08-16T23:24:33.442Z"},"mnhw":{"value":"Realtek","timestamp":"2022-08-16T23:11:36.419Z"},"di":{"value":"86cb4b57-bbc3-d180-d6ec-18b77edf6b70","timestamp":"2022-08-16T23:11:36.419Z"},"mnsl":{"value":" http://www.samsung.com","timestamp":"2022-08-16T23:11:36.419Z"},"dmv":{"value":"1.2.1","timestamp":"2022-08-16T23:18:16.237Z"},"n":{"value":"[refrigerator] Samsung","timestamp":"2022-08-16T23:11:36.419Z"},"mnmo":{"value":"TP1X_REF_21K|00148242|00020253031611200103000031010000","timestamp":"2022-08-16T23:11:36.419Z"},"vid":{"value":"DA-REF-NORMAL-01011","timestamp":"2022-08-16T23:11:36.419Z"},"mnmn":{"value":"Samsung Electronics","timestamp":"2022-08-16T23:11:36.419Z"},"mnml":{"value":" http://www.samsung.com","timestamp":"2022-08-16T23:11:36.419Z"},"mnpv":{"value":"DAWIT 2.0","timestamp":"2022-08-16T23:11:36.419Z"},"mnos":{"value":"TizenRT 3.1","timestamp":"2022-08-16T23:11:36.419Z"},"pi":{"value":"86cb4b57-bbc3-d180-d6ec-18b77edf6b70","timestamp":"2022-08-16T23:11:36.419Z"},"icv":{"value":"core.1.1.0","timestamp":"2022-08-16T23:11:36.419Z"}},"refrigeration":{"defrost":{"value":"off","timestamp":"2022-08-16T23:11:33.559Z"},"rapidCooling":{"value":"off","timestamp":"2022-08-17T01:42:53.444Z"},"rapidFreezing":{"value":"off","timestamp":"2022-08-17T02:27:12.883Z"}},"custom.deodorFilter":{"deodorFilterLastResetDate":{"value":null},"deodorFilterCapacity":{"value":null},"deodorFilterStatus":{"value":null},"deodorFilterResetType":{"value":null},"deodorFilterUsage":{"value":null},"deodorFilterUsageStep":{"value":null}},"samsungce.powerCool":{"activated":{"value":false,"timestamp":"2022-08-17T01:42:53.444Z"}},"custom.energyType":{"energyType":{"value":"2.0","timestamp":"2022-08-16T23:11:32.877Z"},"energySavingSupport":{"value":false,"timestamp":"2022-08-16T23:11:33.021Z"},"drMaxDuration":{"value":1440,"unit":"min","timestamp":"2022-08-16T23:11:35.604Z"},"energySavingOperation":{"value":null},"energySavingOperationSupport":{"value":false,"timestamp":"2022-08-16T23:11:35.604Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.deodorFilter","samsungce.viewInside","demandResponseLoadControl","thermostatCoolingSetpoint"],"timestamp":"2022-09-08T02:22:04.355Z"}},"samsungce.softwareUpdate":{"otnDUID":{"value":"7XCGCEMPYLRUC","timestamp":"2022-08-16T23:11:35.205Z"},"availableModules":{"value":[],"timestamp":"2022-08-16T23:11:35.205Z"},"newVersionAvailable":{"value":false,"timestamp":"2022-08-16T23:11:35.205Z"}},"samsungce.driverVersion":{"versionNumber":{"value":22072701,"timestamp":"2022-09-07T08:04:37.166Z"}},"samsungce.powerFreeze":{"activated":{"value":false,"timestamp":"2022-08-17T02:27:12.883Z"}},"sec.diagnosticsInformation":{"logType":{"value":["errCode","dump"],"timestamp":"2022-08-16T23:24:35.210Z"},"endpoint":{"value":"SSM","timestamp":"2022-08-16T23:24:35.210Z"},"minVersion":{"value":"1.0","timestamp":"2022-08-16T23:24:35.210Z"},"setupId":{"value":"513","timestamp":"2022-08-16T23:24:35.210Z"},"protocolType":{"value":"wifi_https","timestamp":"2022-08-16T23:24:35.210Z"},"mnId":{"value":"0AJT","timestamp":"2022-08-16T23:24:35.210Z"},"dumpType":{"value":"file","timestamp":"2022-08-16T23:24:35.210Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"custom.deviceReportStateConfiguration":{"reportStateRealtimePeriod":{"value":null},"reportStateRealtime":{"value":{"state":"disabled"},"timestamp":"2022-08-16T23:11:33.419Z"},"reportStatePeriod":{"value":"enabled","timestamp":"2022-08-16T23:11:33.419Z"}},"custom.waterFilter":{"waterFilterUsageStep":{"value":1,"timestamp":"2022-08-16T23:11:34.578Z"},"waterFilterResetType":{"value":["replaceable"],"timestamp":"2022-08-16T23:11:34.578Z"},"waterFilterCapacity":{"value":null},"waterFilterLastResetDate":{"value":null},"waterFilterUsage":{"value":8,"timestamp":"2022-09-02T21:39:16.144Z"},"waterFilterStatus":{"value":"normal","timestamp":"2022-08-16T23:11:34.578Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"cvroom":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["temperatureMeasurement","thermostatCoolingSetpoint"],"timestamp":"2022-08-16T23:11:32.877Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"icemaker-02":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"switch":{"switch":{"value":null}}}}}] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=11&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:04.510 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=12&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:1a9abc14-ae2f-4102-90ef-6e7a3d80e34d, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=13&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:04.507 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=14&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=15&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:02.782 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=16&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=17&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:28.664 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=18&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: Attributes: [coolingSetpoint:null, temperature:null, SabbathMode:null, contact:open, rapidCooling:off, rapidFreezing:off, filterStatus:normal, defrost:off] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=19&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:27.239 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=20&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:65dd4945-c7bb-4ef5-af4c-c67b3499c6cc, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=21&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:27.236 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=22&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=23&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:25.495 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=24&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]]

On Wed, Sep 7, 2022 at 10:34 AM David Gutheinz @.***> wrote:

I have created a TEST version with a new command "Toggle Sabbath" and a new attribute "SabbathMode". It only impacts the code in the main (parent) driver. Replace that code with:

https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Please provide feedback. When successful, this will become part of the baseline.

Dave

— Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/26#issuecomment-1239474588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA34RU353RCOE5ISOMQ6DYLV5CRW7ANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>

evdev commented 1 year ago

Here are the logs from ST Data Collect. Hope it helps. Seems like there is something about Sabbath mode in there.

dev:2410 https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=1&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D1%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Flogs%253Fdevice%253D2376%2523dev24102022-09-08 09:30:16.065 pm trace https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=2&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D2%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Fdevice%252Fedit%252F2410deviceStatus: [components:[pantry-01:[samsungce.foodDefrost:[supportedOptions:[value:null], foodType:[value:null], weight:[value:null], operationTime:[value:null], remainingTime:[value:null]], samsungce.fridgePantryInfo:[name:[value:null]], custom.disabledCapabilities:[disabledCapabilities:[value:[samsungce.meatAging, samsungce.foodDefrost], timestamp:2022-08-16T23:11:32.877Z]], samsungce.meatAging:[zoneInfo:[value:null], supportedMeatTypes:[value:null], supportedAgingMethods:[value:null], status:[value:null]], samsungce.fridgePantryMode:[mode:[value:null], supportedModes:[value:null]]], pantry-02:[samsungce.foodDefrost:[supportedOptions:[value:null], foodType:[value:null], weight:[value:null], operationTime:[value:null], remainingTime:[value:null]], samsungce.fridgePantryInfo:[name:[value:null]], custom.disabledCapabilities:[disabledCapabilities:[value:[samsungce.meatAging, samsungce.foodDefrost], timestamp:2022-08-16T23:11:32.877Z]], samsungce.meatAging:[zoneInfo:[value:null], supportedMeatTypes:[value:null], supportedAgingMethods:[value:null], status:[value:null]], samsungce.fridgePantryMode:[mode:[value:null], supportedModes:[value:null]]], icemaker:[custom.disabledCapabilities:[disabledCapabilities:[value:[], timestamp:2022-08-16T23:11:32.877Z]], switch:[switch:[value:on, timestamp:2022-08-17T02:27:15.205Z]]], onedoor:[custom.fridgeMode:[fridgeModeValue:[value:null], fridgeMode:[value:null]], contactSensor:[contact:[value:null]], custom.disabledCapabilities:[disabledCapabilities:[value:[custom.fridgeMode, temperatureMeasurement, thermostatCoolingSetpoint], timestamp:2022-08-16T23:11:32.877Z]], temperatureMeasurement:[temperature:[value:null]], thermostatCoolingSetpoint:[coolingSetpoint:[value:null]]], scale-10:[samsungce.connectionState:[connectionState:[value:null]], custom.disabledCapabilities:[disabledCapabilities:[value:[], timestamp:2022-08-16T23:11:32.877Z]], samsungce.weightMeasurement:[weight:[value:null]], samsungce.weightMeasurementCalibration:[:]], scale-11:[custom.disabledCapabilities:[disabledCapabilities:[value:[], timestamp:2022-08-16T23:11:32.877Z]], samsungce.weightMeasurement:[weight:[value:null]]], cooler:[custom.fridgeMode:[fridgeModeValue:[value:null], fridgeMode:[value:null]], contactSensor:[contact:[value:closed, timestamp:2022-09-09T01:20:22.537Z]], custom.disabledCapabilities:[disabledCapabilities:[value:[custom.fridgeMode, samsungce.temperatureSetting], timestamp:2022-08-16T23:11:36.106Z]], samsungce.temperatureSetting:[supportedDesiredTemperatures:[value:null], desiredTemperature:[value:null]], temperatureMeasurement:[temperature:[value:37, unit:F, timestamp:2022-08-17T01:44:21.647Z]], custom.thermostatSetpointControl:[minimumSetpoint:[value:34, unit:F, timestamp:2022-08-16T23:11:35.364Z], maximumSetpoint:[value:44, unit:F, timestamp:2022-08-16T23:11:35.364Z]], thermostatCoolingSetpoint:[coolingSetpoint:[value:37, unit:F, timestamp:2022-08-16T23:11:35.364Z]]], freezer:[custom.fridgeMode:[fridgeModeValue:[value:null], fridgeMode:[value:null]], contactSensor:[contact:[value:closed, timestamp:2022-09-08T21:07:09.158Z]], custom.disabledCapabilities:[disabledCapabilities:[value:[custom.fridgeMode, samsungce.temperatureSetting], timestamp:2022-08-16T23:11:36.106Z]], samsungce.temperatureSetting:[supportedDesiredTemperatures:[value:null], desiredTemperature:[value:null]], temperatureMeasurement:[temperature:[value:0, unit:F, timestamp:2022-08-17T02:43:21.176Z]], custom.thermostatSetpointControl:[minimumSetpoint:[value:-8, unit:F, timestamp:2022-08-16T23:11:35.364Z], maximumSetpoint:[value:5, unit:F, timestamp:2022-08-16T23:11:35.364Z]], thermostatCoolingSetpoint:[coolingSetpoint:[value:0, unit:F, timestamp:2022-08-16T23:11:35.364Z]]], main:[custom.disabledComponents:[disabledComponents:[value:[cvroom, onedoor, icemaker-02, pantry-01, pantry-02, scale-10, scale-11], timestamp:2022-08-16T23:11:36.106Z]], demandResponseLoadControl:[drlcStatus:[value:[drlcType:1, drlcLevel:0, duration:0, override:false], timestamp:2022-08-16T23:11:35.604Z]], contactSensor:[contact:[value:closed, timestamp:2022-09-09T01:20:22.537Z]], powerConsumptionReport:[powerConsumption:[value:[energy:37514, deltaEnergy:1, power:2, powerEnergy:0.2402049998442332, persistedEnergy:0, energySaved:0, start:2022-09-09T01:20:19Z, end:2022-09-09T01:22:43Z], timestamp:2022-09-09T01:22:43.132Z]], samsungce.viewInside:[contents:[value:null], lastUpdatedTime:[value:null]], refresh:[:], execute:[data:[value:[payload:[rt:[x.com.samsung.da.refcontrol], if:[oic.if.baseline, oic.if.a], x.com.samsung.da.sabbathMode:On]], data:[href:/sabbath/vs/0], timestamp:2022-09-09T01:29:59.014Z]], samsungce.deviceIdentification:[micomAssayCode:[value:null], modelName:[value:null], serialNumber:[value:null], serialNumberExtra:[value:null], modelClassificationCode:[value:null], description:[value:null], binaryId:[value:TP1X_REF_21K, timestamp:2022-08-16T23:11:35.205Z]], custom.fridgeMode:[fridgeModeValue:[value:null], fridgeMode:[value:null]], samsungce.selfCheck:[result:[value:passed, timestamp:2022-08-16T23:11:33.301Z], supportedActions:[value:[start], timestamp:2022-08-16T23:11:33.301Z], progress:[value:null], errors:[value:[], timestamp:2022-08-16T23:11:33.301Z], status:[value:ready, timestamp:2022-08-16T23:11:33.301Z]], ocf:[st:[value:null], mndt:[value:null], mnfv:[value:A-RFWW-TP1-22-REV1_20220604, timestamp:2022-08-16T23:24:33.442Z], mnhw:[value:Realtek, timestamp:2022-08-16T23:11:36.419Z], di:[value:86cb4b57-bbc3-d180-d6ec-18b77edf6b70, timestamp:2022-08-16T23:11:36.419Z], mnsl:[value:http://www.samsung.com https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=3&targetURL=http%3A%2F%2Fwww.samsung.com, timestamp:2022-08-16T23:11:36.419Z], dmv:[value:1.2.1, timestamp:2022-08-16T23:18:16.237Z], n:[value:[refrigerator] Samsung, timestamp:2022-08-16T23:11:36.419Z], mnmo:[value:TP1X_REF_21K|00148242|00020253031611200103000031010000, timestamp:2022-08-16T23:11:36.419Z], vid:[value:DA-REF-NORMAL-01011, timestamp:2022-08-16T23:11:36.419Z], mnmn:[value:Samsung Electronics, timestamp:2022-08-16T23:11:36.419Z], mnml:[value:http://www.samsung.com https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=4&targetURL=http%3A%2F%2Fwww.samsung.com, timestamp:2022-08-16T23:11:36.419Z], mnpv:[value:DAWIT 2.0, timestamp:2022-08-16T23:11:36.419Z], mnos:[value:TizenRT 3.1, timestamp:2022-08-16T23:11:36.419Z], pi:[value:86cb4b57-bbc3-d180-d6ec-18b77edf6b70, timestamp:2022-08-16T23:11:36.419Z], icv:[value:core.1.1.0, timestamp:2022-08-16T23:11:36.419Z]], refrigeration:[defrost:[value:off, timestamp:2022-08-16T23:11:33.559Z], rapidCooling:[value:off, timestamp:2022-08-17T01:42:53.444Z], rapidFreezing:[value:off, timestamp:2022-08-17T02:27:12.883Z]], custom.deodorFilter:[deodorFilterLastResetDate:[value:null], deodorFilterCapacity:[value:null], deodorFilterStatus:[value:null], deodorFilterResetType:[value:null], deodorFilterUsage:[value:null], deodorFilterUsageStep:[value:null]], samsungce.powerCool:[activated:[value:false, timestamp:2022-08-17T01:42:53.444Z]], custom.energyType:[energyType:[value:2.0, timestamp:2022-08-16T23:11:32.877Z], energySavingSupport:[value:false, timestamp:2022-08-16T23:11:33.021Z], drMaxDuration:[value:1440, unit:min, timestamp:2022-08-16T23:11:35.604Z], energySavingOperation:[value:null], energySavingOperationSupport:[value:false, timestamp:2022-08-16T23:11:35.604Z]], custom.disabledCapabilities:[disabledCapabilities:[value:[custom.deodorFilter, samsungce.viewInside, demandResponseLoadControl, thermostatCoolingSetpoint], timestamp:2022-09-08T02:22:04.355Z]], samsungce.softwareUpdate:[otnDUID:[value:7XCGCEMPYLRUC, timestamp:2022-08-16T23:11:35.205Z], availableModules:[value:[], timestamp:2022-08-16T23:11:35.205Z], newVersionAvailable:[value:false, timestamp:2022-08-16T23:11:35.205Z]], samsungce.driverVersion:[versionNumber:[value:22072701, timestamp:2022-09-07T08:04:37.166Z]], samsungce.powerFreeze:[activated:[value:false, timestamp:2022-08-17T02:27:12.883Z]], sec.diagnosticsInformation:[logType:[value:[errCode, dump], timestamp:2022-08-16T23:24:35.210Z], endpoint:[value:SSM, timestamp:2022-08-16T23:24:35.210Z], minVersion:[value:1.0, timestamp:2022-08-16T23:24:35.210Z], setupId:[value:513, timestamp:2022-08-16T23:24:35.210Z], protocolType:[value:wifi_https, timestamp:2022-08-16T23:24:35.210Z], mnId:[value:0AJT, timestamp:2022-08-16T23:24:35.210Z], dumpType:[value:file, timestamp:2022-08-16T23:24:35.210Z]], temperatureMeasurement:[temperature:[value:null]], custom.deviceReportStateConfiguration:[reportStateRealtimePeriod:[value:null], reportStateRealtime:[value:[state:disabled], timestamp:2022-08-16T23:11:33.419Z], reportStatePeriod:[value:enabled, timestamp:2022-08-16T23:11:33.419Z]], custom.waterFilter:[waterFilterUsageStep:[value:1, timestamp:2022-08-16T23:11:34.578Z], waterFilterResetType:[value:[replaceable], timestamp:2022-08-16T23:11:34.578Z], waterFilterCapacity:[value:null], waterFilterLastResetDate:[value:null], waterFilterUsage:[value:8, timestamp:2022-09-02T21:39:16.144Z], waterFilterStatus:[value:normal, timestamp:2022-08-16T23:11:34.578Z]], thermostatCoolingSetpoint:[coolingSetpoint:[value:null]]], cvroom:[custom.fridgeMode:[fridgeModeValue:[value:null], fridgeMode:[value:null]], contactSensor:[contact:[value:null]], custom.disabledCapabilities:[disabledCapabilities:[value:[temperatureMeasurement, thermostatCoolingSetpoint], timestamp:2022-08-16T23:11:32.877Z]], temperatureMeasurement:[temperature:[value:null]], thermostatCoolingSetpoint:[coolingSetpoint:[value:null]]], icemaker-02:[custom.disabledCapabilities:[disabledCapabilities:[value:[], timestamp:2022-08-16T23:11:32.877Z]], switch:[switch:[value:null]]]]] dev:2410 https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=5&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D3%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Flogs%253Fdevice%253D2376%2523dev24102022-09-08 09:30:12.602 pm trace https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=6&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D4%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Fdevice%252Fedit%252F2410deviceDescription: [deviceId:86cb4b57-bbc3-d180-d6ec-18b77edf6b70, name:[refrigerator] Samsung, label:Refrigerator, manufacturerName:Samsung Electronics, presentationId:DA-REF-NORMAL-01011, deviceManufacturerCode:Samsung Electronics, locationId:432079f9-71ac-4ff9-bf40-325e5b713c51, ownerId:6fc2847b-c368-4c83-833b-7718ac6c6f5b, roomId:7dc2d560-0c56-49cc-ac4b-5761ba516784, deviceTypeName:Samsung OCF Refrigerator, components:[[id:main, label:main, capabilities:[[id:contactSensor, version:1], [id:execute, version:1], [id:ocf, version:1], [id:powerConsumptionReport, version:1], [id:demandResponseLoadControl, version:1], [id:refresh, version:1], [id:refrigeration, version:1], [id:temperatureMeasurement, version:1], [id:thermostatCoolingSetpoint, version:1], [id:custom.deodorFilter, version:1], [id:custom.deviceReportStateConfiguration, version:1], [id:custom.energyType, version:1], [id:custom.fridgeMode, version:1], [id:custom.disabledCapabilities, version:1], [id:custom.disabledComponents, version:1], [id:custom.waterFilter, version:1], [id:samsungce.softwareUpdate, version:1], [id:samsungce.deviceIdentification, version:1], [id:samsungce.driverVersion, version:1], [id:samsungce.powerCool, version:1], [id:samsungce.powerFreeze, version:1], [id:samsungce.selfCheck, version:1], [id:samsungce.viewInside, version:1], [id:sec.diagnosticsInformation, version:1]], categories:[[name:Refrigerator, categoryType:manufacturer], [name:Refrigerator, categoryType:manufacturer]]], [id:freezer, label:freezer, capabilities:[[id:contactSensor, version:1], [id:temperatureMeasurement, version:1], [id:thermostatCoolingSetpoint, version:1], [id:custom.disabledCapabilities, version:1], [id:custom.fridgeMode, version:1], [id:custom.thermostatSetpointControl, version:1], [id:samsungce.temperatureSetting, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:cooler, label:cooler, capabilities:[[id:contactSensor, version:1], [id:temperatureMeasurement, version:1], [id:thermostatCoolingSetpoint, version:1], [id:custom.disabledCapabilities, version:1], [id:custom.fridgeMode, version:1], [id:custom.thermostatSetpointControl, version:1], [id:samsungce.temperatureSetting, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:cvroom, label:cvroom, capabilities:[[id:contactSensor, version:1], [id:temperatureMeasurement, version:1], [id:thermostatCoolingSetpoint, version:1], [id:custom.disabledCapabilities, version:1], [id:custom.fridgeMode, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:onedoor, label:onedoor, capabilities:[[id:contactSensor, version:1], [id:temperatureMeasurement, version:1], [id:thermostatCoolingSetpoint, version:1], [id:custom.disabledCapabilities, version:1], [id:custom.fridgeMode, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:icemaker, label:icemaker, capabilities:[[id:switch, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:icemaker-02, label:icemaker-02, capabilities:[[id:switch, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:scale-10, label:scale-10, capabilities:[[id:samsungce.weightMeasurement, version:1], [id:samsungce.weightMeasurementCalibration, version:1], [id:samsungce.connectionState, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:scale-11, label:scale-11, capabilities:[[id:samsungce.weightMeasurement, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:pantry-01, label:pantry-01, capabilities:[[id:samsungce.fridgePantryInfo, version:1], [id:samsungce.fridgePantryMode, version:1], [id:samsungce.meatAging, version:1], [id:samsungce.foodDefrost, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]], [id:pantry-02, label:pantry-02, capabilities:[[id:samsungce.fridgePantryInfo, version:1], [id:samsungce.fridgePantryMode, version:1], [id:samsungce.meatAging, version:1], [id:samsungce.foodDefrost, version:1], [id:custom.disabledCapabilities, version:1]], categories:[[name:Other, categoryType:manufacturer]]]], createTime:2022-08-16T23:11:32.571Z, profile:[id:2fc0c7f7-ff76-3a65-af53-3cdd7adc800e], ocf:[ocfDeviceType:oic.d.refrigerator, name:[refrigerator] Samsung, specVersion:core.1.1.0, verticalDomainSpecVersion:1.2.1, manufacturerName:Samsung Electronics, modelNumber:TP1X_REF_21K|00148242|00020253031611200103000031010000, platformVersion:DAWIT 2.0, platformOS:TizenRT 3.1, hwVersion:Realtek, firmwareVersion:A-RFWW-TP1-22-REV1_20220604, vendorId:DA-REF-NORMAL-01011, vendorResourceClientServerVersion:Realtek Release 3.1.220422, lastSignupTime:2022-09-02T21:39:10.169219Z], type:OCF, restrictionTier:0, allowed:[]] dev:2410 https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=7&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D5%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Flogs%253Fdevice%253D2376%2523dev24102022-09-08 09:30:12.286 pm info https://link.engageusercontent.com/mt/lte?tid=87281789190314&lid=8&targetURL=https%3A%2F%2Flink.engageusercontent.com%2Fmt%2Flte%3Ftid%3D49345956083898%26lid%3D6%26targetURL%3Dhttp%253A%252F%252Fhubitat.local%252Fdevice%252Fedit%252F2410ST Data Collect 1.1: updated: [status:OK, stDeviceId:86cb4b57-bbc3-d180-d6ec-18b77edf6b70]

On Thu, Sep 8, 2022 at 9:25 PM Ephrayim @.***> wrote:

Oh, wow. Thanks for working so fast on this. Please pardon my late response. I had marked your email as unread because I wanted to return to it but because of that I didn't see the new emails you sent. So sorry. I tried the new driver and it doesn't look like it is working yet on my fridge. I've included the logs from Hubitat below. I tried the toggle button both with Sabbath mode off and on and it didn't seem to work in either direction. I will try to send you the Smartthings logs next.

dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=1&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:18.898 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=2&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: Attributes: [coolingSetpoint:null, temperature:null, SabbathMode:null, contact:closed, rapidCooling:off, rapidFreezing:off, filterStatus:normal, defrost:off] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=3&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:17.405 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=4&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:574c2469-0ac4-4505-91d5-89f149d15310, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=5&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:17.402 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=6&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=7&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:15.695 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=8&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=9&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:06.685 pm warn https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=10&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: distResp: [status:ERROR, errorMsg:java.lang.NullPointerException: Cannot invoke method contains() on null object, respData:{"components":{"pantry-01":{"samsungce.foodDefrost":{"supportedOptions":{"value":null},"foodType":{"value":null},"weight":{"value":null},"operationTime":{"value":null},"remainingTime":{"value":null}},"samsungce.fridgePantryInfo":{"name":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.meatAging","samsungce.foodDefrost"],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.meatAging":{"zoneInfo":{"value":null},"supportedMeatTypes":{"value":null},"supportedAgingMethods":{"value":null},"status":{"value":null}},"samsungce.fridgePantryMode":{"mode":{"value":null},"supportedModes":{"value":null}}},"pantry-02":{"samsungce.foodDefrost":{"supportedOptions":{"value":null},"foodType":{"value":null},"weight":{"value":null},"operationTime":{"value":null},"remainingTime":{"value":null}},"samsungce.fridgePantryInfo":{"name":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.meatAging","samsungce.foodDefrost"],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.meatAging":{"zoneInfo":{"value":null},"supportedMeatTypes":{"value":null},"supportedAgingMethods":{"value":null},"status":{"value":null}},"samsungce.fridgePantryMode":{"mode":{"value":null},"supportedModes":{"value":null}}},"icemaker":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"switch":{"switch":{"value":"on","timestamp":"2022-08-17T02:27:15.205Z"}}},"onedoor":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","temperatureMeasurement","thermostatCoolingSetpoint"],"timestamp":"2022-08-16T23:11:32.877Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"scale-10":{"samsungce.connectionState":{"connectionState":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}},"samsungce.weightMeasurementCalibration":{}},"scale-11":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"samsungce.weightMeasurement":{"weight":{"value":null}}},"cooler":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-09T01:17:28.120Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","samsungce.temperatureSetting"],"timestamp":"2022-08-16T23:11:36.106Z"}},"samsungce.temperatureSetting":{"supportedDesiredTemperatures":{"value":null},"desiredTemperature":{"value":null}},"temperatureMeasurement":{"temperature":{"value":37,"unit":"F","timestamp":"2022-08-17T01:44:21.647Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":34,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"},"maximumSetpoint":{"value":44,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":37,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}}},"freezer":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-08T21:07:09.158Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.fridgeMode","samsungce.temperatureSetting"],"timestamp":"2022-08-16T23:11:36.106Z"}},"samsungce.temperatureSetting":{"supportedDesiredTemperatures":{"value":null},"desiredTemperature":{"value":null}},"temperatureMeasurement":{"temperature":{"value":0,"unit":"F","timestamp":"2022-08-17T02:43:21.176Z"}},"custom.thermostatSetpointControl":{"minimumSetpoint":{"value":-8,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"},"maximumSetpoint":{"value":5,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":0,"unit":"F","timestamp":"2022-08-16T23:11:35.364Z"}}},"main":{"custom.disabledComponents":{"disabledComponents":{"value":["cvroom","onedoor","icemaker-02","pantry-01","pantry-02","scale-10","scale-11"],"timestamp":"2022-08-16T23:11:36.106Z"}},"demandResponseLoadControl":{"drlcStatus":{"value":{"drlcType":1,"drlcLevel":0,"duration":0,"override":false},"timestamp":"2022-08-16T23:11:35.604Z"}},"contactSensor":{"contact":{"value":"closed","timestamp":"2022-09-09T01:17:28.120Z"}},"powerConsumptionReport":{"powerConsumption":{"value":{"energy":37513,"deltaEnergy":0,"power":6,"powerEnergy":0.013406666517257691,"persistedEnergy":0,"energySaved":0,"start":"2022-09-09T01:17:21Z","end":"2022-09-09T01:17:29Z"},"timestamp":"2022-09-09T01:17:29.075Z"}},"samsungce.viewInside":{"contents":{"value":null},"lastUpdatedTime":{"value":null}},"refresh":{},"execute":{"data":{"value":{"payload":{"rt":["x.com.samsung.da.refcontrol"],"if":["oic.if.baseline","oic.if.a"],"x.com.samsung.da.sabbathMode":"On"}},"data":{"href":"/sabbath/vs/0"},"timestamp":"2022-09-09T01:19:49.338Z"}},"samsungce.deviceIdentification":{"micomAssayCode":{"value":null},"modelName":{"value":null},"serialNumber":{"value":null},"serialNumberExtra":{"value":null},"modelClassificationCode":{"value":null},"description":{"value":null},"binaryId":{"value":"TP1X_REF_21K","timestamp":"2022-08-16T23:11:35.205Z"}},"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"samsungce.selfCheck":{"result":{"value":"passed","timestamp":"2022-08-16T23:11:33.301Z"},"supportedActions":{"value":["start"],"timestamp":"2022-08-16T23:11:33.301Z"},"progress":{"value":null},"errors":{"value":[],"timestamp":"2022-08-16T23:11:33.301Z"},"status":{"value":"ready","timestamp":"2022-08-16T23:11:33.301Z"}},"ocf":{"st":{"value":null},"mndt":{"value":null},"mnfv":{"value":"A-RFWW-TP1-22-REV1_20220604","timestamp":"2022-08-16T23:24:33.442Z"},"mnhw":{"value":"Realtek","timestamp":"2022-08-16T23:11:36.419Z"},"di":{"value":"86cb4b57-bbc3-d180-d6ec-18b77edf6b70","timestamp":"2022-08-16T23:11:36.419Z"},"mnsl":{"value":" http://www.samsung.com","timestamp":"2022-08-16T23:11:36.419Z"},"dmv":{"value":"1.2.1","timestamp":"2022-08-16T23:18:16.237Z"},"n":{"value":"[refrigerator] Samsung","timestamp":"2022-08-16T23:11:36.419Z"},"mnmo":{"value":"TP1X_REF_21K|00148242|00020253031611200103000031010000","timestamp":"2022-08-16T23:11:36.419Z"},"vid":{"value":"DA-REF-NORMAL-01011","timestamp":"2022-08-16T23:11:36.419Z"},"mnmn":{"value":"Samsung Electronics","timestamp":"2022-08-16T23:11:36.419Z"},"mnml":{"value":" http://www.samsung.com","timestamp":"2022-08-16T23:11:36.419Z"},"mnpv":{"value":"DAWIT 2.0","timestamp":"2022-08-16T23:11:36.419Z"},"mnos":{"value":"TizenRT 3.1","timestamp":"2022-08-16T23:11:36.419Z"},"pi":{"value":"86cb4b57-bbc3-d180-d6ec-18b77edf6b70","timestamp":"2022-08-16T23:11:36.419Z"},"icv":{"value":"core.1.1.0","timestamp":"2022-08-16T23:11:36.419Z"}},"refrigeration":{"defrost":{"value":"off","timestamp":"2022-08-16T23:11:33.559Z"},"rapidCooling":{"value":"off","timestamp":"2022-08-17T01:42:53.444Z"},"rapidFreezing":{"value":"off","timestamp":"2022-08-17T02:27:12.883Z"}},"custom.deodorFilter":{"deodorFilterLastResetDate":{"value":null},"deodorFilterCapacity":{"value":null},"deodorFilterStatus":{"value":null},"deodorFilterResetType":{"value":null},"deodorFilterUsage":{"value":null},"deodorFilterUsageStep":{"value":null}},"samsungce.powerCool":{"activated":{"value":false,"timestamp":"2022-08-17T01:42:53.444Z"}},"custom.energyType":{"energyType":{"value":"2.0","timestamp":"2022-08-16T23:11:32.877Z"},"energySavingSupport":{"value":false,"timestamp":"2022-08-16T23:11:33.021Z"},"drMaxDuration":{"value":1440,"unit":"min","timestamp":"2022-08-16T23:11:35.604Z"},"energySavingOperation":{"value":null},"energySavingOperationSupport":{"value":false,"timestamp":"2022-08-16T23:11:35.604Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["custom.deodorFilter","samsungce.viewInside","demandResponseLoadControl","thermostatCoolingSetpoint"],"timestamp":"2022-09-08T02:22:04.355Z"}},"samsungce.softwareUpdate":{"otnDUID":{"value":"7XCGCEMPYLRUC","timestamp":"2022-08-16T23:11:35.205Z"},"availableModules":{"value":[],"timestamp":"2022-08-16T23:11:35.205Z"},"newVersionAvailable":{"value":false,"timestamp":"2022-08-16T23:11:35.205Z"}},"samsungce.driverVersion":{"versionNumber":{"value":22072701,"timestamp":"2022-09-07T08:04:37.166Z"}},"samsungce.powerFreeze":{"activated":{"value":false,"timestamp":"2022-08-17T02:27:12.883Z"}},"sec.diagnosticsInformation":{"logType":{"value":["errCode","dump"],"timestamp":"2022-08-16T23:24:35.210Z"},"endpoint":{"value":"SSM","timestamp":"2022-08-16T23:24:35.210Z"},"minVersion":{"value":"1.0","timestamp":"2022-08-16T23:24:35.210Z"},"setupId":{"value":"513","timestamp":"2022-08-16T23:24:35.210Z"},"protocolType":{"value":"wifi_https","timestamp":"2022-08-16T23:24:35.210Z"},"mnId":{"value":"0AJT","timestamp":"2022-08-16T23:24:35.210Z"},"dumpType":{"value":"file","timestamp":"2022-08-16T23:24:35.210Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"custom.deviceReportStateConfiguration":{"reportStateRealtimePeriod":{"value":null},"reportStateRealtime":{"value":{"state":"disabled"},"timestamp":"2022-08-16T23:11:33.419Z"},"reportStatePeriod":{"value":"enabled","timestamp":"2022-08-16T23:11:33.419Z"}},"custom.waterFilter":{"waterFilterUsageStep":{"value":1,"timestamp":"2022-08-16T23:11:34.578Z"},"waterFilterResetType":{"value":["replaceable"],"timestamp":"2022-08-16T23:11:34.578Z"},"waterFilterCapacity":{"value":null},"waterFilterLastResetDate":{"value":null},"waterFilterUsage":{"value":8,"timestamp":"2022-09-02T21:39:16.144Z"},"waterFilterStatus":{"value":"normal","timestamp":"2022-08-16T23:11:34.578Z"}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"cvroom":{"custom.fridgeMode":{"fridgeModeValue":{"value":null},"fridgeMode":{"value":null}},"contactSensor":{"contact":{"value":null}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["temperatureMeasurement","thermostatCoolingSetpoint"],"timestamp":"2022-08-16T23:11:32.877Z"}},"temperatureMeasurement":{"temperature":{"value":null}},"thermostatCoolingSetpoint":{"coolingSetpoint":{"value":null}}},"icemaker-02":{"custom.disabledCapabilities":{"disabledCapabilities":{"value":[],"timestamp":"2022-08-16T23:11:32.877Z"}},"switch":{"switch":{"value":null}}}}}] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=11&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:04.510 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=12&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:1a9abc14-ae2f-4102-90ef-6e7a3d80e34d, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=13&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:04.507 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=14&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=15&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:20:02.782 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=16&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=17&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:28.664 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=18&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: Attributes: [coolingSetpoint:null, temperature:null, SabbathMode:null, contact:open, rapidCooling:off, rapidFreezing:off, filterStatus:normal, defrost:off] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=19&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:27.239 pm info https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=20&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: toggleSabbathMode [newMode: Sabbath_Off, respData: [status:OK, results:[[id:65dd4945-c7bb-4ef5-af4c-c67b3499c6cc, status:ACCEPTED]]]] dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=21&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:27.236 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=22&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:2376 https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=23&targetURL=http%3A%2F%2Fhubitat.local%2Flogs%3Fdevice%3D2376%23pastdev23762022-09-08 09:17:25.495 pm debug https://link.engageusercontent.com/mt/lte?tid=7196925002532&lid=24&targetURL=http%3A%2F%2Fhubitat.local%2Fdevice%2Fedit%2F2376Refrigerator B0.7T: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]]

On Wed, Sep 7, 2022 at 10:34 AM David Gutheinz @.***> wrote:

I have created a TEST version with a new command "Toggle Sabbath" and a new attribute "SabbathMode". It only impacts the code in the main (parent) driver. Replace that code with:

https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Please provide feedback. When successful, this will become part of the baseline.

Dave

— Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/26#issuecomment-1239474588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA34RU353RCOE5ISOMQ6DYLV5CRW7ANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>

DaveGut commented 1 year ago

First, it was difficult to read the log data since the way it was pasted placed line breaks every 80 characters. I had to manually delete these breaks. Appreciated if you can fix this in the next log file.

SECOND: Updated code available at : https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy

Same procedure as before. If it works w/o error messages, I do not need the logs. If not, logs would be appreciated.

Dave

evdev commented 1 year ago

I meant to send these logs earlier but forgot.

So it didn't work. Here are the logs:

dev:23762022-09-13 01:21:46.037 pm debugRefrigerator T1.1: Attributes: [contact:closed, SabbathMode:[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null], coolingSetpoint:null, defrost:off, filterStatus:normal, temperature:null, rapidCooling:off, rapidFreezing:off] dev:23762022-09-13 01:21:42.564 pm infoRefrigerator T1.1: toggleSabbathMode: [cmd: null, [status:FAILED, httpCode:Timeout, errorMsg:groovyx.net.http.HttpResponseException: status code: 422, reason phrase: Unprocessable Entity]] dev:23762022-09-13 01:21:42.561 pm debugRefrigerator T1.1: asyncGet: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/status, parse:distResp], statusParse dev:23762022-09-13 01:21:41.698 pm debugRefrigerator T1.1: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:refresh, command:refresh, arguments:[]]] dev:23762022-09-13 01:21:41.530 pm debugRefrigerator T1.1: syncPost: [path:/devices/86cb4b57-bbc3-d180-d6ec-18b77edf6b70/commands, cmdData:[component:main, capability:execute, command:execute, arguments:[[x.com.samsung.da.sabbathMode:Off]]]]

On Fri, Sep 9, 2022 at 12:53 PM David Gutheinz @.***> wrote:

First, it was difficult to read the log data since the way it was pasted placed line breaks every 80 characters. I had to manually delete these breaks. Appreciated if you can fix this in the next log file.

SECOND: Updated code available at : https://raw.githubusercontent.com/DaveGut/Test-Code/master/Samsung_Refrig.groovy https://link.engageusercontent.com/mt/lte?tid=2292377623865&lid=1&targetURL=https%3A%2F%2Fraw.githubusercontent.com%2FDaveGut%2FTest-Code%2Fmaster%2FSamsung_Refrig.groovy

Same procedure as before. If it works w/o error messages, I do not need the logs. If not, logs would be appreciated.

Dave

— Reply to this email directly, view it on GitHub https://link.engageusercontent.com/mt/lte?tid=2292377623865&lid=2&targetURL=https%3A%2F%2Fgithub.com%2FDaveGut%2FHubitatActive%2Fissues%2F26%23issuecomment-1242221619, or unsubscribe https://link.engageusercontent.com/mt/lte?tid=2292377623865&lid=3&targetURL=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA34RU2UR25F62FIMX72B43V5NTRRANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>

DaveGut commented 1 year ago

New try uploaded to https://github.com/DaveGut/Test-Code/edit/master/Samsung_Refrig.groovy

Version is listed as 1.2T. It is the same as the released version EXCEPT for the update to the SABBATH cmd.

Dave

evdev commented 1 year ago

Thanks so much for the continued development!

I tested this but it didn't work. Here is what it said in the logs: Refrigerator: toggleSabbathMode: [cmd: Off, [status:FAILED, httpCode:Timeout, errorMsg:groovyx.net.http.HttpResponseException: status code: 422, reason phrase: Unprocessable Entity]]

On Sun, Sep 18, 2022 at 11:26 AM David Gutheinz @.***> wrote:

New try uploaded to https://github.com/DaveGut/Test-Code/edit/master/Samsung_Refrig.groovy

Version is listed as 1.2T. It is the same as the released version EXCEPT for the update to the SABBATH cmd.

Dave

— Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/26#issuecomment-1250331273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA34RU4MRP7KZGKODEGOODTV64YDNANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>

DaveGut commented 1 year ago

My efforts are done for now. I am out of ideas on how to get this to work. The function will be removed from the next driver version.

However, I will revisit from time-to-time to see if additional information is available.

Dave

evdev commented 1 year ago

Thanks for trying. I wouldn't be surprised if the public API to the feature was closed by orders of the kosher certifying agency probably because they didn't want people to rely on a cloud integration that isn't 100% reliable.

On Mon, Sep 19, 2022 at 10:54 AM David Gutheinz @.***> wrote:

My efforts are done for now. I am out of ideas on how to get this to work. The function will be removed from the next driver version.

However, I will revisit from time-to-time to see if additional information is available.

Dave

— Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/26#issuecomment-1251135700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA34RU5TQF6S7MOPOKDKS4LV7B5APANCNFSM6AAAAAAQEJVFZ4 . You are receiving this because you authored the thread.Message ID: @.***>