Now i can share how i get to work how i understand.!
Plan is from homeassistant to send a message per:
1.- HTTP → curl command
2.- Service/formular → notify.signal
Note: how share the colleague LEWI,
Important: if you use for signal addon mode json-rpc , the receive DON’t WORK directly by HTTP, work only with websock → NODE-RED example.
Here my details:
i have 2 phone number
phone sender = +4915153858265
phone receive/recipients = +4915566671213
i install´the homeassistant directly in my raspi PI 5,
cat /etc/os-release
NAME=“Alpine Linux”
ID=alpine
VERSION_ID=3.20.0
PRETTY_NAME=“Alpine Linux v3.20”
HOME_URL=“https://alpinelinux.org/”
BUG_REPORT_URL=“Issues · alpine / aports · GitLab”
I install too, 1 addon –
signal messenger HERE AN IMPORTANT POINT, USE please Version : 0.84.0
After install and configure how i showed to you,
you need to add this part in /homeassistant/configuration.yaml
notify:
- name: signal
platform: signal_messenger
url: “http://1315902c-signal-messenger:8080” # the URL where the Signal Messenger REST API is listening
number: “+4915566671213” # the sender number
recipients: # one or more recipients
Don’t forget after to change the config, restart the homeassistant.
Now the point that cost me so many time.
A) you need to register only the phone-sender (+4915566671213)
curl -X POST -H “Content-Type: application/json” --data ‘{“use_voice”: false}’ ‘http://192.168.178.126:8080/v1/register/+4915566671213’
Generate the captcha → Signal
You get as example: signalcaptcha://signal-hcaptcha-short.5fad97ac-7d06-4e44-b18a-b950b20148ff.registration._cXdQx-kUw4T4aHjxf204zlN
curl -X POST -H “Content-Type: application/json” -d ‘{“captcha”:“signal-hcaptcha-short.5fad97ac-7d06-4e44-b18a-b950b20148ff.registration._cXdQx-kUw4T4aHjxf204zlN”, “use_voice”: false}’ ‘http://192.168.178.126:8080/v1/register/+4915566671213’
curl -X POST -H “Content-Type: application/json” --data ‘{“use_voice”: false}’ ‘http://192.168.178.126:8080/v1/register/+4915566671213/verify/554-874’
If you have completed all steps , take care you need ONLY that to do for phone sender.
For phone - receive/recipient. You don’t need to register in homeassistant.
You need to install in this phone - receive/recipient the app signal and register with the QR of you homeassistant →
http://192.168.178.126:8080/v1/qrcodelink?device_name=signal-api
After that i have following in homeassistant:
docker ps
in /configuration.yaml
Now for test:
a) i can do directly by CURL
So see the result
or B) by notify.signal
go to Developer Tools >> SERVICES/ search notifiy.signal
so the result:
I hope the steps help a new person that will install this nice addon