# Connecting Xiaomi Hub Gateway to Firebase Real Time Database

**URL:** https://discourse.nodered.org/t/connecting-xiaomi-hub-gateway-to-firebase-real-time-database/18496
**Category:** General
**Created:** [27 November 2019 07:20 UTC](https://discourse.nodered.org/t/connecting-xiaomi-hub-gateway-to-firebase-real-time-database/18496 "2019-11-27T07:20:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mochrizal](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mochrizal](https://discourse.nodered.org/u/mochrizal)
#### Post date: [27 November 2019 07:20 UTC](https://discourse.nodered.org/t/connecting-xiaomi-hub-gateway-to-firebase-real-time-database/18496/1 "2019-11-27T07:20:02Z")

</div>

Hi,

I want to make similiar mobile APP like Mi Home APP. So i need to extract the data from Xiaomi Mijia Hub Gateway first. Then i need to connect or sync the data to my Firebase Database.

Ive able to connect my Xiaomi Gateway to my Windows Laptop. So now i need to extract the data then connect it to my firebase. But how to do that?

Could someone has any ideas on this?

Thank You
