GithubHelp home page GithubHelp logo

pkgplus / migateway Goto Github PK

View Code? Open in Web Editor NEW
65.0 6.0 25.0 61 KB

XiaoMi GateWay/Aqara/Lumi/Mijia/小米网关/绿米/米家 SDK For Golang

Home Page: http://blog.bingbaba.com

Go 100.00%
xiaomi aqara mijia lvmi

migateway's Issues

Documentation / README structure

Thanks for an awesome library!

I found it hard to get started with the available documentation. Would you let me submit a PR to improve the README?

how to get feedback from devices?

Hello,
I've write code to control Aqara and it works.
But how can I get feedback from device?

func main() {
    manager, err := migateway.NewAqaraManager(nil)
    if err != nil {
        println("connection error", err)
    } else {
        manager.SetAESKey("B6EC4F2E5D494BE6")
        manager.Plugs["158d00011167f4"].TurnOn()
        time.Sleep(500 * time.Millisecond)
        manager.Plugs["158d00011167f4"].TurnOff()
        time.Sleep(500 * time.Millisecond)
    }
}

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.