I’m really tired right now, so I can’t give you a detailed answer. But as far as the RCS4, you need a custom device type handler.
If you haven’t used custom code with SmartThings before, it’s pretty straightforward: basically you copy the author’s code and paste it into your own account. Here’s the FAQ for that.
The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.
As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable.
All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:
The process for using a custom Edge Driver in the new …
Then if you decide that’s something you want to move forward with, here’s the thread about the RCS4. If you have any follow-up questions on that specific device, ask in that thread and people will be glad to help you.
I’ve created a device type for the Leviton Vizia VRCS4 Scene Controller. Because of the way the scene commands work, I essentially turned it into a 4 button remote, 3 if there is a built in relay.
Setting it up is a bit of work:
Note: buttons are numbered 1-4 and dim, with dim at the bottom.
To associate, press and hold buttons 1 and 3 on the VRCS4 for 5 seconds, the LEDs will start to flash amber. Hold the SmartThings Hub near to the device tell the SmartThings app to connect a new device. Note: you tell the device to connect before the hub. The hub should find a ZWave Remote. This will eventually be your scene controller.
If you have a load connected to the VRCS4 (hardwired):
Go back to the SmartThings app dashboard. Press and hold buttons 2 and 4 on the VRCS4 for 5 seconds. The le…
1 Like