Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Create sensor to understand when the addon is ready #67

Open
gigio68 opened this issue Oct 18, 2021 · 0 comments
Open

Create sensor to understand when the addon is ready #67

gigio68 opened this issue Oct 18, 2021 · 0 comments

Comments

@gigio68
Copy link

gigio68 commented Oct 18, 2021

I have managed to create a switch in the configuration as suggested under "Battery Conservation" section of the github README page.
I am now trying to record a stream by enabling the addon after motion is detected by the official Ring addon (via binary_sensor_front_motion).
If I create a single automation with following actions: <1> switch ring-hassio addon ON, <2>record mp4 file from the livestream, <3>switch ring-hassio OFF --> the automation does not seem to work and I never get <2> to record the stream. (it seems the ring-hassio addon does not get enabled by <1>)
If I run three separate automations <1>, followed by <2>, then <3>, I get my recording stored correctly, and with automation <3> the livestream gets correctly turned off, so that I can catch motions with the official Ring App.
What am I doing wrong? Do I need to add any waits in the single automation?

I attempted to create the addon sensor with "platform:rest" in the configuration, after grabbing the [Long_Lived_Access_Token] from the (https://hassio.local:port/profile) page, as described in the README, but I cannot see any sensor after rebooting HA.
Having a sensor would help debugging the single automation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant