Giter Site home page Giter Site logo

saymi-mqtt's Introduction

saymi-mqtt

An MQTT interface for your Mi Home Devices.

Installation

Before installing make sure you have nodejs 6.6+ and npm 4+ installed already.

  • Clone this repository.
  • Install dependencies: npm install
  • Rename confg/airpurifier.env.example to config/airpurifier.env
  • Edit your config/airpurifier.env file and replace all the necessary information. Like MQTT credentials, etc.
  • Install PM2: npm install -g pm2
  • Finally run: pm2 start process.json

Documentation

Currently working on it...

Available Devices

Mi Air Purifier 1, 2 and Pro Air Purifier

More devices will be added soon...

saymi-mqtt's People

Contributors

oozman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

asotirov0

saymi-mqtt's Issues

Tried but it doesn't work with Air Purifier 2S

I dont' know if this project is already abandoned but since I desperately want my Xiaomi Air Purifier 2S to publish the mqtt temperature data for other home automation purposes so I decided to give it a try.

However, up on trying, I found that there's no message in the topic "saymi/XXXXXX/cmnd/get_data", which supposes to be where the temperature value is. So it doesn't seem to work in my case.

Can you please kindly help what have I done wrong? I put all device ID, name, ip address and token (using miio discover --sync command) but still doesn't work.

Thanks and hope you could help.

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.