Smartthings Refrigerator/Fridge

Smartthings Integration for refrigerator contact and power sensor works but Temp does not seem to update and stays on unknown/unavailable.

My model # is RF22A4111SG probably will work on other models with wifi.

Work around - Rest Platform.

Not to taking credit but probably will help out others. Instructions on the link below.

Dont forget to add scan_interval: under the - platform: rest [so the contact sensor is updated] not sure what the default is if left to default you wont even see the contact sensor change.

Exposed components:

components: 
icemaker:
  custom.disabledCapabilities:
    disabledCapabilities:
      value: null
  switch:
    switch:
      value: 'off'
      timestamp: '2021-12-30T03:34:51.418Z'
onedoor:
  custom.fridgeMode:
    fridgeModeValue:
      value: null
    fridgeMode:
      value: null
  contactSensor:
    contact:
      value: null
  custom.disabledCapabilities:
    disabledCapabilities:
      value: null
  temperatureMeasurement:
    temperature:
      value: null
  thermostatCoolingSetpoint:
    coolingSetpoint:
      value: null
cooler:
  custom.fridgeMode:
    fridgeModeValue:
      value: null
    fridgeMode:
      value: null
  contactSensor:
    contact:
      value: closed
      timestamp: '2021-12-30T03:37:47.855Z'
  custom.disabledCapabilities:
    disabledCapabilities:
      value:
        - custom.fridgeMode
      timestamp: '2021-12-30T03:34:52.673Z'
  temperatureMeasurement:
    temperature:
      value: 3
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
  custom.thermostatSetpointControl:
    minimumSetpoint:
      value: 1
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
    maximumSetpoint:
      value: 7
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
  thermostatCoolingSetpoint:
    coolingSetpoint:
      value: 3
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
freezer:
  custom.fridgeMode:
    fridgeModeValue:
      value: null
    fridgeMode:
      value: null
  contactSensor:
    contact:
      value: closed
      timestamp: '2021-12-30T03:34:51.430Z'
  custom.disabledCapabilities:
    disabledCapabilities:
      value:
        - custom.fridgeMode
      timestamp: '2021-12-30T03:34:52.673Z'
  temperatureMeasurement:
    temperature:
      value: -19
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
  custom.thermostatSetpointControl:
    minimumSetpoint:
      value: -23
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
    maximumSetpoint:
      value: -15
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
  thermostatCoolingSetpoint:
    coolingSetpoint:
      value: -19
      unit: C
      timestamp: '2021-12-30T03:34:51.316Z'
main:
  custom.disabledComponents:
    disabledComponents:
      value:
        - cvroom
        - onedoor
        - icemaker-02
      timestamp: '2021-12-30T03:34:52.673Z'
  contactSensor:
    contact:
      value: closed
      timestamp: '2021-12-30T03:37:47.855Z'
  powerConsumptionReport:
    powerConsumption:
      value:
        energy: 495
        deltaEnergy: 13
        power: 82
        powerEnergy: 0.18504194445080227
        persistedEnergy: 0
        energySaved: 0
        start: '2021-12-30T04:23:52Z'
        end: '2021-12-30T04:34:58Z'
      timestamp: '2021-12-30T04:34:58.160Z'
  refresh: {}
  execute:
    data:
      value:
        payload:
          rt:
            - x.com.samsung.da.energyconsumption
          if:
            - oic.if.baseline
            - oic.if.a
          x.com.samsung.da.cumulativeConsumption: '476'
          x.com.samsung.da.cumulativePower: '495'
          x.com.samsung.da.cumulativeUnit: Wh
          x.com.samsung.da.instantaneousPower: '82'
          x.com.samsung.da.instantaneousPowerUnit: W
          x.com.samsung.da.monthlyConsumption: '0'
          x.com.samsung.da.thismonthlyConsumption: '495'
      data:
        href: /energy/consumption/vs/0
      timestamp: '2021-12-30T04:34:58.160Z'
  custom.fridgeMode:
    fridgeModeValue:
      value: null
    fridgeMode:
      value: null
  ocf:
    st:
      value: null
    mndt:
      value: null
    mnfv:
      value: A-RFWW-TP2-21-COMMON_20210730
      timestamp: '2021-12-30T03:34:52.400Z'
    mnhw:
      value: MediaTek
      timestamp: '2021-12-30T03:34:52.400Z'
    di:
      value: 9d122b26-5498-192b-2889-9aa8c0f8b6bd
      timestamp: '2021-12-30T03:34:52.400Z'
    mnsl:
      value: http://www.samsung.com
      timestamp: '2021-12-30T03:34:52.400Z'
    dmv:
      value: res.1.1.0,sh.1.1.0
      timestamp: '2021-12-30T03:34:52.400Z'
    'n':
      value: '[refrigerator] Samsung'
      timestamp: '2021-12-30T03:34:52.400Z'
    mnmo:
      value: TP2X_REF_20K|00144441|0002023E011511200100000030000000
      timestamp: '2021-12-30T03:34:52.400Z'
    vid:
      value: DA-REF-NORMAL-000001
      timestamp: '2021-12-30T03:34:52.400Z'
    mnmn:
      value: Samsung Electronics
      timestamp: '2021-12-30T03:34:52.400Z'
    mnml:
      value: http://www.samsung.com
      timestamp: '2021-12-30T03:34:52.400Z'
    mnpv:
      value: DAWIT 2.0
      timestamp: '2021-12-30T03:34:52.400Z'
    mnos:
      value: TizenRT 1.0 + IPv6
      timestamp: '2021-12-30T03:34:52.400Z'
    pi:
      value: 9d122b26-5498-192b-2889-9aa8c0f8b6bd
      timestamp: '2021-12-30T03:34:52.400Z'
    icv:
      value: core.1.1.0
      timestamp: '2021-12-30T03:34:52.400Z'
  refrigeration:
    defrost:
      value: 'off'
      timestamp: '2021-12-30T03:34:51.352Z'
    rapidCooling:
      value: 'off'
      timestamp: '2021-12-30T03:34:51.363Z'
    rapidFreezing:
      value: 'off'
      timestamp: '2021-12-30T03:34:51.363Z'
  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: '2021-12-30T03:34:51.363Z'
  custom.disabledCapabilities:
    disabledCapabilities:
      value:
        - custom.deodorFilter
        - custom.waterFilter
      timestamp: '2021-12-30T03:34:52.673Z'
  samsungce.driverVersion:
    versionNumber:
      value: 21060201
      timestamp: '2021-12-30T03:34:51.114Z'
  samsungce.powerFreeze:
    activated:
      value: false
      timestamp: '2021-12-30T03:34:51.363Z'
  temperatureMeasurement:
    temperature:
      value: null
  custom.deviceReportStateConfiguration:
    reportStateRealtimePeriod:
      value: null
    reportStateRealtime:
      value:
        state: disabled
      timestamp: '2021-12-30T04:08:19.617Z'
    reportStatePeriod:
      value: enabled
      timestamp: '2021-12-30T03:34:51.479Z'
  custom.waterFilter:
    waterFilterUsageStep:
      value: null
    waterFilterResetType:
      value: null
    waterFilterCapacity:
      value: null
    waterFilterLastResetDate:
      value: null
    waterFilterUsage:
      value: null
    waterFilterStatus:
      value: null
  thermostatCoolingSetpoint:
    coolingSetpoint:
      value: null
