Samsung / SamsungAutomationStudio

Samsung Automation Studio is to provide development tools and execution environment that can easily configure application logic by connecting both Samsung service and 3rd party service. This project is to share the node for open source NodeRED developed by Samsung Automation Studio team to the community. If you are using nodered, you can easily install the node we provide. And you can use Samsung's IoT and AI-related services more easily, and you can have an extended experience in conjunction with your own services.
Apache License 2.0
61 stars 30 forks source link

Event node shows all devices as disabled #49

Open oldironUK opened 2 years ago

oldironUK commented 2 years ago

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

Any suggestions?

Thanks

iamjaehun commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.

oldironUK commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

oldironUK commented 2 years ago

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 commented 2 years ago

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"

danmiles86 commented 2 years ago

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

dangruhn commented 6 months ago

It is now almost 2 years, any update?