-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we keep polling #37
Comments
Do you have a non-polling use case? The GrovePi isn't capable of sending notifications since its interface is I2C. Or maybe I'm misunderstanding? |
I guess I don't have any specifics other than wanting to have a little more control over what is going on. I guess we could offer a default server, and then a module. So |
I'm not sure we can delete the Polling module with deleting or re-writing a number of our existing modules (e.g. I read through your lightning-sensor branch and saw that implemented your own polling functionality. Did you run into problems with getting the data you wanted back from polling, setting triggers, sending commands to update the configuration of the sensor, or was it another issue? |
The polling that is in place based on a pin. I might have not been thinking at the time. I felt overwhelmed by the system I had put in place. Maybe it just needs some rework.
Amos King
Binary Noggin
… On Mar 9, 2018, at 18:24, Axel Clark ***@***.***> wrote:
I'm not sure we can delete the Polling module with deleting or re-writing a number of our existing modules (e.g. DHT, Button, Sound, & Potentiometer).
I read through your lightning-sensor branch and saw that implemented your own polling functionality.
Did you run into problems with getting the data you wanted back from polling, setting triggers, sending commands to update the configuration of the sensor, or was it another issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh, I see now, all of the APIs expect a pin. If you could pass a parameter to the existing I noticed you added Protocol & Behaviour . I have to read up on those features, I haven't used them before. |
Polling gives us a friendly interface for sending event and messages, but it also limits some of the more advanced work that someone may want to do with their systems. It also defines the controls that an end user has when using the library.
For 1.0 should we pull the polling out into a new GenServer for end-user use? Should we drop it entirely? Should we keep it the same as it is?
The text was updated successfully, but these errors were encountered: