IMPORTANT UPDATE FOR ALL USERS OF THIS DRIVER:
It has come to my attention that there is a possibility my driver has contributed to slowdowns for some users, due to not having a timeout set on the http GET request it makes. I don't know for certain that this is the case, and there are likely many things that can cause hub slowdowns, but I sincerely apologize if it is the case. I have not had slowdown issues on my own hub, and at the time I wrote the driver, timeouts were not yet a parameter on that api. I see now in the documentation that it was added as a parameter several months later. (The documentation says the default is now 3 minutes, but I do not know what it actually was on the earlier versions where you couldn't set it.)
That said, I have made several updates to the driver that are now posted here:
I recommend all users update to the latest version. Then, go into each of your device instances and push the "Save Preferences" button.
Major changes:
- It now has a timeout of 10 seconds on the requests
- There is a preference to disable it, and stop it from making requests to your phone. (This is if you want to test a difference with it on or off.)
- I have one option in there that I did not want to expose an explicit option, but you can enable it if you know how to uncomment the code. The default is to ping your phone once a minute. But on my system, I have it pinging every 15 seconds. That's disabled here, but you can switch it up if you read the code.
I recommend all users perform this update ASAP.