2017-01-13 11:09:38 +03:00
2017-01-13 08:59:25 +03:00
2017-01-13 08:49:26 +03:00
2017-01-13 11:01:38 +03:00
2017-01-13 11:09:38 +03:00
2017-01-13 11:09:38 +03:00
2017-01-13 10:18:02 +03:00

Aqara-MQTT

Aqara (Xiaomi) Gateway to MQTT brodge. I use it for home assistant integration and it works well now (exclude Brightness+RGB value of gateway - you need to send it in xiaomi format).

You need to activate developer mode (described here: http://bbs.xiaomi.cn/t-13198850)

Bridge accept following MQTT set:

"home/plug/heater/status/set" -> on 

will turn on plug/heater and translate devices state from gateway:

"home/plug/heater/status" on

Config

Sample config file (config.yaml):

mqtt:
  server: 192.168.1.2
  port: 1883
  username: username
  password: passw0rd
  prefix: home

gateway:
  password: passw0rd

sids:
  # motion
  158d0000e7c7ad:
    model: motion
    name: hall

  # temperature
  158d0001149b3c: 
    model: sensor_ht
    name: living

  # plugs
  158d00010dd98d: 
    model: plug
    name: heater

  # buttons
  158d00012d5720: 
    model: switch
    name: kitchen

  # cube
  158d00011065e3: 
    model: cube
    name: main

  # gateway
  f0b429aa1463: 
    model: gateway
    name: main
S
Description
No description provided
Readme Apache-2.0
118 KiB
Languages
Python 98.9%
Makefile 1.1%