noname4444 / smartthings

My smartthings app works
2 stars 9 forks source link

Breaking SmartThings IDE #5

Open snakedog116 opened 8 years ago

snakedog116 commented 8 years ago

Just letting you know that while the devices and smart apps are now properly named (mostly) I'm still not able to connect the SmartThings IDE to your repository. It gives me a 'Type 500' error.

I've opened a support ticket with SmartThings. The only thing that's unique with your repo vs other ones that work successfully is that you have some other folders (that shouldn't be an issue, unless the 'smartapps' and the 'SmartApps' folders are interfering with each other), and that you have an excel doc.

I'm wondering if that excel doc is causing issues.

Does your repo link to SmartThings IDE? perhaps it's just my account?

I'll let you know if SmartThings gets back to me with a fix.

noname4444 commented 8 years ago

You could try this repo, which is what I have linked with the smartthings IDE. This repo I had created before smartthings linked github into the IDE.

https://github.com/noname4444/SmartThingsPublic/tree/master/devicetypes/noname4444/monoprice-z-wave-smoke-detector.src

noname4444 commented 8 years ago

Ah, I lied, that link seems to go to a different github area, not linked to the IDE? This is the correct link.

https://github.com/noname4444/SmartThingsPublic/blob/master/devicetypes/smartthings/monoprice-zwave-smoke-detector.src/monoprice-zwave-smoke-detector.groovy

snakedog116 commented 8 years ago

Thanks, that repo works, but you now have 3 copies of this device. You may want to delete all but the one you are updating.

Works: https://github.com/noname4444/SmartThingsPublic/blob/master/devicetypes/smartthings/monoprice-zwave-smoke-detector.src/monoprice-zwave-smoke-detector.groovy

Does not work in the IDE: https://github.com/noname4444/SmartThingsPublic/blob/master/devicetypes/noname4444/monoprice-z-wave-smoke-detector.src/monoprice-zwave-smoke-detector.groovy

Does not work in the IDE: https://github.com/noname4444/smartthings/blob/master/devicetypes/noname4444/monoprice_zwave_smoke_detector.src/monoprice_zwave_smoke_detector.groovy

I'm also not sure if you want the namespace to be smartthings, or if you want to keep it under noname4444. You created this device right? Perhaps it makes more sense to have it included in your namespace. The one that works is 'smartthings' right now.