Closed Wondermusic closed 1 year ago
I do have a similar issue. There is only a motion event and for some reason its not responding to motion; there is no status change when motion should be detected. A Snapshot is created but the sensor.motion datapoint is not responding.
Does someone have a solution?
@Voggl93 could you change log level to debug and look out for Recieved Motion Event xxx
. If it does show up then the state should change as well. If the message doesn't occurs the adapter doesn't get the needed Event from Ring Api.
Best regards Thiemo
I've changed the loglevel of iobroker to debug but there is no message like Received Motion Event xxx. If i push the button it registers an the datapoint kind is changed to ding but there is also no message in the log.
The only message i get from the ring adapter is something like "Recieved new Refresh Token. Will use the new one until the token in config gets changed"
@Voggl93 just to prevent a miss understanding, did you change the log level of your ring instance to debug or just the iobroker level?
Yeah did that but seems that i've missed with the Mouse. So it was still on Info. Changed it this morning and when I left the House for work there is no Motion Event xxx. I've attached a Screenshot where it should have been. I've left the House at 5:53am according to the Ring Video
Ah yeah Here comes the screenshot
@Voggl93 except 5:26:41.586 you have no motion event, and even that one might be the initial "no motion". Did you move in front of the camera to trigger a motion event?
Additionally in the ring app, are alerts for motion on? If not that's the reason the ring api client doesn't receive the event thus not giving the adapter the needed info.
Yes i did move in Front of the camera but not at 5.26am.
So i've enabled the movement detection but the notification was disabled. Now enabled i do get notification from my Ring App b In my Smartphone but theres nothing triggering in the Adapter.
@Voggl93 Did you activate motion notification in ring app, or just the notification from ring on your phone?
Did you restart the adapter afterwards?
Sorry for the late reply, haven't got a mail about the answers.
This is all I get, after changing the loglevel of the ring- Adapter to debug:
2022-10-14 08:50:39.350 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Recieved Update
2022-10-14 08:50:39.354 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Update Snapshot Object
2022-10-14 08:50:39.803 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Update Health Callback
2022-10-14 08:52:39.766 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Recieved Update
2022-10-14 08:52:39.771 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Update Snapshot Object
2022-10-14 08:52:40.238 - debug: ring.0 (7867) Device 81034201 ("Haustür"): Update Health Callback
Motion is not neccessary for me, but the ring event.
@theimo1221 I've activated the notification in the Ring App. All 3 Options are activated (Ring notification, movement detection and movement notification) Still no luck in iobroker. The only time I do get an Motion.sensor Log is after i've rebooted the Ring Adapter. Motion Event (false) or Something Like that.
@Voggl93 could you try removing all iobroker tokens on the ring website and generate a new one?
Yes i can do that. Will give you an updated maybe this evening or tomorrow.
Still no luck. I've deleted every authorised Client on my ring account and then reauthorised my smartphone an iobroker. Adapter is green but no event triggering
@theimo1221 same thing here with my problem. I did the same as Voggl93. Still no ding event visible.
I have the same issue. No ding event and no refresh, when the event occurs.
I also have the same problem. The ding datapoint missing and the motion datapoint works only one time after restart of the ring adapter. I also removed all iobroker token and generate new one. Notifications are all activated.
I'm sorry, but it is working for me with 6 devices without any issues.
Hello @theimo1221, several users have the same issue. Do you really think that we make all the same mistake? I think somewhere there must be a difference. I can successfully request snapshots and livestreams. But only the events don't work. There is no entries about incomming events in the log of the adapter. But the notifications on Ring-App and Echo-Dot are working.
Hello @exaware,
first things first: I don't have a ring doorbell but I have 4 Stickups and 3 Floodlights in my account, so while I can't explicitly test doorbell events I do can test normal camera events.
To recieve events the following steps need to happen (compare FAQ):
Now when a event occurs the chain is as following:
Now we can check for some cases:
Recieved Motion Event
at debug level. As even this doesn't occur for some users one of the previous points has to fail.Additionally my logic isn't written like if it's not my ip or stars don't align then don't react on events. So as atleast some users do get events correctly I don't see any options on my side for now.
I don't have a Protect-Abo. Do I need also enable "Smart Alerts" for motion notification?
I don't have a Protect-Abo. Do I need also enable "Smart Alerts" for motion notification?
I'm neither an employee of ring nor do I have any source stating on which factors ring decides whether you are worthy to recieve notifactions or not (compare https://github.com/iobroker-community-adapters/ioBroker.ring/issues/284#issuecomment-1177271779). So while it might help having a Protect-Abo
it might not be a deciding factor at all.
In June my iobroker on my main server was "blacklisted" as well (recieving no events) while it was working for other users. For me the problem resolved after removing all authorized client devices
on the ring website, waiting one day with adapter turned off and the starting with a freshly generated token.
I removed all clients more times. But I didn't wait a day. That's a good Idea but I can receive Snapshots and Livestreams. Only the motion notifications are not working. As I know if you be on the black list, you can't also receive Snapshots.
I tried version 3.0.1 as like described in this in Thread (#284). Version 3.0.1 works fine for me. I also tried a newer version like 3.0.3 and the newest version 3.1.3, but it didn't work. By the way, I have the Ring Doorbell Wired.
I tried version 3.0.1
That one has a much older version of ring api client library and without recent security patches so use at own risk
What would be the alternative? The newest ring adapter with a more secure ring api which is not working? If someone can fix the problem with the newest ring api, I am ready to test it.
What would be the alternative? The newest ring adapter with a more secure ring api which is not working? If someone can fix the problem with the newest ring api, I am ready to test it.
Compare it to driving, I'd rather not use my car at all if there are some security issues with it, than saying "nah I can't get it fixed now, so I can continue driving"
wenn ich alles neu installiere version 3.1.3 und neuen token erstelle und auch nur iobroker bei ring angemledet, fuktioniert es einmal, danach nicht mehr. deswegen sie alle versionen über 3.0.1 unbrauchbar und defekt oder sowas.
wenn ich alles neu installiere version 3.1.3 und neuen token erstelle und auch nur iobroker bei ring angemledet, fuktioniert es einmal, danach nicht mehr. deswegen sie alle versionen über 3.0.1 unbrauchbar und defekt oder sowas.
same behavior..
version 3.0.1 works.
Same problem 3.0.1 works
Where do I get 3.0.1 now, the oldest I can choose under "install speciic version is 3.0.3!?
Where do I get 3.0.1 now, the oldest I can choose under "install speciic version is 3.0.3!?
type in console: iobroker upgrade ring@3.0.1
Thank you @Wondermusic. Unfortunately no improvement. The ring.0.doorbell.(ID).state is not there anymore. Why the hell? :(
Thank you @Wondermusic. Unfortunately no improvement. The ring.0.doorbell.(ID).state is not there anymore. Why the hell? :(
The datapoint has another name:
The datapoint has another name:
But all I have is this
Delete the whole object tree and restart the adapter. I think I did the same after downgrade to 3.0.1, but I'm not sure...
Now it is completely broken. No more states in the tree.
Huh... OK?! I didn't had that problem. What if you delete the whole adapter and try to reinstall with: iobroker install ring@3.0.1
Problem is - I don't know what this issue is. I'm just a user, not a programmer. On my side it worked with the upgrade routine i mentioned above. Otherwise maybe @theimo1221 can help you with this problem.
I've tested now Version 3.1.9, but still the same issue. There is no ring event and under events there is again only the motion event visible.
Es ist leider so das bei den neueren Versionen also alles was höher ist wie 3.0.1 es nur einmal funktioniert mit frischen token, danach nicht mehr. Außer man macht wieder ein frischen token. Es funktioniert nur 3.0.1, verstehe nur nicht warum und warum nichts geändert wird?
I guess the the problem is, like @theimo1221 said, he has nor Ring, only cams and they are working. It#s a pitty, since it has been ok previously and was one for all time destroyed by an update. :(
Hat der Entwickler nur Kameras oder wie?
Hello @exaware,
first things first: I don't have a ring doorbell but I have 4 Stickups and 3 Floodlights in my account, so while I can't explicitly test doorbell events I do can test normal camera events.
To recieve events the following steps need to happen (compare FAQ):
- This adapter has to create an instance of Ring Api Client including correct authentication data
- Ring Api Client has to successfully connect to rings server
- Ring Api Client has to successfully subscribe to events
- This adapter has to subscribe to the events from Ring Api Client
Now when a event occurs the chain is as following:
- Ring Camera must inform Ring server
- Ring has to decide whether this is an event which needs a push notification
- The connection between Ring Api Client instance and ring must still exist
- Ring has to decide whether the Ring Api Client is a valid push target
- The Ring Api Client must react on the event
- The Ring Api Client has to trigger the suscribed event from this adapter
- The adapter has to react on the triggered event
Now we can check for some cases:
- Point 1 and 2: As you guys get events on your phones these are correct
- Point 3: As you guys report it even shortly after start this can't be the reason. Additionally every 2 hours the connection is terminated and reinitialized
- Point 4: This is not in my hands and as there is no official documentation this could rely on different factors (existing subscription, amount of cameras, amount of events, ....)
- Point 5 and 6: Not in my hands also
- Point 7: As soon as the event is triggered it get's logged
Recieved Motion Event
at debug level. As even this doesn't occur for some users one of the previous points has to fail.Additionally my logic isn't written like if it's not my ip or stars don't align then don't react on events. So as atleast some users do get events correctly I don't see any options on my side for now.
See here @denjo82
Okay, danke für die info. Dann lasst uns mal sammeln für den Entwickler damit das ein Ende hat. Wäre froh wenn der Adapter vernünftig weiter entwickelt wird.
Gute Idee - die kleine ist grad als Black Friday Angebot drin -> 40,-. @theimo1221 Ist das ok für Dich? 5 Tage Zeit zum antworten... ;-) Danach kostet die wieder 60,-
Zusammen schmeißen sagte ich aber nicht das ich alleine bezahle. 5€ würde ich dazu geben
Würde mich auch mit 5€ beteiligen
Ich wäre auch mit 5€ dabei
Zusammen schmeißen sagte ich aber nicht das ich alleine bezahle. 5€ würde ich dazu geben
So wars auch nicht gemeint -> Lach Wäre natürlich auch mit 5 dabei!
For our English speaking users...
We are asking to collect for a Ring Doorbell for Theimo1221, so he can include their functions in future Versions of his ring adapter. Someones here who wants also donate some bucks? :-)
Describe the bug
There is no Event "Ding", just Motion
To Reproduce
Steps to reproduce the behavior:
Screenshots & Logfiles
Versions: