Jump to content

Catch multiple callbacks and process in one go


arjan_io

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 to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...