Giter VIP home page Giter VIP logo

xiaomi_miio_toilet's Introduction

xiaomi_miio_toilet

小米马桶/马桶圈插件

不再维护,请使用miot插件代替(已完善miot冲水功能,需要等该request合并)
al-one/hass-xiaomi-miot#1480

目前此插件已支持以下设备类型:

  • 小鲸洗中支持米家app的马桶/马桶圈
  • 其它接入米家app的马桶/马桶圈没有设备未测试

目前支持获取的状态:

  1. 是否着坐(默认的state)
  2. 是否开启马桶圈加热
  3. 是否开启夜灯

目前支持操作:

  1. 冲马桶(马桶圈不支持)
  2. 开关马桶圈加热
  3. 开关夜灯

安装

  • 将 custom_component 文件夹中的内容拷贝至自己的相应目录

或者

配置

binary_sensor:
  - platform: xiaomi_miio_toilet
    name: my_toilet
    host: xxx
    token: xxx
    scan_interval: 10

服务

  • 冲马桶(马桶圈不支持)
service: xiaomi_miio_toilet.flush_on
  data:
    entity_id: binary_sensor.my_toilet
  • 开关马桶圈加热:1开,0关
service: xiaomi_miio_toilet.work_seatheat
  data:
    entity_id: binary_sensor.my_toilet
    status: 1
  • 开关夜灯:1开,0关
service: xiaomi_miio_toilet.work_night_led
  data:
    entity_id: binary_sensor.my_toilet
    status: 1

xiaomi_miio_toilet's People

Contributors

nesror avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.