dgreif / ring

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

Add Chime Pro Nightlight as Automation Option #1393

Open EddieDaYankee opened 8 months ago

EddieDaYankee commented 8 months ago

Description

The Chime Pro 2nd Generation has a nightlight feature. In the Ring app, you can turn the nightlight on or off manually or have it automatically turn on when it gets dark. However, there is no way to create an automation with it.

Proposed solution

Add option to control nightlight in an automation. For example, if it’s between midnight and sunrise and a certain motion sensor detects motion then turn on the Ring Chime Pro 2 nightlight.

Alternatives

There are none.

Device data

No response

tsightler commented 8 months ago

I do already support this in ring-mqtt, so we know the required API commands and it would be pretty easy to add, however, I'm not sure how much time either of us have at the moment so if someone codes it up and submits a PR that might have a higher chance of getting done. They can use the ring-mqtt code as a guide.

EddieDaYankee commented 8 months ago

I’m thankful for your response, but unfortunately I’m not too familiar with MQTT. I’m a HomeKit/HomeBridge user. My HomeBridge is on a Raspberry Pi 4. I’m definitely open to learning if you’re willing to help. On Feb 1, 2024 at 4:02 PM -0500, tsightler @.***>, wrote:

I do already support this in ring-mqtt, so we know the required API commands and it would be pretty easy to add, however, I'm not sure how much time either of us have at the moment so if someone codes it up and submits a PR that might have a higher chance of getting done. They can use the ring-mqtt code as a guide. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tsightler commented 8 months ago

I wasn't suggesting that you should use ring-mqtt, just saying that, since I've already added support there, the work to determine the required API calls, which is one of the bigger barriers to adding features like this, is already done. However, beyond that, someone still has to do that work and, right now, I'm not sure that the active maintainers in this project, including myself, have the time to do this, so the fastest way to see it included is for someone else to create a PR.