I created a Rule using Smartthings CLI.
My Smartthings CLI is configured with config.yaml with a token which is created at https://account.smartthings.com/tokens
The Rule works well in my Location.
The problem is…
When I use SmartThings Rules Manager at https://smartthings-rules-manager.glitch.me/
The rule, which works well, is not visible at all by clicking “List Rules”.
Also, when I create a rule in SmartThings Rules Manager at https://smartthings-rules-manager.glitch.me/
The rule is not visible in Smartthings CLI.
…
FYI,
-
ST CLI is downloaded from here. v0.0.0-pre.18
I installed to the Ubuntu 20.04 Server x64 version. It has been working well. -
SmartThings Rules Manager is a glitch app provided by SmartThings Github.
Rules-API-Hub/Sample Rules Apps/smartthings-rules-manager.glitch.me at master · SmartThingsCommunity/Rules-API-Hub (github.com) -
ST CLI Token which is manually created from https://account.smartthings.com/tokens is granted with ALL permissions that are checkable from the token generation site. It is connected with Smartthings CLI executable using config.yaml file.
-
Rules Manager Token is automatically created when I logged in to that glitch app webpage with my Samsung account.
-
Both tokens are created with the same Samsung Account (which is my Samsung Account)
…
Here is what I tried for the workaround.
In the SmartThings Rules Manager at https://smartthings-rules-manager.glitch.me/
I could see the Bearer Token, which is automatically generated after logging in with the Samsung Account.
So, I copied that Bearer Token, and pasted in the config.yaml of the SmartThings CLI.
Then the Rules are visible in both CLI and Smartthings Rules Manager glitch.
…
Here is the problem.
Why are Rules, of the same location, not visible to each other when using different Bearer Token?
It needs to be fixed.
Thank you.