Setup Motion PIR

Moderator: leecollings

Post Reply
Feybio
Posts: 7
Joined: Thursday 14 July 2016 11:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Setup Motion PIR

Post 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.
Raspberry Pi 3 and Pi 4 - Pi Camera - DS18B20 - HC-SR501 - FGMS-001 - Telegram Bot
trixwood

Re: Setup Motion PIR

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest