-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot register automation node in SmartThings Developer Workspace #95
Comments
Hello, Thank you for contacting Samsung Automation Studio Support. SmartThings Developer Workplace has identified a issues in which the application verification is not completed. If authentication fails, update the Automation that requested authentication as follows:
This updates the authentication status and activates the 'DEPLOY TO TEST' button. Please do not hesitate to contact us if you have any further questions. Thank you. |
Hi, Thanks for the quick response. thanks! |
Hello, Thank you for contacting Samsung Automation Studio Support. To use an automation node in Node Red, follow these steps. 1. Create and deploy automation node flow (ex. https://your.com/yourTV)
4. Click Verify App Registration Please proceed with the procedure above and share the details if any problems arise. Please do not hesitate to contact us if you have any further questions. Thank you. |
Hi, Thank you very much for the detailed explanation. Thanks! |
Hello, Thank you for contacting Samsung Automation Studio Support. After reviewing the situation, it appears that the issue may be related to the inbound rules of the EC2 security group. I recommend testing by temporarily setting the inbound rules to "any open" to see if that resolves the issue. Please do not hesitate to contact us if you have any further questions. Thank you. |
Hi, Thanks for the suggestion. My instance is running in the Oracle cloud and basically all traffic is allowed to port 1880 and no egress rules are applied. Trying from SmartThings Developer directly, there is no sign that the request ever reaches the Automation node (uncommented lines 463-465 in Smartthings.js, I also seeing no incoming requests using a plain http-in node in place of the Automation node neither). I see TCP packages arriving using tcpdump, but no requests received in Node-red. However, reposting the captured confirmation lifecycle request (Beeceptor + ReqBin) is triggering the expected response (401 (Unauthorized)) and is logged by the Automation node in Node-red. Please let me know if this problem is not in the scope of this project (i.e. SmartThings Developer or Oracle OCI issue). Thanks! |
Hello, Thank you for contacting Samsung Automation Studio Support. Follow these steps to check for request debug messages in the SmartThings Developer Workplace 1. Create and deploy http-in(post) node flow instead of the automation 2. Add automation app in SmartThings Developer Workplace 3. Register the automation app
4. Verifying debug messages in node-red You can check debug messages when the app is registered. If the debug message is not output, SmartThings Developer Workplace has failed to access the node-red site for some reason. In general, access can be restricted by the security of the EC2 inbound, outbound rules, and it seems that automation node and http-in node can be used only when this issue is resolved. Please correct the issue by modifying the ingress, egress rule of Oracle OCI. Please do not hesitate to contact us if you have any further questions. Thank you. |
According to the Wireshark capture:
The problem seems to be at the TLS handshake. The Node-red server uses a Let´s Encrypt certificate and is perfectly functional in other usage (e.g. reaching the web interface etc). |
Hello, Thank you for contacting Samsung Automation Studio Support. We recommend trying a different certificate if you're experiencing TLS handshake issues with a Let's Encrypt certificate. If the problem persists, please contact SmartThings Support Services for further assistance. Please do not hesitate to contact us if you have any further questions. Thank you. |
Hi, Thanks for your comprehensive support! Thanks! |
I am trying to handle events (such as TV being turned on or off) in Node-red.
As I understand an automation node is needed as an input of an event node for that.
For the automation node to work, it needs to be registered in the SmartThings Developer Workspace, if my understanding is correct.
However this step fails at the app registration verification. The Node-red instance has a working public https URL.
The text was updated successfully, but these errors were encountered: