derAlff / ioBroker.signal-cmb

Send messages from ioBroker to your Signal messenger
MIT License
7 stars 2 forks source link

send an Image through Signal Messenger #3

Open Dettenrocks opened 2 years ago

Dettenrocks commented 2 years ago

can you add the function to send a image?

https://api.callmebot.com/signal/send.php?phone=[phone_number]&apikey=[your_apikey]&image=[url_image]

[url_image]: URL of the image to send. The URL has to be urlencoded. You can use this online converter to encode the message. (i.e. %20 for space).

Example: https://api.callmebot.com/signal/send.php?phone=+49123123123&apikey=567890&image=https://www.callmebot.com/wp-content/uploads/pinguin.jpg

derAlff commented 2 years ago

@Dettenrocks Ooooh, that looks cool. I can add it the next weeks

derAlff commented 2 years ago

Hello, I've done some tests... but they aren't positive :( At the moment it looks like to send only images from webpages. You can see it in the API-Documentation... image

I let this issue open (for the future).

If you have any other idea, then let me know about this ;)

zintor commented 2 years ago

Hi! The only way I see at the moment is to upload an image via ftp, check that the file was successfully uploaded and send the command. It is to check, if you can send the image/file from a protected (i.e. with .htaccess) location on the webserver.

derAlff commented 2 years ago

Yes, that's a solution. I'm trying at the last months the libsignal library in a new adapter (iobroker.signal-messenger). I can request a code via SMS or call... but I can not verify with the library :( Can you program ;) ? I need help :)

If I can't get this working, then I try an other way in this adapter B)

zintor commented 2 years ago

Sorry, I am not a coder. But I searched for verificationCode on the project Whisperfish, because I know, that they use libsignal. Maybe this helps?!?

derAlff commented 2 years ago

Ooooh, thank you. I take a look there.