Skip to content
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

Event node shows all devices as disabled #49

Open
oldironUK opened this issue Dec 8, 2021 · 10 comments
Open

Event node shows all devices as disabled #49

oldironUK opened this issue Dec 8, 2021 · 10 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@oldironUK
Copy link

Status node works successfully however event node shows all my devices as disabled.

Any suggestions?

Thanks

@iamjaehun
Copy link

Devices loaded by PAT from the my device node cannot be used in the event node, but can use the capabilities selected in the device profile node. Event nodes are used to build smart apps. For more information on how to build smart apps, check out our tutorial page.
https://developer.samsung.com/automation/v2-smartthings-automation.html

@oldironUK
Copy link
Author

Hi
Thanks for quick reply - I followed your link above - can you give me a pointer to be able to add the automation node? :
"Add a node for the SmartThings Automation (webhook)."

I can see this at the moment in the automation node:
http://192.168.1.148:1880

What would I need to add to the above that to be able to capture a button being pressed

Samsung Automation Studio is showing this input for the command node:

https://as-638e3717-ff99-4e21-9049-3b9cd85b3174.app.scf.use2.devground.io/3ed7e864.94df48/button

I'm sure this is a really basic question - but all I want to do is capture a button press, which of course is so easy in Webcore!

Thanks in advance

@iamjaehun
Copy link

iamjaehun commented Dec 13, 2021

The automation node also shows an endpoint which is a SmartApp webhook endpoint.
You need to register the endpoint on the SmartThings Developer Workspace.
This requires a public endpoint with https.
(Information on SmartApp registration can be found here.)

But your node-red(http://192.168.1.148:1880) seems to have only private address.
This means that the address can only be accessed from the your internal network. (Perhaps only the devices connected to your router.)
Make sure node-red has a public address with https certificate applied so that it can be accessed externally.

I know this is not a basic course.
So we've launched a new node called My Device SSE in Samsung Automation Studio to make it easier to listen to events.
The My Device SSE node can receive events from devices retrieved by the PAT from the My Device node.
Go to Samsung Automation Studio and checkout the My Device SSE node.

@iamjaehun iamjaehun self-assigned this Dec 13, 2021
@iamjaehun iamjaehun added help wanted Extra attention is needed question Further information is requested labels Dec 13, 2021
@oldironUK
Copy link
Author

Wow - refreshed my screen and there is the new My Device SSE node. Thanks very much!

Worked straight out of the box - I probably haven't deployed it is the best way but here it is in a working state for anyone else who might be looking

Is this node also going to be added to the "node-red-contrib-samsung-automation-studio-nodes 1.1.12"?

image

@iamjaehun
Copy link

iamjaehun commented Dec 14, 2021

Yes, we are planning to release the My Device SSE node to the node-red-contrib-samsung-automation-studio-nodes as well.
The release date has not been set yet, but we will try to release it as soon as possible.

@oldironUK
Copy link
Author

Thanks for your help - I look forward to see the new node in node-red-contrib-samsung-automation-studio-nodes!

@oldironUK
Copy link
Author

Yes, we are planning to release the My Device SSE node to the node-red-contrib-samsung-automation-studio-nodes as well. The release date has not been set yet, but we will try to release it as soon as possible.

Any update on the due date for this - "My Device SSE node to the node-red-contrib-samsung-automation-studio-nodes"

@oldironUK
Copy link
Author

Yes, we are planning to release the My Device SSE node to the node-red-contrib-samsung-automation-studio-nodes as well. The release date has not been set yet, but we will try to release it as soon as possible.

Any update on the due date for this - "My Device SSE node to the node-red-contrib-samsung-automation-studio-nodes"

@oldironUK oldironUK reopened this May 28, 2022
@danmiles86
Copy link

@iamjaehun also looking for an update on this please! :)

@dangruhn
Copy link

It is now almost 2 years, any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants