Coder Social home page Coder Social logo

Comments (4)

marcelrv avatar marcelrv commented on May 23, 2024

I'm (long) awaiting the inclusion of openhab/openhab-addons#6693 which allows you to add this file locally, test it out and before we submit it for inclusion in OH.

That way we don't have untested devices reported as supported which would set unrealistic expectations.

In the mean time, suggest to build the binding with your file included to test it out. If you can confirm it works well we can include it

from xiaomirobotvacuumprotocol.

merccooper avatar merccooper commented on May 23, 2024

im not sure how to test it as im new to openhab, i just need to upload the file on the link that you provide below?

from xiaomirobotvacuumprotocol.

merccooper avatar merccooper commented on May 23, 2024

I've been trying to find the folder (getUserDataFolder\miio) but there is not such folder, should i create it?

from xiaomirobotvacuumprotocol.

marcelrv avatar marcelrv commented on May 23, 2024

The version that includes it is not yet approved, hence it is not in the regular opehnab yet. Download it here:

https://drive.google.com/open?id=1c_F0GsLYdG71qzU7mVd0SM17kir3k1g8

Advanced: adding local database files to support new devices

Things using the basic handler (miio:basic things) are driven by json 'database' files. This instructs the binding which channels to create, which properties and actions are associated with the channels etc.
The User Data Folder/miio (e.g. in Linux /opt/openhab2/userdata/miio/) is scanned for database files and will be used for your devices. Note that local database files take preference over build-in ones. Hence if a json file is local and in the database the local file will be used. For format, please check the current database files in Openhab github.

from xiaomirobotvacuumprotocol.

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.