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.
Post Reply
User avatar
mcestoni
Posts: 6
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi
Domoticz version:
Contact:

Notification Telegram

Post by mcestoni » Tuesday 08 August 2017 16:33

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 401 times

chatainsim
Posts: 83
Joined: Wednesday 25 March 2015 11:46
Target OS: Linux
Domoticz version: v3.8153
Location: France
Contact:

Re: Notification Telegram

Post by chatainsim » Monday 02 October 2017 16:53

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: 6
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Notification Telegram

Post by mcestoni » Friday 06 October 2017 1:06

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 198 times

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests