Jump to content

Catch multiple callbacks and process in one go


Recommended Posts

Hi,

I am trying to build my own weather station. So far I have a Humidity, UV and Baro (all V2) bricklets. I want to process all their data. I have made a PHP script (my best programming skills are PHP) that calls the bricklets one by one, get their value and log it into a mysql database with a timestamp.

 

Would there be a way to use callbacks to do the same? Problem I can't figure out is when all values have been received, aggregate them and send them off.

 

Thanks in advance!

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...