Not sure if anyone else is still following this thread, but I am a complete novice and do not code. However, I bought an Ecobee3 Thermostat with a sensor, and installed the device handlers and smart apps as instructed.
After providing authentication in app, it would NOT resolve to the next step - after clicking “done” to save credentials, I got an “unknown error” message. After leaving the SmartApp and reopening, it went back to the credential screen. I could not close out of the app and re-enter to begin setting up the thermostat.
After 90 minutes of experimentation, I noticed that in IDE a temporary “testing” thermostat and “testing” sensor were added to My Devices. I could not remove them - got an error “cannot invoke method”. After poking around, I found that when these were created, they were NOT ASSIGNED TO A HUB. They were assigned to a location, but not to a hub. I manually edited both testing devices to assign to my hub, and closed, reopened the mobile app. Voila, it’s been running fine since then and generated both correct child devices after I reopened the Connect smart app.
This seems to be an issue with Stryker’s code AND with the stock code as well - it prevents removal of the Connect app and devices, regardless of who wrote it. Assigning to the hub seems a prerequisite for proper function.
Again, no idea if I’m talking nonsense as I don’t code, but hopefully this helps someone. Thanks.