Coder Social home page Coder Social logo

I got 3 arduino devices with same code with same php code using this Lib but in firebase it only update 1 data not simultaneously those 3 devices it requires other device to be turn off so it can be updated about firebase-php HOT 5 OPEN

xiaomy12 avatar xiaomy12 commented on August 20, 2024
I got 3 arduino devices with same code with same php code using this Lib but in firebase it only update 1 data not simultaneously those 3 devices it requires other device to be turn off so it can be updated

from firebase-php.

Comments (5)

xiaomy12 avatar xiaomy12 commented on August 20, 2024

<?php require 'firebaseLib.php'; $Trash = $_GET["trash"]; $Distance = $_GET["distance"]; $Temperature = $_GET["temp_f"]; $Humidity= $_GET["humidity"]; $url = 'https://thesis1-69.firebaseio.com'; $token = 'xxxxxxxxxxxxxxxx'; $firebasePath = '/thesis1-69/'; $devicestatus= array('Distance' => $Distance,'Temperature' => $Temperature,'Humidity' => $Humidity); $full= array($Trash => $devicestatus); $fb = new Firebase($url, $token); $fb -> update($firebasePath, $full); ?>

from firebase-php.

xiaomy12 avatar xiaomy12 commented on August 20, 2024

@ktamas77 @llbbl @mintao @MiniCodeMonkey @ChrisThompsonTLDR

from firebase-php.

ChrisThompsonTLDR avatar ChrisThompsonTLDR commented on August 20, 2024

I think you mistakenly mentioned me.

from firebase-php.

xiaomy12 avatar xiaomy12 commented on August 20, 2024

sir do you know how to resolve this issue?
please check my php code

from firebase-php.

xiaomy12 avatar xiaomy12 commented on August 20, 2024

the library of @ktamas77 was not set to simultaneous request to firebase
I don't know if it was the issue but it was not set to curl_multi_exec

from firebase-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.