Giter Club home page Giter Club logo

dooya_curtain's Introduction

杜亚M1 home assistant 插件

dooya_curtain是一款ha自定义插件, 通过miot协议接入到homeassistant
不需要额外改造任何硬件,通过WIFI,米家-HA双平台接入
现已经实现开合帘、设置开合位置、状态监控等功能

支持型号 model

获取token的时候顺便获得

名称 型号
杜亚M1 dooya.curtain.m1
杜亚M2 dooya.curtain.m2
情景开合电机WIFI X版(闲鱼米家电机) babai.curtain.bb82mj
绿米窗帘电机WIFI版 lumi.curtain.hagl05

下载custom component

下载下面网址所有文件到如下目录/config/custom_components/ https://github.com/tiandeyu/dooya_curtain/tree/main/custom_components

//文件目录结构如下
/config/custom_components/dooya_curtain/__init__.py
/config/custom_components/dooya_curtain/cover.py
/config/custom_components/dooya_curtain/manifest.json

configuration.yaml配置

名称 可选 描述
name ha中显示传感器的名字
host 窗帘电机IP地址,需要在路由器设为固定IP
token 米家设备token
model 设备型号
scan_interval 刷新间隔s,默认30
cover:
  - platform: dooya_curtain
    name: 'Bedroom Cover'
    host: 192.168.2.79
    token: d863582422bc743e4ac30d91fe037373
    model: dooya.curtain.m1
    scan_interval: 10

dooya_curtain's People

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.