Giter Site home page Giter Site logo

Comments (6)

QuickSander avatar QuickSander commented on August 23, 2024

If you are using HOOBS you are indeed missing the setup GUI.

Homebridge provides a setup GUI walking you through the process to authenticate it.

You can also manually create the token. In the end it is just a Json file in the homebridge persistent folder. You can check the wiki where it states the manual procedure.

Only thing missing is the correct json format and the file name and location.

from homebridge-mieleathome.

MattB82 avatar MattB82 commented on August 23, 2024

Thanks @QuickSander!

Which Wiki am I referring to?

from homebridge-mieleathome.

QuickSander avatar QuickSander commented on August 23, 2024

The wiki on this GitHub page. Check out the navigation bar on the top.

from homebridge-mieleathome.

MattB82 avatar MattB82 commented on August 23, 2024

Thanks again @QuickSander. I have found myself authenticated and all was good but now I'm getting the following error after needing to setup again. Any ideas what might be causing that?

[Miele@home] Miele API request https://api.mcs3.miele.com/v1/devices?language=en failed with status 401: "Unauthorized".

from homebridge-mieleathome.

QuickSander avatar QuickSander commented on August 23, 2024

Hi,

In a normal setup in Homebridge, the setup GUI will make sure the config is consistent. I assume you use the config.json options to provide a manually retrieved token.

I cannot see from the log as you only pasted a small portion of it, but I assume the old token remains used. This is because the plugin will continue to keep the token it found on disk and is not checking if you changed the token in the config in the meantime(as that is an advanced option which normally should never be used).

What you can try is to remove the token from the persist directory in Homebridge. This will force the plugin to fallback to trying to use the token as specified by you in the config.json.

The config is a last resort when no token is found on disk.

from homebridge-mieleathome.

MattB82 avatar MattB82 commented on August 23, 2024

Yep you're right. All fixed up. Cheers @QuickSander !

from homebridge-mieleathome.

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.