GithubHelp home page GithubHelp logo

lywsd03mmc_exporter's Introduction

Xiaomi Mi Temperature and Humidity Monitor 2 prom exporter

Also known as LYWSD03MMC

Bluetooth LE compatible adapter on Docker Host Machine should be configured and available.

# Check Bluetooth device
ab@home $ hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: F4:16:79:31:50:35  ACL MTU: 1021:4  SCO MTU: 96:6
        UP RUNNING 
        RX bytes:64175 acl:452 sco:0 events:5086 errors:0
        TX bytes:82225 acl:244 sco:0 commands:3200 errors:0

# Find your Xiaomi Mi devices
ab@home $ sudo hcitool lescan
LE Scan ...
A4:C1:38:54:AE:A0 LYWSD03MMC
A4:C1:38:3B:6C:A5 LYWSD03MMC
docker run -d --name xiaomi_exporter \
  --restart=always --net=host --privileged \
  -t ultradesu/lywsd03mmc_exporter:latest \
  python3 /app/bt_exporter.py \
  --device 'A4:C1:38:54:AE:A0;guest_bedroom' \
  --device 'A4:C1:38:3B:6C:A5;bedroom' \
  --port 7536

lywsd03mmc_exporter's People

Contributors

house-of-vanity avatar sanapach avatar

Stargazers

Alfred S. avatar

Watchers

 avatar

Forkers

sanapach

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.