Do you want the bad news first or the possibly very bad news…
first, if you can’t find the code, you will need to contact ST support. Calling when they are available is generally the fastest way to resolve an issue.
second, the possibly very bad news… the v1 hub may be phased out at sometime in the coming months. ST posted a thread saying legacy hubs would be phased out with plenty of notice. Do you really want to reset everything up now with the v1, only to need to redo it in several months. But having said that, there may be a migration tool available (only it does not work for the v1 hub)
excerpt from the thread below
Phase 2
- Optimize SmartThings Core API SDK for JavaScript and the CLI for device manufacturers to implement custom capabilities.
- Rollout additional features to help us grow toward an API-first platform.
- Retire select legacy hubs – Don’t worry, affected users will have plenty of time to move to a newer version of Hub.