otaviojr / node-red-contrib-smartthings

Allows you to control your devices and get their status using NodeRed
MIT License
32 stars 16 forks source link

Can't install Smartthings Classic app, is there any alternative? #63

Closed obaldius closed 2 years ago

obaldius commented 2 years ago

The tittle is selfexplanatory. Can anybody help please?

RenevdBroek commented 2 years ago

You can use the web alternative @ https://my.smartthings.com/ to install the smartapp into your location. When you've installed it in the web version you'll see it in the new smarttthings app on your phone.

/Rene

obaldius commented 2 years ago

sensor.webcore_tv_channel_name

You can use the web alternative @ https://my.smartthings.com/ to install the smartapp into your location. When you've installed it in the web version you'll see it in the new smarttthings app on your phone.

Wow, I really appreciate your help but there's somethign that's pulling me back. I recently learned groovy or something like that is being shut down anytime soon and so, smart apps will become useless. Are you aware of that? will this flow still work?

thanks in advanced

EDIT

I can't find how to install the smartapp in the website though...

RenevdBroek commented 2 years ago

Yes, i've read the same announcement about the groovy IDE, by then hopefully somebody has rewritten this app. For now though, I'm just happy it works as it does.

I found the option here. You do have to follow all the other instructions for the installation, only part for the classic app can be substituted with the web version. ( be sure to select your location first before jou add the smartapp and publish it in the groovy IDE, otherwise you won't see it as an available app in the web app version) image

obaldius commented 2 years ago

@RenevdBroek thanks a lot for all the time you took to explain me everything. I appreciate

RenevdBroek commented 2 years ago

no problem.

otaviojr commented 2 years ago

I'm working on a new version where the nodered module is also a new hosted smartapp. In doing so, will be possible to register the smartapp inside the new developer portal and use the new smartthings application to handle it.

The problem, no more local network option and you will need a public IP address, with a domain and a SSL to make it work properly.

I already have a branch(smartapp-builtin) working with this new approach.

It can be registered here: https://smartthings.developer.samsung.com/

Just create a new automation project. Register the app as a webhook endpoint. And, in the target address, use https://your-nodered-domain:your-nodered-server-port/smartthings/smartapp.

Change the app status to Deployed to test

You will have to put your new smartthings app into development mode. I think that holding the "About Smartthings" on the menu for 5 seconds will unlock the developer mode option. Enable it and you will see the smartapp in your new Smartthing app.

Configure it with the devices you want to receive events and it's done.

It's a way of doing this with smartthings new infrastructure... I don't figure out a better way for now.

regards, Otávio Ribeiro

otaviojr commented 2 years ago

https://www.noip.com has SSL certificates included on all plans