Announcement

Collapse
No announcement yet.

Viessmann API and Big5 or 6

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

    Viessmann API and Big5 or 6


    I found out there is a well documented API for my Viessmann furnace, and wish to communicate using Big5 (or 6?).
    It is located here: https://developer.viessmann.com/en/doc/getting-started

    I started to read the documentation and found here : https://developer.viessmann.com/en/doc/authentication that :
    "The response to the authorization request is returned in HTML and contains a login form. Therefore, the authorization request must be called with a browser and should not be executed via a program or script."

    Will this be true for Homeseer/Big5, or can I start setting this up ?

    Thanks
    Pierre
    Visit zee e-maison : http://www.e-maison.com

    #2
    Depends on what they are using for authorization. Big5 and Big6 do support the most widely used method oAuth2.

    Comment


      #3
      What about this login form , Will big5 go through ?
      Originally posted by Pierre View Post

      "The response to the authorization request is returned in HTML and contains a login form. Therefore, the authorization request must be called with a browser and should not be executed via a program or script."
      Visit zee e-maison : http://www.e-maison.com

      Comment


        #4
        Looks like Viesmann is using oAuth2 as it says specifically so at this page

        https://developer.viessmann.com/en/doc/getting-started

        As far as Big5 and Big6 do support oAuth2 than you should be good to go.

        There is oAuth2 example in the online documentation of Big5 to help you get started.

        http://ivanv.com/oauth2-examples/

        We are here to help as well if you get stuck.

        Comment


          #5
          Hello,
          I have started by reading the API documentation, and got what oAuth2 was about.
          I found the right url to go manually to the first step, and could have this url submited by Big5 when hitting the "Request authorization" button when setting the http client oAuth2 params.
          But:
          - This leads to a login page where I have to set credentials. If I enter them manually I get an empty page
          Click image for larger version

Name:	viessmann.jpg
Views:	265
Size:	26.4 KB
ID:	1504628

          - I cannot save the oAuth2 params, the error says something like "Could not get authorization, ask for authorization"

          So I can say I am stuck now and will be grateful for help ...
          Thanks
          Pierre
          Visit zee e-maison : http://www.e-maison.com

          Comment


            #6
            Pierre Please try the latest Big6 version 3.36 that fixes this issue. Please let us know how it goes. We will gladly help.

            Comment


              #7
              risquare Thank you for letting me know, but my trial period for Big6 has ended.
              I will be happy to pay for the plugin if I was sure I could go further and achieve the communication with the Viessmann API, but I am still in doubt reading the API documentation: "The response to the authorization request is returned in HTML and contains a login form. Therefore, the authorization request must be called with a browser and should not be executed via a program or script."
              Visit zee e-maison : http://www.e-maison.com

              Comment


                #8
                OK I made the plunge and registered, I could not resist to the limited bargain...
                I updated to the beta 3.36.0.0.

                First I noticed that, using Firefox I cannot setup the oAuth2 parameters, the Oauth parameters and sandbox button just does not show.
                I have had similar problems with JowiHue plugin and Firefox, that where cured by the plugin author.

                Then, using Chrome browser, I could have a HTTP oAuth2 profile setup and save it.

                When using the request authorization button, I go to a login page where I have to set credentials. If I enter them manually I get an empty HS page
                Click image for larger version  Name:	viessmann.jpg Views:	47 Size:	26.4 KB ID:	1504628



                So I can say I am stuck now and will be grateful for help ...
                Thanks
                Pierre
                Visit zee e-maison : http://www.e-maison.com

                Comment


                  #9
                  Big6 oAuth2 is working as far as we are concerned and you can verify it by running the two examples shown here http://big6.ivanv.com/oauth2-examples/
                  In order for us to help with your particular problem we will need to replicate it. If you can create a "fake" or "test" Viessmann account than share it here along with information of their servers etc.

                  Comment


                    #10
                    Pierre​ : Did you ever get the communication with your Viessemm Boiler working ???

                    TIA
                    DEM

                    Comment


                      #11
                      DEM: No, I could not make it through the Auth2. I still hope someone will be successfull and share ...🙂🙂
                      Visit zee e-maison : http://www.e-maison.com

                      Comment


                        #12
                        It appears that somebody using another HA package got it going, there's a git page ...

                        Comment


                          #13
                          In our dreams ...
                          https://www.home-assistant.io/integrations/vicare/
                          Visit zee e-maison : http://www.e-maison.com

                          Comment


                            #14
                            Pierre
                            Why not use the Node-RED contrib: viessmann_API_HeatingControl

                            ​---
                            John

                            Comment


                              #15
                              Thank you John245, I wanted to have a look at node-red anyway, one more motivation for that
                              Visit zee e-maison : http://www.e-maison.com

                              Comment

                              Working...
                              X