Git Product home page Git Product logo

Comments (16)

brbeaird avatar brbeaird commented on July 19, 2024

Try opening up the live logging in the IDE while running through setup and see what error you're getting.

from smartthings_myq.

cambuehl avatar cambuehl commented on July 19, 2024

from smartthings_myq.

brbeaird avatar brbeaird commented on July 19, 2024

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.

cambuehl avatar cambuehl commented on July 19, 2024

from smartthings_myq.

brbeaird avatar brbeaird commented on July 19, 2024

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.

brbeaird avatar brbeaird commented on July 19, 2024

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.

cambuehl avatar cambuehl commented on July 19, 2024

from smartthings_myq.

brbeaird avatar brbeaird commented on July 19, 2024

from smartthings_myq.

cambuehl avatar cambuehl commented on July 19, 2024

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.

brbeaird avatar brbeaird commented on July 19, 2024

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.

cambuehl avatar cambuehl commented on July 19, 2024

Email sent

from smartthings_myq.

cambuehl avatar cambuehl commented on July 19, 2024

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.

brbeaird avatar brbeaird commented on July 19, 2024

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.

cambuehl avatar cambuehl commented on July 19, 2024

from smartthings_myq.

cambuehl avatar cambuehl commented on July 19, 2024

from smartthings_myq.

brbeaird avatar brbeaird commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.