Git Product home page Git Product logo

Comments (8)

ifeign avatar ifeign commented on May 23, 2024 3

Any updates on this? Your plugin is so close to being the best Mi Purifier plugin, if you could add a Quiet Mode switch and allow people to show separate tiles for the accessory, this would pretty much be feature complete.

from xiaomi-mi-air-purifier.

ifeign avatar ifeign commented on May 23, 2024 2

Second this, the combined accessory makes it very difficult to view more detailed info, you have to go into the settings to get to the list of combined accessories, then press again on the air purifier accessory to see things like auto/manual, filter life, child lock etc. Older plugins show this on the main screen.

Additionally, we need a switch accessory for sleep mode.

Great work so far though, this is looking very promising!

from xiaomi-mi-air-purifier.

torifat avatar torifat commented on May 23, 2024 1

By sleep mode, I meant quiet mode. Sorry about that.

I was looking for a nicer way to add all the modes -> auto, sleep, favorite, custom. I don't like switches for them 😞 But, it seems there's no other way. I will dig a bit more and then add them.

from xiaomi-mi-air-purifier.

torifat avatar torifat commented on May 23, 2024

Second this, the combined accessory makes it very difficult to view more detailed info, you have to go into the settings to get to the list of combined accessories, then press again on the air purifier accessory to see things like auto/manual, filter life, child lock etc. Older plugins show this on the main screen.

I can probably consider adding an option for it but personally I find it really noisy.

I can add an option to make the AirPurifier optional so that you can add multiple seperate tiles like this:

{
  "platforms": [
    {
      "platform": "XiaomiMiAirPurifier",
      "config": {
          "address": "<YOUR_DEVICE_IP_ADDRESS>",
          "token": "<YOUR_DEVICE_TOKEN>"
      },
      "accessories": [
        {
          "name": "Air Purifier"
        },
        {
          "name": "Air Quality",
          "airPurifier": false,
          "enableAirQuality": true
        },
        {
          "name": "Temperature",
          "airPurifier": false,
          "enableTemperature": true
        },
      ]
    }
  ]
}

Additionally, we need a switch accessory for sleep mode.

What do you mean by sleep mode? Isn't power off is same as sleep mode?

from xiaomi-mi-air-purifier.

ifeign avatar ifeign commented on May 23, 2024

from xiaomi-mi-air-purifier.

ifeign avatar ifeign commented on May 23, 2024

from xiaomi-mi-air-purifier.

torifat avatar torifat commented on May 23, 2024

Could you make 0 fan speed = quiet mode?

I can but it will be confusing. You won't know from the UI if it's in quite mode or not.

from xiaomi-mi-air-purifier.

ifeign avatar ifeign commented on May 23, 2024

from xiaomi-mi-air-purifier.

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.