# I need to get data from firebase in readtime

**URL:** <https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, beginner, help, bugfix\
**Created:** [November 25, 2020, 4:54am UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320 "2020-11-25T04:54:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbt351394](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jbt351394/32/89979_2.png) [@jbt351394](https://community.thunkable.com/u/jbt351394)\
**Post date:** [November 25, 2020, 4:54am UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320/1 "2020-11-25T04:54:54Z")

</div>

I have The project Automatic farm. I need to get data from firebase in readtime but we have more than 1 variables,and also don’t know how to make block code to get more variables.  
I can make a value run in realtime but it show only one variables.

 ![126497932_426844574986274_3307028995201088121_n](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/baf7883ae8641701db11e65269006b6f56f2475a.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 25, 2020, 11:41am UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320/2 "2020-11-25T11:41:45Z")

</div>

Can you share a screenshot of the firebase data hierarchy? That will help us give you more specific suggestions

---

<div class="post-metadata">

**Author:** ![jbt351394](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jbt351394/32/89979_2.png) [@jbt351394](https://community.thunkable.com/u/jbt351394)\
**Post date:** [November 25, 2020, 12:37pm UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320/3 "2020-11-25T12:37:30Z")

</div>

I want to get value from firebase tem1,tem2, and Hum to show on my app. I don’t know to make a block for more variables, like this pictrue.

 ![126289425_2653765911553268_3565963063902982505_n](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/7/97a9e69687bcae941c2898c5f48267f13064d904.png) ![127599636_160317612473854_3326329291204279832_n](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/1/e19108a40ca9aa2056478e29b028b96a63d3daf2.jpeg)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 25, 2020, 5:39pm UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320/4 "2020-11-25T17:39:48Z")

</div>

Try something like this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/e/6e18a1ed235377fc6b13ee2df98d823dc7da500e.png)

I would also suggest that you use a button while testing, since the START and OPEN events are a little tricky to work with AND there are some bus with the OPEN event.

Also, check out this link that goes into greater detail on how to use cloud variables INSTEAD of Realtime\_DB blocks. Switching will save you a lot of trouble, trust me!

> [@Replace GET or SAVE Blocks with cloud variables](http://community.thunkable.com/t/thunkable-hack-deep-firebase-json-data-manipulation-without-using-get-or-save-blocks/975738):
>
> I just discovered a VERY simple and fast way to get and set Firebase data without using the GET or SAVE blocks (which has all sorts of asynchronous issues). The 2 any button click blocks below return the same data. Just put the GET block KEY variable into the CLOUD variable name and PRESTO. You have a synchronous call to firebase! Similarly, you can set data anywhere in the JSON Hierarchy using cloud variables. Both of the examples below update Firebase, but the CLOUD based solution…

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/i-need-to-get-data-from-firebase-in-readtime/997320/5 "2024-11-08T12:21:28Z")

</div>


