Pushing multiple values in a single node in Firebase from nodeMCU.
SalmanFK last edited by SalmanFK
Since I'm new to nodeMCU and Firebase, I'm having a problem to push multiple values in a single node (randomly created) in Firebase from my nodeMCU-ESP8266. I can successfully push a single value whether it's String or Integer.
To be clear... I'm willing to store temperature and humidity values to a new node that's randomly created each time as the values are available. But, the problem is I can't push more than one value in that single node!
It'll be really helpful if you guys can help me out...
The image is the result when I store the values through an android app. But, I can't do the same with the nodeMCU!
kowshik1729 last edited by kowshik1729
@SalmanFK Thanks for posting the query. I would like to know what exactly you are referring to when you say "node".
According to what I understood you are not able to push more than one value at a time into the firebase. Am I right? is that your doubt is? Just to add on, I want to let you know that ESP8266 cannot send characters or strings to the cloud directly. You need to declare a C string and initialize a pointer to run over the length of string, then upload each character to the cloud. This is what basically I did when I faced the error.
salmanfaris last edited by salmanfaris
Hi @SalmanFK ,
You can Serialize the data as a JSON or CSV string format and publish that as a single string, so you get the data in a single node, you also DeSerialize the string simply in the application end.
Meetup Cafe is a platform aiming to bring innovators, industry leaders, investors, academicians, and government officials together.
Venue: Integrated Startup Complex, Kochi
Registration Link: http://bit.ly/MeetupCafeFebruary
Entrepreneur | Tech CEO | Angel Investor| Board Member | Advisor
After briefly retiring from corporate life subsequent to a 43-year career that included 26 years of Big Company life mixed in with an exciting 17-year entrepreneurial journey, George is currently the Founder and Managing Partner of InfoNet of Things LLC, an IoT solutions company. He is also giving back to the community via initiatives such as AWRC-NTX. Prior to that, as Founder, President and CEO of GlobeRanger, George was responsible for guiding the company through its integration phase and global growth following its acquisition by Fujitsu in May 2014. George’s vision of the ‘enterprise edge’, born out of his pioneering work in the wireless world, is the foundation of GlobeRanger’s market leading iMotion platform. Prior to co-founding GlobeRanger in 1999, Brody served as Vice President and General Manager of Nortel Networks’ Wireless Network Solutions division where he managed a series of entrepreneurial start-ups including Wireless New Business Ventures, a business incubator. During his tenure at Nortel, as Vice President of Wireless Technology, Brody was responsible for its global wireless product development programs and the management of the Bell Northern Research Labs in Richardson, a world-class research and development organization that employed more than 2,500 professionals.
Brody was also the Chairman of MobME Wireless Pvt Ltd, an exciting Wireless technology venture, based in Cochin, India for over seven years. His current professional interests lie in the areas of entrepreneurship and the creation of new ventures at the intersection of wireless technology with medical and enterprise applications involving IoT as well as Augmented Reality/Virtual reality.
What are the benefits?
Students have access to more than just the best developer tools with the GitHub Student Developer Pack
Some of the popular benefits are,
Namecheap.com:- 1 year domain name registration on the .me TLD.
.tech Domains:- One .TECH domain free for 1 year.
name.com:- One free domain name and free Advanced Security (SSL, privacy protection, and more).
DataCamp:- Free 3-month individual subscription for students.
Bootstrap Studio:- A free license for Bootstrap Studio while you are a student.
Canva:- Free 12 month subscription of Canva’s Pro tier.
and many more...
It may take 7+ days for the activation process.
Read more on Medium
How to apply ?
A step by step guide
Applying for a Github student dev pack is easy!Visit GitHub Education and click Get benefits in the top-right corner. Under “Which best describes your academic status?”, select Student. Then, complete one of the following:
If you have a school-issued email, select (or add it).
Please note that email addresses must be verified and any addresses with plus signs (“+”) are not eligible.
If you don’t have a school-issued email, follow the prompts to fill out additional information. You’re still eligible even if you only have a personal Gmail address, as long as you can provide alternative documentation to verify your current student status.You may be prompted for more information. When prompted, upload an image that demonstrates your academic status or confirms your Enrollment.
Read more on Medium
Whats Adafruit IO ?
Its a cloud service. You can store and retrieve the data when needed. Adafruit IO can handle and visualize the data. there is a dashboard is associated with it to provide chart, graphs, etc and display your data.
What Adafruit can do for you?
Display the sensor data in real-time
You can control your motors and other sensors
You can integrate web services like displaying tweets, sending mail, weather services, etc.
You can unlock its full potential by accessing Adafruit with Github student developer pack.
As a part of the program, you will get discounts on certain Adafruit products.
30% Discounts on Circuit Playground Express - GH STUDENT EDITION
30% Discounts on Circuit Playground Bluefruit - Bluetooth Low Energy - GH STUDENT
"The joy we feel has little to do with the circumstances of our lives and everything to do with the focus of our lives."
~ Russel M. Nelson
Here is your opportunity to share your knowledge, connect yourself to the Industry professionals and multi disciplinary discussions on the latest advances in an international platform!!
INDIA'S FIRST IEEE Industry Applications Society CLUB OF 6 TECHNICAL PAPER CONFERENCE - *2020 IEEE International Power and Renewable Energy Conference (IPRECON)* is on its way to break new grounds. We welcome you all to the integrated crate for the young students and professionals all over the world to embed the technical quality.
Date : 24th, 25th and 26th July 2020
Venue :College of Engineering Karunagappally, Kerala, India
Paper Submission Starts : 5th December 2019
Paper Submission Closes : 29th February 2020
Notification of Acceptance : 1st April 2020
Final Camera-ready Paper : 1st May 2020
1. For Paper Submission visit: https://cmt3.research.microsoft.com/iprecon2020
2.Call For Paper : http://iprecon2020.org/cfp.html
For more details, visit: www.iprecon2020.org