You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an idea for a new feature but an idea to improve the documentation:
I run Homeassistant as a VirtualBox VM on a x86 system with Ubuntu 22.04LTS (headless). For registering my phone number using signal-cli-rest-api I also installed SSH access to the VM as described here. When trying to register the phone number using a captcha I had the problem, that the max. command line length was to short (probably max 1024); already the captcha code is longer than that. So, I stored the captcha code with two steps into an environment variable like this: CAPTCHA=<CAPTCHA part1> CAPTCHA="$CAPTCHA"<CAPTCHA part2>
Then I made the registration with a short command line like this: curl -X POST -H "Content-Type: application/json" -d '{"pin":"1234", "captcha":"'"$CAPTCHA"'"}' 'http://127.0.0.1:8080/v1/register/<number>'
Maybe you can add this to the documentation as a further trouble shooting guide in case other people encounter the same issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is not an idea for a new feature but an idea to improve the documentation:
I run Homeassistant as a VirtualBox VM on a x86 system with Ubuntu 22.04LTS (headless). For registering my phone number using signal-cli-rest-api I also installed SSH access to the VM as described here. When trying to register the phone number using a captcha I had the problem, that the max. command line length was to short (probably max 1024); already the captcha code is longer than that. So, I stored the captcha code with two steps into an environment variable like this:
CAPTCHA=<CAPTCHA part1>
CAPTCHA="$CAPTCHA"<CAPTCHA part2>
Then I made the registration with a short command line like this:
curl -X POST -H "Content-Type: application/json" -d '{"pin":"1234", "captcha":"'"$CAPTCHA"'"}' 'http://127.0.0.1:8080/v1/register/<number>'
Maybe you can add this to the documentation as a further trouble shooting guide in case other people encounter the same issue.
Beta Was this translation helpful? Give feedback.
All reactions