Search found 3 matches

by frietsje
Friday 11 September 2020 16:44
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 88
Views: 42887

Re: Ring 2 Doorbell

No, this is just an ordinary file somewhere. It's executed in a service.
You installed the Python package from the github repo?
by frietsje
Wednesday 09 September 2020 9:32
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 88
Views: 42887

Re: Ring 2 Doorbell

This is what I have now, could use some cleanup when it's working...

All seems to be working, except myring.active_alerts() is always empty.

from ring_doorbell import Ring, Auth
from time import sleep
from oauthlib.oauth2 import MissingTokenError
from pathlib import Path
import urllib2
import ...
by frietsje
Tuesday 01 September 2020 14:39
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 88
Views: 42887

Re: Ring 2 Doorbell

Anyone still working with this library?

I've connected it with my ring 1, so far so good. I can get a snapshot (don't know yet if this really is the latest snapshot).
In an infinite while loop (2sec each) I call update_dings() function and check active_alerts(). But active_alerts() always returns ...