cvroom:
  custom.fridgeMode:
    fridgeModeValue:
      value: null
    fridgeMode:
      value: null
  contactSensor:
    contact:
      value: null
  custom.disabledCapabilities:
    disabledCapabilities:
      value: null
  temperatureMeasurement:
    temperature:
      value: null
  thermostatCoolingSetpoint:
    coolingSetpoint:
      value: null
icemaker-02:
  custom.disabledCapabilities:
    disabledCapabilities:
      value: null
  switch:
    switch:
      value: null

1 Like

This is old, but in case anyone else comes looking for a solution, I found the root issue for not seeing TEMP in some Smartthings Refrigerators… Basically the issue is the configuration in SmartThings itself.

In HomeAssistant, go to Device, then click on Visit Device which will take you to Smart Things site.
Now click on “My Devices”, then click on the device in question.

At least in my case, the “Type” was defined as PlaceHolder, not a Samsung OCF Refrigerator.
If you click Edit, Type in anything thats Unique in Network ID, then set the type to OCF Refrigerator, then hit Update.

You will notice when you go back to the device page, that a lot more in now populated and showing up. The differences showed up in Home Assistant right away as well. TEMPS!

I hope this helps!

9 Likes

When I click on the device, I see no such place as Network IDScreenshot 2022-08-05 144836

I also see a BETA symbol at the top of my Smarthings PC instance. hmmm

I was hoping for an easy fix like you posted.

@jazco99 that fixed it for me, thanks!

One note: In order to access the device configuration and change the type I had to go to the old/non-beta SmartThings webapp: https://graph.api.smartthings.com/

1 Like

Ok. Got there. I needed to click my LOCATIONS in the old webapp to find the devce. Then followed jazco’s awesome instructions. BOOM.

1 Like

This should be noted in the official documenation, thank you!

I wish I could figure out how to get the freezer door and temp status shown as well

Also, can’t seem to get the contact sensors to update. My HA history for the fridge door tells me that door open/close events occurred in HA but stopped working a day or so ago (before I made any of the changes describe above)

I went to the old web app, and see “temperatureMeasurement”, “thermostatCoolingSetpoint” in a different component ID “cvroom” and it’s disabled?

@moebis, for me the default on the SmartThings site is to only show the first 10 lines of > 100 lines. Try searching for “temperature” or scrolling. The ones of greatest interest would be

cooler
temperatureMeasurement
temperature
freezer
temperatureMeasurement
temperature

Of course, they’re not showing up in my HA… That part I’m still working on.

1 Like

yes, those values are further down, and the fridge is reporting them:

  • components.cooler.temperatureMeasurement.temperature
  • components.cooler.thermostatCoolingSetpoint.coolingSetpoint
  • components.freezer.temperatureMeasurement.temperature
  • components.freezer.thermostatCoolingSetpoint.coolingSetpoint

It’s just that this integration decides to picks the ones that are disabled for some reason. If I add it manually to the configuration.yaml, I do see them (although orphaned from the main device). Would be nice if this was fixed.

In the Smartthings site (old one with device attributes) I see the correct temp for fridge and freeze:

cooler
temperatureMeasurement
temperature
2 C

freezer
temperatureMeasurement
temperature
-18 C

But the SmartThings integration on Home Assistant is trying to read:

Is it possible to force it to read the correct sensors and settings from Samsung’s API?

Hey,

Just in case, here is a fixed (at least for me) SmartThings you can install via HACS: GitHub - contemplator1998/smartthings

(Pulled #99924 and wrapped into a HACS repo)

It makes everything accessible, even sensors/controls that are always unavailable (just disable them in the HA).

2 Likes

Has this been fixed?

Hello,

on Samsung account I seem not to be able to change the Type (which is OCF currently and not OCF Refrigerator).

Can someone tell me, where to change it?

Greetings,
Hendrik