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

Fridge reporting bad status #86

Open PrzemyslawKlys opened 1 year ago

PrzemyslawKlys commented 1 year ago

Describe The Bug:

I've just installed this plugin and it seems to work

image

The switch for open/closed fridge acts on opening and closing the fridge door, but I am not sure where the 0 degrees is coming from. I guess this is related to this error:

image

To Reproduce:

Just install the plugin with a fridge present

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1/",
            "AccessToken": "da",
            "GarageDoorMaxPoll": 40,
            "PollLocksSeconds": 10,
            "PollDoorsSeconds": 10,
            "PollSensorsSeconds": 5,
            "PollSwitchesAndLightsSeconds": 10,
            "platform": "HomeBridgeSmartThings",
            "_bridge": {
                "username": "0E:",
                "port": 37626
            }
        }

Screenshots:

Environment:

iklein99 commented 1 year ago

This is because the device reports that it supports the temperatureMeasurement capability in Smartthings, but it is returning it didn’t return a valid value for that.

On Nov 17, 2022, at 3:12 AM, Przemysław Kłys @.***> wrote:

Describe The Bug:

I've just installed this plugin and it seems to work

https://user-images.githubusercontent.com/15063294/202391278-95835143-3438-4b6d-9528-2f6bcd862fbe.png The switch for open/closed fridge acts on opening and closing the fridge door, but I am not sure where the 0 degrees is coming from. I guess this is related to this error:

https://user-images.githubusercontent.com/15063294/202391189-4334fbc4-745d-444e-af9a-90d3bad66637.png To Reproduce:

Just install the plugin with a fridge present

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information. Plugin Config:

{ "name": "Smartthings Plug (IK)", "BaseURL": "https://api.smartthings.com/v1/", "AccessToken": "da", "GarageDoorMaxPoll": 40, "PollLocksSeconds": 10, "PollDoorsSeconds": 10, "PollSensorsSeconds": 5, "PollSwitchesAndLightsSeconds": 10, "platform": "HomeBridgeSmartThings", "_bridge": { "username": "0E:", "port": 37626 } } Screenshots:

Environment:

Plugin Version: 1.4.15 Homebridge Version: 1.5.1 Node.js Version: 18.12 NPM Version: Operating System: Ubuntu — Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55EVWQLKOES3Z3DXBQOLWIXSG3ANCNFSM6AAAAAASDCXKPM. You are receiving this because you are subscribed to this thread.

PrzemyslawKlys commented 1 year ago

I understand that. Any way to hide it? Right now it's pushing a lot of logs so I can't see anything else, it does that every 5 seconds or so, makes me think I am hammering APi no?

iklein99 commented 1 year ago

You can change the polling for sensors so that it isn’t hitting it that hard or you can make is zero (0) to never poll, but I have no other way to hide it right now, other than ignoring the device all together. You can add the device into to the IgnoreDevices section of the config.

On Nov 17, 2022, at 8:08 AM, Przemysław Kłys @.***> wrote:

I understand that. Any way to hide it? Right now it's pushing a lot of logs so I can't see anything else, it does that every 5 seconds or so, makes me think I am hammering APi no?

— Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/86#issuecomment-1318609467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55ES3E2BGAJR4FCJYQO3WIYU43ANCNFSM6AAAAAASDCXKPM. You are receiving this because you commented.

PrzemyslawKlys commented 1 year ago

This is my only device :-) Thank you

moebis commented 1 year ago

I’m having the same issue. It should be reporting the door status and have temp control for fridge and freezer.

matthewlehew commented 1 year ago

I have the same problem but think @iklein99 is right in that nothing can be done. Notably, while you can access temperature measurement and control in the SmartThings iOS app, only the door sensor appears in the SmartThings web dashboard.

siobhanellis commented 1 year ago

newbie on Smartthings, so forgive a silly question:

So, does this only expose things on the dashboard? As when you select the fridge, it tells you what the temperature is.

I'm guessing that it would require supporting the fridge fully to get that capability?