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

Switches (TVs) not working anymore but did work last week - no changes to config #148

Closed gradyhouston closed 1 year ago

gradyhouston commented 1 year ago

Describe The Bug: 2 of 3 Samsung TVs not responding when they had worked after install

To Reproduce: Just use Siri or Home App or Homebridge UI to turn on TVs and then nothing happens

Expected behavior: Use Home App or Siri to turn on TVs that previously responded to the plugin

Logs:

[10/03/2023, 12:56:50] [Smartthings Plug (IK)] Received setSwitchState(true) event for Basement Gaming TV - Samsung Q60 Series (65) [10/03/2023, 12:56:50] [Smartthings Plug (IK)] on failed for Basement Gaming TV - Samsung Q60 Series (65): AxiosError: Request failed with status code 409 [10/03/2023, 12:56:50] [Smartthings Plug (IK)] Command failed for Basement Gaming TV - Samsung Q60 Series (65)

[10/03/2023, 13:11:47] [Smartthings Plug (IK)] Received response from webhook {"timeout":true,"events":[]} [10/03/2023, 13:11:47] [Smartthings Plug (IK)] Posting request to web hook

Plugin Config:

        {
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1",
            "AccessToken": "XXX",
            "WebhookToken": "XXX",
            "GarageDoorMaxPoll": 0,
            "PollLocksSeconds": 0,
            "PollDoorsSeconds": 0,
            "PollSensorsSeconds": 5,
            "PollSwitchesAndLightsSeconds": 15,
            "IgnoreLocations": [
                "Ignored Room",
                "My location 2"
            ],
            "IgnoreDevices": [
                "XXX",
                "XXX",
                "XXX"
            ],
            "platform": "HomeBridgeSmartThings"
        }

Screenshots:

Environment:

iklein99 commented 1 year ago

It indicates that SmartThings says that turning it on would conflict with the devices current state.

This isn’t something I can fix with the plugin as it is doing what it is being told which is set the switch state to “on”.

Try restarting homebridge or maybe even your hub.

Also try controlling the device with the SmartThigns app and see what happens there.

On Mar 10, 2023, at 1:10 PM, Grady Houston @.***> wrote:

Describe The Bug: 2 of 3 Samsung TVs not responding when they had worked after install

To Reproduce: Just use Siri or Home App or Homebridge UI to turn on TVs and then nothing happens

Expected behavior: Use Home App or Siri to turn on TVs that previously responded to the plugin

Logs:

[10/03/2023, 12:56:50] [Smartthings Plug (IK)] Received setSwitchState(true) event for Basement Gaming TV - Samsung Q60 Series (65) [10/03/2023, 12:56:50] [Smartthings Plug (IK)] on failed for Basement Gaming TV - Samsung Q60 Series (65): AxiosError: Request failed with status code 409 [10/03/2023, 12:56:50] [Smartthings Plug (IK)] Command failed for Basement Gaming TV - Samsung Q60 Series (65)

Not sure what status code 409 means.

Plugin Config:

    {
        "name": "Smartthings Plug (IK)",
        "BaseURL": "https://api.smartthings.com/v1",
        "AccessToken": "XXX",
        "WebhookToken": "XXX",
        "GarageDoorMaxPoll": 0,
        "PollLocksSeconds": 0,
        "PollDoorsSeconds": 0,
        "PollSensorsSeconds": 5,
        "PollSwitchesAndLightsSeconds": 15,
        "IgnoreLocations": [
            "Ignored Room",
            "My location 2"
        ],
        "IgnoreDevices": [
            "XXX",
            "XXX",
            "XXX"
        ],
        "platform": "HomeBridgeSmartThings"
    }

Screenshots:

Environment:

Plugin - v1.5.1: Node - v1.6.0: Homebridge - v16.16.0: NPM - 8.11.0: OS - DietPi: — Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/148, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55ERAPF4Z365TD2YSS5DW3NVCBANCNFSM6AAAAAAVWZCON4. You are receiving this because you are subscribed to this thread.

gradyhouston commented 1 year ago

Ah, I see. Weird issue on my end. Sorry about that. I thought I had checked everything before coming here.