Notification Telegram

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
mcestoni
Posts: 11
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Notification Telegram

Post by mcestoni »

Hello, would it be possible to add a specific section for notifications with Telegram adding the Amazon bucket to send images?
Attachments
DomoticzTelegram.jpg
DomoticzTelegram.jpg (112.33 KiB) Viewed 850 times
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

Re: Notification Telegram

Post by chatainsim »

I've send a pull request to add Telegram Notification (only text for now).
But why would you like to add Amazon bucket ? What's the point ?

And where does your IFTTT entry come from ?
User avatar
mcestoni
Posts: 11
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Notification Telegram

Post by mcestoni »

Today I run the following script when an event occurs

#!/bin/sh
curl http://admin:[email protected]/Streami ... /2/picture > /tmp/foto_timbre.jpg
curl -s -X POST "https://api.telegram.org/bot4296sdfasla ... /sendPhoto" -F chat_id=$1 -F photo="@/tmp/foto_timbre.jpg"

In imageURL I would write : http://admin:[email protected]/Streami ... /2/picture

But the ideal would be to be able to define it in ...


Thank you so so so much
Sorry for my writing, I'm using the google translator
Attachments
Domoticz_Telegram.jpg
Domoticz_Telegram.jpg (84.72 KiB) Viewed 647 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest