All Projects → pkgplus → Migateway

pkgplus / Migateway

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

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Migateway

Openwrtinvasion
Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...
Stars: ✭ 366 (+603.85%)
Mutual labels:  xiaomi
Xiaomigateway3
Control Zigbee, BLE and Mesh devices from Home Assistant with Xiaomi Gateway 3 (ZNDMWG03LM) on original firmware
Stars: ✭ 617 (+1086.54%)
Mutual labels:  xiaomi
Miflora
Node.js package for the Xiaomi Plant Sensor Flower Care (Mi Flora)
Stars: ✭ 38 (-26.92%)
Mutual labels:  xiaomi
Lovelace Xiaomi Vacuum Map Card
This card enables you to specify a target or start a zoned cleanup using live or static map, just like in Xiaomi Home app. Additionally you can define a list of zones and choose the ones to be cleaned.
Stars: ✭ 433 (+732.69%)
Mutual labels:  xiaomi
Socket.io Push
整合了小米,华为,友盟,谷歌,苹果推送的统一解决方案
Stars: ✭ 605 (+1063.46%)
Mutual labels:  xiaomi
Zigbridge
Zigbee gateway implementation
Stars: ✭ 21 (-59.62%)
Mutual labels:  xiaomi
Home Assistant Custom Components Xiaomi Cloud Map Extractor
This custom integration provides a way to present a live view of a map for a Xiaomi (and Roborock) vacuums.
Stars: ✭ 318 (+511.54%)
Mutual labels:  xiaomi
Homebridge Mi Gateway Fm
XiaoMi Gateway FM plugin for HomeBridge.
Stars: ✭ 43 (-17.31%)
Mutual labels:  xiaomi
Ble monitor
Xiaomi Mijia BLE MiBeacon monitor
Stars: ✭ 611 (+1075%)
Mutual labels:  xiaomi
Mibuy
小米商城抢购
Stars: ✭ 35 (-32.69%)
Mutual labels:  xiaomi
Rrcc
RoboRock Control Center
Stars: ✭ 457 (+778.85%)
Mutual labels:  xiaomi
Xiaomi Cloud Tokens Extractor
This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
Stars: ✭ 587 (+1028.85%)
Mutual labels:  xiaomi
Make Mi Air Purifier Great Again
A smart automation alternative to Mi Home.
Stars: ✭ 32 (-38.46%)
Mutual labels:  xiaomi
Miflora Mqtt Daemon
Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼🥀🏡🌳
Stars: ✭ 409 (+686.54%)
Mutual labels:  xiaomi
Homebridge Mi Aqara
a homebridge plugin for XiaoMi Aqara plugin.
Stars: ✭ 990 (+1803.85%)
Mutual labels:  xiaomi
Mi Shop
🌈xiaomi mobile mall.
Stars: ✭ 364 (+600%)
Mutual labels:  xiaomi
Miui8 Xml Japanese
Japanese MIUI 8 translation for xiaomi.eu
Stars: ✭ 16 (-69.23%)
Mutual labels:  xiaomi
Xiaomi Ruby 15.6 Uma Only
macOS Big Sur on XiaoMi Ruby 15.6 (Opencore)
Stars: ✭ 44 (-15.38%)
Mutual labels:  xiaomi
Xiaomi Push
小米推送 golang sdk
Stars: ✭ 38 (-26.92%)
Mutual labels:  xiaomi
Yeelight Platform
Yet Another Yeelight API in node.js
Stars: ✭ 35 (-32.69%)
Mutual labels:  xiaomi

migateway

API DOC

小米网关协议文档参考

原版

修正格式版

绿米网关局域网通讯API V1.0.7

FEATURES

  • 支持网关自动发现(whois)
  • 支持设备自动发现(get_id_list,read)
  • 支持设备状态自动更新(report/heartbeat)
  • 支持网关彩灯控制,并支持颜色、闪烁等控制(write)
  • 支持智能插座的控制
  • 服务运行树莓派3上树莓派安装文档

Homekit

Document

migateway for homekit

Screenshot

手机

EXAMPLE

package main

import (
    "github.com/bingbaba/tool/color"
    "github.com/bingbaba/util/logs"
    "github.com/xuebing1110/migateway"
    "time"
)

var (
    LOGGER = logs.GetBlogger()
)

func init() {
    logs.SetDebug(true)
}

func main() {
    manager, err := migateway.NewAqaraManager(nil)
    if err != nil {
        panic(err)
    }
    manager.SetAESKey("t7ew6r4y612eml0f")

    gateway := manager.GateWay
    for _, color := range color.COLOR_ALL {
        err = gateway.ChangeColor(color)
        if err != nil {
            panic(err)
        }
        time.Sleep(time.Second)
    }

    err = gateway.Flashing(color.COLOR_RED)
    if err != nil {
        panic(err)
    }

    //do something...
    time.Sleep(10 * time.Second)
}

TODO LIST

  • 支持无线开关的控制
  • 支持86开关的控制
  • 支持场景自动化联动

Updating...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].