[GUIDE] Use Signal Messenger as a notification service

  • This guide was inspired by the [GUIDE] Use Telegram as notification service by subzero79. I used Telegram for a long time. But due to a more privacy and data protection approach of Signal, I switched to Signal Messenger.

    What you need

    • A free phone number
    • curl
    • Remote ssh access with sudo access
    • Docker

    Signal does not offer a bot service, so we need to have an extra number to act as the bot. There are a couple of service providers which offers free phone numbers. Should be easy to obtain an extra number.

    Once you have the extra number, connect to your OMV instance via ssh and then install docker:

    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io

    bbernhard created a signal-cli wrapper which offers a rest-api: https://github.com/bbernhard/signal-cli-rest-api. This will be used to send the notifications over Signal.

    To start the port using this command

    docker run \
    --name "/signal-cli-rest-api" \
    --volume "<config_path>:/home/.local/share/signal-cli" \
    --restart "unless-stopped" \
    --port "8080:8080" \

    To register the number, follow the official guide: https://github.com/bbernhard/s…ob/master/doc/EXAMPLES.md

    Once this is done, we can create our script

    nano /usr/share/openmediavault/notification/sink.d/10signal

    Then paste this content into the file:

    Save the file

    Then the script needs to be made executable:

    chmod 700 /usr/share/openmediavault/notification/sink.d/10signal

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!