RuuviTagSensor.get_datas(print_data, mac)

I’m trying to use the RuuviTagSensor.get_datas(print_data, mac) function from the example functions to get data from my RuuviTag to be sent to my net site. How can I change the frequency the callback function is called? I’m just beginning with python and can’t dig deep enough in the functions hierarchy to find from where to change the timing. Currently it calls the callback function print_data often like crazy. I know I could add a timing to limit calls to send the data but that seems like a crutch and would not diminish the heavy processing currently taking place.


Well, I handled this with time.sleep() though not the most beautiful solution.