last day (17 days later) » 

7:06 AM
-1
Q: Problem in getting the data: device data are not all updating in firebase

XiaomyGreetings! I used 000webhost to connect in firebase those 3 arduino devices have the same code The problem I encountered is when the data send to the web(php) and send to firebase, only one device is the priority of the firebase when 3 devices where simultaneously sending data. I used di...

 
To be honest, I don't understand what the problem is
 
sorry the data send by the arduino devices are not simultaneously displayed in the firebase
 
Well, if they are different devices, connecting through different connections to Firebase, and firebase will deal with three requests, you won't get all data to be written at the EXACT SAME TIME
 
it was only 1 webhost and 1 firebase account
I also tried 1 webhost and 1 firebase account for each devices but not working
 
If these are sent as separate three requests, they won't be written at the same time
I still don't understand why do you want to write on three locations at the exact same time, what is the problem with fraction of seconds?
 
7:06 AM
ah it's okay if they are not sending at the same time but I also tried it I change the delays it works for 8 seconds then only one device is updating see (500 delay) I change those to 800 in my trial and many more
whenever those three devices are ON only one stays updating
@Mocas need your help
 
Why are you using 000webhost/php to write to firebase?
 
because arduino uno to esp-01 is not supported by the library for firebase
need help guys anyone expert in arduino
 
Are you not simply writing to the same location every time and thus overwriting the previous update?
 
same location? I got 1 firebase and 1 webhost I have 3 locations trash 1, 2 and 3 in firebase
@AndréKool need your help :(
should I use 3 webhost and send their data in one firebase?
I tried it already and probably the problem is the internet? the time request for each device how can I implement it? I already played the delay but no good results
I think my php code is the problem? there should be an ID?
@Mocas sir guide me
guuys please guide me here?
 
I can't help sorry
 
7:06 AM
the data coming from the arduino are sending data continuously to the webserver as well as the firebase on upon after 10 or less seconds it only then accepts one and 2 devices are ignored what should be the problem on arduino code and php?
how to put a Connection close on my arduino code? it might help by putting it it will close then allow the other then close and so on?
it always print this when the device is ignored "AT+CIPCLOSE"
 
 
10 hours later…
5:09 PM
@AndréKool
 

  last day (17 days later) »