• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase Web App "3.4 Streaming Database"

Q&A Forum › Category: ESP32 › Firebase Web App "3.4 Streaming Database"
0 Vote Up Vote Down
Paul asked 4 years ago

Hello,
Stuck again … this time on section 3.4 (demonstration).  As seen below the esp connects to the database but the streamed data type is “null” rather than “json” …?  On page 74 of the pdf it shows data type, jason and prints the content.  Not sure how to resolve this, any help is appreciated. 
Regards,
Paul
Connecting to WiFi …10.0.0.188
Token info: type = id token, status = on request
Token info: type = id token, status = ready
Getting User UID
User UID: 1Qac8ZpzXbUl————————
stream path, /UsersData/1Qac8ZpzXbUl———————-/outputs/
event path, /
data type, null
event type, put
null
Recieved stream payload size: 43 (Max: 43)
Writing value: 22.85 on the following path: /UsersData/1Qac8ZpzXbUl——————–/sensor/temperature
PASSED
PATH: /UsersData/1Qac8ZpzXbUl————————/sensor/temperature
TYPE: float

Question Tags: Firebase Streaming Data
2 Answers
0 Vote Up Vote Down
Paul answered 4 years ago

Hello,
Un-stuck myself … turned out the data base had an extra UsersData field in it (not sure why).  Inserted the digital and message field in the  /UsersData/1Qac8ZpzXbUl———————-/outputs/  and all works according to pdf doc.
Regards,
Paul
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great!
I’m glad everything is working as expected now.
I hope you’re enjoying the project.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards.
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.