Custom webhooks - Sleep as Android

Allows you to POST events from Sleep as Android to a custom URL endpoint. Settings → Services → Webhooks

Option doesn’t appear

1 Like

Also cannot find it. I want to connect it to the lights connected with google assistant.

You need the beta

Hello, many thanks for your interest…

Please first join our BETA Testers group at:
https://groups.google.com/forum/#!forum/sleep-as-an-droid
That you can opt-into the BETA at the following address:
https://play.google.com/apps/testing/com.urbandroid.sleep
or simply by visiting our Play Store listing and tapping “Join BETA”

To discuss BETA channel related issues please use our forum at: https://forum.urbandroid.org/c/beta

Please let us know how you like the feature…

Hello team,

Thank for setting up automations. I am using it to control my lights and is working fine with IFTTT. But I am unable to use it with custom webhook. I have basic authentication setup on the endpoint but every request goes unauthorized.

I have added the URL in the form https://myuser:mypass@domain.com/sleep but my server always give me 401.

Could someone please clarify? I cannot make sense of the link between Sleep as Android, Webhooks and Home Assistant.
Which URL ( https://myuser:mypass@domain.com/sleep) do I use in SaA?

Sorry if this seems naive, I could not find an answer on the web

Is it possible to send a GET event ?