Page 1 of 1

Setup Motion PIR

Posted: Thursday 14 July 2016 12:24
by Feybio
Goodmorning everyone,
I'm new to Domoticz.

I currently use my Pi3 as alarm system, with some DS18B20 sensor and two Motion PIR Sensor.
I was very fascinated by Domoticz and I would like to test it a little bit for my use.
The DS18B20 sensors have been recognized immediately and I see already the temperatures correctly, while for the PIR sensors have no idea how to do, there is a step by step guide? (I searched on the forum and on google ...)
Currently I use them with Python, when motion is detected while i'm away from home i receive a notification on my Telegram Bot and optionally the PiCamera take a picture and send me on Telegram.

How can I do the same thing with Domoticz? I confess that I know just a little Python and nothing Lua...

Thank you all for your time.

Re: Setup Motion PIR

Posted: Thursday 14 July 2016 20:30
by trixwood
you can look at:

https://www.domoticz.com/wiki/GPIO

or if you are doing something like:

http://diyhacking.com/raspberry-pi-gpio-control/

then you probably want to add to your python script something like

viewtopic.php?t=12107#p87168

using

viewtopic.php?t=681
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's