how send a snapshot of camera to telegram ? Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

how send a snapshot of camera to telegram ?

Post by reza »

hi guys.
can i send a snapshot of my ip camera to telegram ? for example when motion sensor is on send a snap shot as notification
i have a active bot in telegram. and i use this for send notifications and alarm of sensors. but now i want use for send snap shots of camera.
thank you
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: how send a snapshot of camera to telegram ?

Post by koowee »

Hi

I think that this thread is what you are looking for
http://domoticz.com/forum/viewtopic.php ... oto#p81428
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: how send a snapshot of camera to telegram ?

Post by reza »

koowee wrote:Hi

I think that this thread is what you are looking for
http://domoticz.com/forum/viewtopic.php ... oto#p81428
hi thank you. i will read this
bnlhv
Posts: 2
Joined: Friday 19 April 2019 10:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: how send a snapshot of camera to telegram ?

Post by bnlhv »

Topic is not available
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: how send a snapshot of camera to telegram ?

Post by thomasbaetge »

I had the exact same challenge, but could not find a solution from within Domoticz.
I solved it with Node-Red (really simple there).
User avatar
waltervl
Posts: 5155
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: how send a snapshot of camera to telegram ?

Post by waltervl »

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: how send a snapshot of camera to telegram ?

Post by jvdz »

.. and in case you like to send multiple snapshots in a group: viewtopic.php?p=277690#p277690
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: how send a snapshot of camera to telegram ?

Post by EddyG »

I use dzVents and the chatbot version. This the code.

Code: Select all

            dz.snapshot("Webcam Buiten;Voordeurbel","Er staat een bezoeker aan de voordeur!")
            local chatid = telegram.getId('XXXX')
            result = telegram.sendText(chatid, 'Voordeur bel is ringing!')
            result = telegram.sendImage(chatid, 5)
            result = telegram.sendImage(chatid, 2)
Of which the numbers 5 en 2 resp. are the 2 mentioned camera's.
Quest24
Posts: 7
Joined: Tuesday 17 November 2020 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024-2
Contact:

Re: how send a snapshot of camera to telegram ?

Post by Quest24 »

Did you write a function telegram? There is no keyword telegram in dzVents as far as I know.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: how send a snapshot of camera to telegram ?

Post by pj-r »

LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest