Page 1 of 1
how send a snapshot of camera to telegram ?
Posted: Thursday 09 March 2017 21:06
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
Re: how send a snapshot of camera to telegram ?
Posted: Friday 10 March 2017 11:35
by koowee
Hi
I think that this thread is what you are looking for
http://domoticz.com/forum/viewtopic.php ... oto#p81428
Re: how send a snapshot of camera to telegram ?
Posted: Friday 10 March 2017 11:41
by reza
hi thank you. i will read this
Re: how send a snapshot of camera to telegram ?
Posted: Wednesday 03 November 2021 14:32
by bnlhv
Topic is not available
Re: how send a snapshot of camera to telegram ?
Posted: Wednesday 03 November 2021 14:56
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).
Re: how send a snapshot of camera to telegram ?
Posted: Wednesday 03 November 2021 15:23
by waltervl
Re: how send a snapshot of camera to telegram ?
Posted: Wednesday 03 November 2021 15:28
by jvdz
.. and in case you like to send multiple snapshots in a group:
viewtopic.php?p=277690#p277690
Re: how send a snapshot of camera to telegram ?
Posted: Wednesday 03 November 2021 15:42
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.
Re: how send a snapshot of camera to telegram ?
Posted: Tuesday 27 December 2022 22:00
by Quest24
Did you write a function telegram? There is no keyword telegram in dzVents as far as I know.
Re: how send a snapshot of camera to telegram ?
Posted: Sunday 11 February 2024 12:59
by pj-r