Announcement

Collapse
No announcement yet.

Unable to get Withings Auth Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to get Withings Auth Code

    When I click on the "Get Withings Auth Code" in the plugin config I am taken to a withings page to grant access to the plugin. After logging in, selecting a user, and granting access a page opens that starts with https://connected2.homeseer.com with my myhs token, and a code in the URL. This page has the title Withings WebHook, and shows the HS3 navigation bar, but is blank otherwise. At this point I do not know what to do. The plugin does not seem to be able to access withings yet at this stage, and it is not able to connect/Create Devices.
    _______________________________________________

    HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
    Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
    Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

    #2
    Originally posted by jlrichar View Post
    When I click on the "Get Withings Auth Code" in the plugin config I am taken to a withings page to grant access to the plugin. After logging in, selecting a user, and granting access a page opens that starts with https://connected2.homeseer.com with my myhs token, and a code in the URL. This page has the title Withings WebHook, and shows the HS3 navigation bar, but is blank otherwise. At this point I do not know what to do. The plugin does not seem to be able to access withings yet at this stage, and it is not able to connect/Create Devices.
    I'm not yet sure why it's sometimes erroring and sometimes loading but you will get a blank page either way. But the Withings auth code was successful if you got a page or a login prompt. You can validate by looking at the withings-users file in your Config location.

    Comment


      #3
      Also, I've noticed that on an occasion during testing (multiple logins and attempts) if there's an error going through MyHS then it will write a null user/token into the file. Those entries can be ignored or deleted.

      Comment


        #4
        What browser are you using?
        Do you have multiple MyHS user accounts?
        Multiple HS3 systems?
        What token did you use? The one from within the plugin configuration or do you use the MyHSToken plugin? If using the one from within the plugin did you refresh the page after retrieving the token?

        Comment


          #5
          Doh. I replied last night then closed my browser, and now I do not see my reply in this thread. I guess the board logged me off before I replied. At any rate the withings auth worked on the second try after I read your response. I was able to connect/create devices- and they work. I’m using Chrome BTW.

          One disappointment was finding out the sleep sensor does not have a bed occupancy type of function with the plugin. I believe this is possible with IFTTT. Any chance you can add this? I’d like to use bed occupancy as a trigger/condition, and don’t want to rely on the current homeseer/IFTTT connection. It’s actually my main interest in this plugin.


          Sent from my iPhone using Tapatalk Pro
          _______________________________________________

          HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
          Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
          Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

          Comment


            #6
            Originally posted by jlrichar View Post
            Doh. I replied last night then closed my browser, and now I do not see my reply in this thread. I guess the board logged me off before I replied. At any rate the withings auth worked on the second try after I read your response. I was able to connect/create devices- and they work. I’m using Chrome BTW.

            One disappointment was finding out the sleep sensor does not have a bed occupancy type of function with the plugin. I believe this is possible with IFTTT. Any chance you can add this? I’d like to use bed occupancy as a trigger/condition, and don’t want to rely on the current homeseer/IFTTT connection. It’s actually my main interest in this plugin.


            Sent from my iPhone using Tapatalk Pro
            1. Glad things are working. Yeah the OAuth is not 100% everytime. Combination of issues and sometimes MyHS connections...

            2. Yes there is the IFTTT occupancy which works rather well. No I can't integrate it yet. I have been pushing them to open that portion of the API and I'm hoping they will but I don't have any kind of ETA on it.

            Comment

            Working...
            X