cflurin / xiaomi-mqtt

A Bridge between the Xiaomi Mi Smart Home Gateway and the Mqtt broker.
Apache License 2.0
50 stars 14 forks source link

settings for Xiaomi-mqtt #15

Closed muzixiaosanshi closed 3 years ago

muzixiaosanshi commented 3 years ago

Dear cflurin: Thanks for your contribution for this xiaomi-mqtt bridge.I have already downloaded and installed it.But I have One question about setting: { "xiaomi": { "serverPort": 9898, "multicastAddress": "224.0.0.50", "multicastPort": 4321, "password": "FFF..." }, where can I get multicast address and multicast port ? where can i get password? thanks for your help and reply in avance ,Thanks.

cflurin commented 3 years ago

The multicastAddress is the default "224.0.0.50"

To get the password you have to activate the developer mode in the Mi home app (android or iOS):

Have a look here:

https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)#Adding_the_Xiaomi_Gateway_to_Domoticz

or search for Mi home app developer mode on the internet.

muzixiaosanshi commented 3 years ago

Hello cflurin: Thanks for your quickly reply, and I run xiaomi-mqtt ,it has below error: image and I use APP open local control as you mentioned above. Do you know what is wrong for my case ? Below is my config seeting: image Thx.

cflurin commented 3 years ago

Please, google, You'll find the solution.

muzixiaosanshi commented 3 years ago

Hello Cflurin,Thanks I google and solve above problem and come across a new question: image I found by google and could not find solution. Do you know what's the reason?Thanks.