SamsungAutomationStudio icon indicating copy to clipboard operation
SamsungAutomationStudio copied to clipboard

Event node shows all devices as disabled

Open oldironUK opened this issue 4 years ago • 10 comments

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

Any suggestions?

Thanks

oldironUK avatar Dec 08 '21 23:12 oldironUK

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

iamjaehun avatar Dec 09 '21 05:12 iamjaehun

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

oldironUK avatar Dec 11 '21 23:12 oldironUK

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 avatar Dec 13 '21 03:12 iamjaehun

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

oldironUK avatar Dec 13 '21 22:12 oldironUK

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.

iamjaehun avatar Dec 14 '21 01:12 iamjaehun

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

oldironUK avatar Dec 15 '21 10:12 oldironUK

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 avatar Feb 11 '22 12:02 oldironUK

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 avatar May 28 '22 14:05 oldironUK

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

danmiles86 avatar Oct 09 '22 00:10 danmiles86

It is now almost 2 years, any update?

dangruhn avatar May 18 '24 21:05 dangruhn