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

Samsung Refrigerator Poll Failure #252

Open wild-a opened 3 months ago

wild-a commented 3 months ago

Describe The Bug: The SmartThings plugin exposes a sensor for each door and a fifth sensor that's shows overall if any door is open. It also exposes 3 switches, 2 switches are for the 2 ice types and 1 switch is unknown to me. The unknown switch is not able to be polled and shows an error in the Homebridge log.

To Reproduce: Add a Bespoke Samsung fridge to the plugin.

Logs: [3/5/2024, 3:55:14 PM] [Smartthings Plug (IK)] Poll failure on Refrigerator [3/5/2024, 3:55:17 PM] [Smartthings Plug (IK)] Refrigerator returned bad value for status [3/5/2024, 3:55:17 PM] [Smartthings Plug (IK)] Bad status from Refrigerator. Removing this service. [3/5/2024, 3:55:17 PM] [Smartthings Plug (IK)] Poll failure on Refrigerator [3/5/2024, 3:55:18 PM] [Smartthings Plug (IK)] Refrigerator returned bad value for status [3/5/2024, 3:55:18 PM] [Smartthings Plug (IK)] Bad status from Refrigerator. Removing this service. [3/5/2024, 3:55:18 PM] [Smartthings Plug (IK)] Poll failure on Refrigerator [3/5/2024, 3:55:19 PM] [Smartthings Plug (IK)] Refrigerator returned bad value for status [3/5/2024, 3:55:19 PM] [Smartthings Plug (IK)] Bad status from Refrigerator. Removing this service. [3/5/2024, 3:55:19 PM] [Smartthings Plug (IK)] Refrigerator returned bad value for status [3/5/2024, 3:55:19 PM] [Smartthings Plug (IK)] Bad status from Refrigerator. Removing this service.

Plugin Config: { "name": "Smartthings Plug (IK)", "BaseURL": "https://api.smartthings.com/v1/", "AccessToken": "TOKEN REDACTED", "GarageDoorMaxPoll": 40, "PollLocksSeconds": 0, "PollDoorsSeconds": 0, "PollSensorsSeconds": 5, "PollSwitchesAndLightsSeconds": 0, "PollWindowShadesSeconds": 20, "ExposeHumiditySensorForAirConditioners": false, "OptionalModeForAirConditioners": "None", "IgnoreDevices": [ "Samsung TV", "iPhone" ], "_bridge": { "username": "REDACTED", "port": REDACTED }, "platform": "HomeBridgeSmartThings" }

Screenshots:

Screenshot 2024-03-05 at 3 58 59 PM

Environment:

mpreissner commented 1 month ago

Following, as I just got a new Bespoke refrigerator as well. It's an RF23DB9750QLAA. I've been able to identify the two switches for the ice makers, but there's a third switch that I can't figure out what it is. I've gone through the ST app turning each option on and waiting to see if anything changed the state, but nothing so far.

Also, I only seem to have 3 contact sensors, though I have 4 doors (1 freezer, 1 flex zone, two refrigerator - though the top left also has a half door/beverage sensor).

Environment: