Comments (16)
Try opening up the live logging in the IDE while running through setup and see what error you're getting.
from smartthings_myq.
from smartthings_myq.
Access denied? That's a weird one. Have you tried again recently to see if maybe it was a temporary SmartThings glitch?
from smartthings_myq.
from smartthings_myq.
I see your issue now. There is a bug in the light controller page. I assume you're adding a light but not selecting any doors? Working on a fix now.
from smartthings_myq.
I just pushed out another update. Could you try the newest SmartApp/DTH code and see if you can finish the setup now?
from smartthings_myq.
from smartthings_myq.
from smartthings_myq.
Here's the latest logs when I try to get through the setup:
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: error org.springframework.security.access.AccessDeniedException: Access is denied @line 573 (createChilDevices)
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Creating door with sensor
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Creating child door device 4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777939
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug In CreateChild
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Storing door info: Megan's Doortype: 7 status: 2 type: VGDO
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Found door: 1700777940
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Storing light info: Lighttype: 3 status: null type: LampModule
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Found light: 14117953
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Storing door info: Chris's Doortype: 7 status: 2 type: VGDO
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Found door: 1700777939
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:54 AM: debug Initializing...
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:28 AM: debug 4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777939
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:28 AM: debug Multiple doors detected.
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:28 AM: debug Valid doors chosen: [4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777939, 4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777940]
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:28 AM: debug Doors chosen: [4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777939, 4a64bda9-3e69-4843-b099-bbfbaa55ddae|GarageDoorOpener|1700777940]
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug lightVersion: 1.0.1
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug doorNoSensorVersion: 1.1.6
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug doorVersion: 2.2.1
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug latestVersion: 2.1.2
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug installedVersion: 2.1.1
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug previousVersion: 0
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Storing door info: Megan's Doortype: 7 status: 2 type: VGDO
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Found door: 1700777940
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Storing light info: Lighttype: 3 status: null type: LampModule
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Found light: 14117953
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Storing door info: Chris's Doortype: 7 status: 2 type: VGDO
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:14 AM: debug Found door: 1700777939
4a64bda9-3e69-4843-b099-bbfbaa55ddae 11:11:13 AM: debug got login response: groovyx.net.http.HttpResponseDecorator@ac58065
from smartthings_myq.
Something is odd with your setup. If you're cool with giving me temporary access to your MyQ account (not SmartThings) to try and debug it (no commands sending or anything like that), I'm glad to do that. Shoot me an e-mail with a MyQ username/Password.
from smartthings_myq.
Email sent
from smartthings_myq.
Here's the logs from my latest attempt at setting up the smartapp. Once I got to the blank page at the light controller, I clicked back to get out of setup. That's shown by the logs after the error. I hope this helps.
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug lightVersion: 1.0.1
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug doorNoSensorVersion: 1.1.6
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug doorVersion: 2.2.2
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug latestVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug installedVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug previousVersion: 0
bb8f9410-ea3b-4257-b381-33443dc66aad 10:24:03 PM: debug MyQ removal complete.
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: error org.springframework.security.access.AccessDeniedException: Access is denied @line 590 (createChilDevices)
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug hubID: null
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug hub count: 2
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Creating door with sensor
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Creating child door device bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug In CreateChild
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Storing door info: Megan's Doortype: 7 status: 2 type: VGDO
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Found door: 1700777940
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Storing light info: Lighttype: 3 status: null type: LampModule
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Found light: 14117953
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Storing door info: Chris's Doortype: 7 status: 2 type: VGDO
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Found door: 1700777939
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:35 PM: debug Initializing...
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Multiple doors detected.
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Valid doors chosen: [bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939, bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777940]
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Doors chosen: [bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939, bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777940]
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Multiple doors detected.
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Valid doors chosen: [bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939, bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777940]
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:12 PM: debug Doors chosen: [bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777939, bb8f9410-ea3b-4257-b381-33443dc66aad|GarageDoorOpener|1700777940]
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Storing door info: Megan's Doortype: 7 status: 2 type: VGDO
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Found door: 1700777940
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Storing light info: Lighttype: 3 status: null type: LampModule
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Found light: 14117953
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Storing door info: Chris's Doortype: 7 status: 2 type: VGDO
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug Found door: 1700777939
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:01 PM: debug got login response: groovyx.net.http.HttpResponseDecorator@33ace103
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug lightVersion: 1.0.1
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug doorNoSensorVersion: 1.1.6
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug doorVersion: 2.2.2
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug latestVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug installedVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug previousVersion: 0
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug lightVersion: 1.0.1
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug doorNoSensorVersion: 1.1.6
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug doorVersion: 2.2.2
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug latestVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug installedVersion: 2.1.3
bb8f9410-ea3b-4257-b381-33443dc66aad 10:23:02 PM: debug previousVersion: 0
from smartthings_myq.
Based on those logs, SmartThings is returning two hubs at your location, but apparently the first one is null. I just pushed another update to the SmartApp to try to more intelligently handle that. I'm still not totally sure it will work for you, but it might.
from smartthings_myq.
from smartthings_myq.
from smartthings_myq.
Awesome. Glad we got it fixed, and glad I was able to add in handling for it for anyone else who runs into it in the future.
from smartthings_myq.
Related Issues (20)
- myqtokengenerator-win closes HOT 5
- On/Off switches not working HOT 23
- Make latest changes compatible with Hubitat HOT 3
- I have 2 doors and I am unable to create two toggle doors HOT 1
- Can no longer update DTH through GitHub repository in IDE HOT 1
- Error creating "no sensor" version of SmartApp HOT 1
- Token Generator HOT 5
- Push button switches don't connect HOT 1
- could you please update the Hubitat version as well? HOT 1
- new myq code issues HOT 24
- java.lang.NullPointerException: Cannot invoke method post() on null object @line 418 (getVersionInfo) HOT 2
- MyQ on Smartthings still doesn't work HOT 1
- Can't authenticate on mobile app HOT 1
- Instructions don't seem to match current SmartThings app HOT 4
- Still having login error. HOT 1
- Controlling lights with Z-wave relay HOT 1
- java.lang.NullPointerException: Cannot get property deviceNetworkld' on null object. HOT 1
- delete
- No longer working with the retirement of SmartThings IDE HOT 1
- Error installing garage doors with sensor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartthings_myq.