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

Missing Switches #179

Open Zero3d opened 1 year ago

Zero3d commented 1 year ago

Describe Your Problem: I have 5 light switches in SmartThings. Only 1 switch shows up

Logs:

6/14/2023, 9:51:09 PMSmartThings Ik BridgeLoaded plugin 'homebridge-smartthings-ik'
6/14/2023, 9:51:09 PMSmartThings Ik BridgeLoading 1 platforms...
6/14/2023, 9:51:09 PMSmartThings Ik BridgeBridge is running on port 51826.
6/14/2023, 9:51:09 PMSmartThings Ik BridgeHomeBridgeSmartThingsERRORError getting devices from Smartthings: AxiosError: Request failed with status code 400
6/14/2023, 9:51:09 PMSmartThings Ik BridgeHomeBridgeSmartThingsERRORCould not load devices from Smartthings: undefined.  Check your configuration
6/14/2023, 9:54:44 PMSmartThings Ik BridgeConfiguration change
6/14/2023, 9:54:44 PMsmartthingsikbridge stopping
6/14/2023, 9:54:49 PMSmartThings Ik Bridge starting
6/14/2023, 9:54:52 PMSmartThings Ik BridgeLoaded plugin 'homebridge-smartthings-ik'
6/14/2023, 9:54:52 PMSmartThings Ik BridgeLoading 1 platforms...
6/14/2023, 9:54:53 PMSmartThings Ik BridgeBridge is running on port 51826.
6/14/2023, 9:54:58 PMSmartThings Ik BridgeSmartthings Plug (IK)Registering new accessory: Dining Room Lights
6/14/2023, 9:54:58 PMSmartThings Ik BridgeSmartthings Plug (IK)ERRORCould not load devices from Smartthings: TypeError: Cannot read properties of undefined (reading 'capabilities').  Check your configuration

Plugin Config:

"platform": "HomeBridgeSmartThings",
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "Removed",
"GarageDoorMaxPoll": 40

Cannot access config.json file. There is no Advanced Editor Option.

Environment: Dunno. I am new

iklein99 commented 1 year ago

I assume you got an access token from smarthigns and that is in your config?

On Jun 15, 2023, at 1:33 AM, Zero3d @.***> wrote:

Describe Your Problem:

Logs:

6/14/2023, 9:51:09 PMSmartThings Ik BridgeLoaded plugin 'homebridge-smartthings-ik' 6/14/2023, 9:51:09 PMSmartThings Ik BridgeLoading 1 platforms... 6/14/2023, 9:51:09 PMSmartThings Ik BridgeBridge is running on port 51826. 6/14/2023, 9:51:09 PMSmartThings Ik BridgeHomeBridgeSmartThingsERRORError getting devices from Smartthings: AxiosError: Request failed with status code 400 6/14/2023, 9:51:09 PMSmartThings Ik BridgeHomeBridgeSmartThingsERRORCould not load devices from Smartthings: undefined. Check your configuration 6/14/2023, 9:54:44 PMSmartThings Ik BridgeConfiguration change 6/14/2023, 9:54:44 PMsmartthingsikbridge stopping 6/14/2023, 9:54:49 PMSmartThings Ik Bridge starting 6/14/2023, 9:54:52 PMSmartThings Ik BridgeLoaded plugin 'homebridge-smartthings-ik' 6/14/2023, 9:54:52 PMSmartThings Ik BridgeLoading 1 platforms... 6/14/2023, 9:54:53 PMSmartThings Ik BridgeBridge is running on port 51826. 6/14/2023, 9:54:58 PMSmartThings Ik BridgeSmartthings Plug (IK)Registering new accessory: Dining Room Lights 6/14/2023, 9:54:58 PMSmartThings Ik BridgeSmartthings Plug (IK)ERRORCould not load devices from Smartthings: TypeError: Cannot read properties of undefined (reading 'capabilities'). Check your configuration

Plugin Config: { "platform": "HomeBridgeSmartThings", "name": "Smartthings Plug (IK)", "BaseURL": "https://api.smartthings.com/v1/", "AccessToken": "Removed", "GarageDoorMaxPoll": 40 }

Show your Homebridge config.json here, remove any sensitive information.



**Environment:**
Dunno. I am new

* **Plugin Version**: 4.3.0 
* **Homebridge Version**: 1.6.0
* **Node.js Version**: 16.20.0
* **NPM Version**: don't know what this is. I'm a noob.
* **Operating System**: HOOBos

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
—
Reply to this email directly, view it on GitHub <https://github.com/iklein99/homebridge-smartthings/issues/179>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABG55EURR7Q3IGPQJFRSLOTXLKNCVANCNFSM6AAAAAAZHJYET4>.
You are receiving this because you are subscribed to this thread.
Zero3d commented 1 year ago

Yes.

I assume you got an access token from smarthigns and that is in your config?

iklein99 commented 1 year ago

Follow the instructions in the linked document and send me detailed logs.

Instructions for Producing a Detailed Log.pdf