title: How is Xiaomi2mqtt connected to Aquara hardware device
body: <p>I've already read the <strong>xiaomi2mqt</strong>t <a href="https://github.com/svrooij/node-xiaomi2mqtt" rel="nofollow noreferrer">documentation</a>. What I want to know is that how <strong>xiaomi2mqtt</strong> is connected to the actual hardware device (Aquara) over the Internet? In another world, I don't understand this part of the documentation:</p>
  <pre><code>//Device list:
  
  {
    &quot;device_id&quot;: &quot;Nice name&quot;,
    &quot;158d000aaa2888&quot;: &quot;Bedroom window&quot;,
    &quot;158d000aaa5b35&quot;: &quot;Frontdoor&quot;,
    &quot;gateways&quot;: {
      &quot;gateway_id&quot;: &quot;password&quot;
    }
  }
  </code></pre>
  <blockquote>
  <p>&quot;158d000aaa2888&quot;, &quot;158d000aaa5b35, &quot;gateway_id&quot;, &quot;password&quot;</p>
  </blockquote>
  <p>What are these? Where do they from ? What are they used for?</p>