dgreif / ring

Unofficial packages for Ring Doorbells, Cameras, Alarm System, and Smart Lighting
MIT License
1.17k stars 155 forks source link

Intercom - Ding event not available in ioBroker where I use your adapter #1418

Closed WaldemarCichon closed 1 month ago

WaldemarCichon commented 2 months ago

Is there an existing issue for this?

Describe The Bug

I use your adapter for some time. It works very well - I use it together with a chime to unlock the door and also to watch other persons unlocking the door. But the Ding event seems not to work. It is never called.

To Reproduce

write a script with the handling of the ding event ring the bell connected to the intercom open the door by pushing the knob or calling the method in the API ` intercom.onDing.subscribe({ next: () => { console.log(Ding was triggered'); chime.setVolume(8); chime.playSound("ding"); } })

console.log('init for unlocked');
intercom.onUnlocked.subscribe({
    next: () => {
        console.log("Unlocked");
        chime.playSound("motion");

    }
})`

Expected behavior

the ding event should be called in oposite - the unlock event works very well.

Relevant log output

no output / logs available

Screenshots

No response

Homebridge Ring Config

none, called directly by a script

Additional context

No response

OS

Raspian

Node.js Version

V18.18.0

NPM Version

v10.2.4

Homebridge/HOOBs Version

none

Homebridge Ring Plugin Version

current

Operating System

Raspian

tsightler commented 2 months ago

Please read https://github.com/dgreif/ring/wiki/Refresh-Tokens#refresh-token-updates, specifically the important note section. Most likely you will need to delete the device from Ring Control Center and repeat the authentication process.