Code Monkey home page Code Monkey logo

mijia-plugin's Issues

希望大佬适配下空气净化器

小米米家空气净化器2S
自己照着写了一个写得比较抽象,且放入文件夹后机器人提示“暂不支持该设备,请将型号为 zhimi.airpurifier.ma2 的适配器文件放入adapter文件夹”,求大佬帮助适配

actionable:

  • name: ["开关"]
    desc: "空气净化器开关,可用值:开、关"
    siid: 2
    piid: 1
    value_regexp: '/(开|关)/g'
  • name: ["模式"]
    desc: "更换模式,可用值:0 - 自动 / 1 - 睡眠 / 2 - 最爱"
    siid: 2
    piid: 2
    value_regexp: '/([0-2])/g'
  • name: ["屏幕开关"]
    desc: "屏幕开关,可用值:开、关"
    siid: 5
    piid: 1
    value_regexp: '/(开|关)/g'
  • name: ["声音开关"]
    desc: "声音开关,可用值:开、关"
    siid: 6
    piid: 1
    value_regexp: '/(开|关)/g'
  • name: ["按键锁定开关"]
    desc: "按键锁定开关,可用值:开、关"
    siid: 7
    piid: 1
    value_regexp: '/(开|关)/g'
  • name: ["最爱模式调节"]
    desc: "调整最爱模式,可用值:0-14
    siid: 8
    piid: 1
    value_regexp: '/([0-9]|1[0-4])/g'
    viewable:
  • name: '状态'
    siid: 2
    piid: 1
    unit: ''
  • name: '模式'
    siid: 2
    piid: 2
    unit: ''
  • name: '湿度'
    siid: 3
    piid: 1
    unit: ''
  • name: 'PM2.5浓度'
    siid: 3
    piid: 2
    unit: ''
  • name: '过滤器寿命水平'
    siid: 4
    piid: 1
    unit: ''
  • name: '过滤器使用时间'
    siid: 4
    piid: 2
    unit: ''
  • name: '屏幕状态'
    siid: 5
    piid: 1
    unit: ''
  • name: '声音状态'
    siid: 6
    piid: 1
    unit: ''
  • name: '按键锁定状态'
    siid: 7
    piid: 1
    unit: ''
  • name: '最爱模式等级'
    siid: 8
    piid: 1
    unit: ''`

【意见】加入手动结束命令

希望提供一个命令可以终止参数输入,不然结束不了
加入命令,#结束控制或者其他命令用于手动结束操作,避免反复提交错误参数,我看到了超时后的结束操作,但是没有手动结束,是吗?

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.