From e381abd921e584c7c77353695f4f246d735feea2 Mon Sep 17 00:00:00 2001 From: Jakob Reiter Date: Tue, 22 Jul 2025 23:16:47 +0200 Subject: [PATCH] Update captcha instructions in HOMEASSISTANT.md I had trouble with the current instructions to find the correct link in dev tools. After seeing the instructions is https://github.com/bbernhard/signal-cli-rest-api/issues/706 I could easily get it to work. Updating the instructions here per issue above, as this seems much more accessible / easy than trying to find this in dev tools. cc @wassong since you shared those in https://github.com/bbernhard/signal-cli-rest-api/issues/706 (thank you!) --- doc/HOMEASSISTANT.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/HOMEASSISTANT.md b/doc/HOMEASSISTANT.md index 64f7502..c5ca7da 100644 --- a/doc/HOMEASSISTANT.md +++ b/doc/HOMEASSISTANT.md @@ -132,13 +132,12 @@ curl -X POST -H "Content-Type: application/json" --data '{"pin": "your registrat ### Trouble shooting: A captcha is required If, in step 1 above, you receive a response like `{"error":"Captcha required for verification (null)\n"}` then Signal is requiring a captcha. To register the number you must do the following (in Mozilla Firefox): 1. Go to [https://signalcaptchas.org/registration/generate.html](https://signalcaptchas.org/registration/generate.html) -2. Open the developer console -3. Answer the captcha -3. On the developer console, find the line that looks like this: `Prevented navigation to “signalcaptcha://{captcha value}” due to an unknown protocol.` Copy the captcha value -4. Use it to make the registration call like this: +2. Solve the captcha +3. Once successful, a "Open Signal" button will appear below the solved captcha, right click it and select "Copy Link" or "Copy link address". +4. Paste what you just copied as `` in the example below. (The content will be a very long string starting with something like `signalcaptcha://signal-hcaptcha...`) ```sh -curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/' +curl -X POST -H "Content-Type: application/json" -d '{"captcha":"", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/' ``` ## Sending messages to Signal Messenger groups