How to: Motion sensors from iSpy camera's

Post Reply
User avatar
bbqkees
Posts: 417
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

How to: Motion sensors from iSpy camera's

Post by bbqkees » Friday 20 January 2017 10:21

I am using (the free) iSpy software for my IP camera's.

In the software there is a function that can send a HTTP request when f.i. motion is detected.
You can use this in Domoticz to trigger a virtual sensor.

Step 1:
Create a virtual switch in Domoticz and set it to the Motion Sensor type.
Write down the device ID.

Step 2:
Go to iSpy and select the camera you want to use as a motion detector.
Go to Settings and then the tab Alerts.

Now you need to create 2 rules with the type 'Call URL'.
One rule for 'Alert' and one rule for 'Alert Stopped'.

Say the device ID of your virtual sensor is '228' and the IP address of your Domoticz is 192.168.1.100 with port 8080.

Rule for 'Alert':

Code: Select all

http://192.168.0.100:8080/json.htm?type=command&param=switchlight&idx=228&switchcmd=On
make sure you enable the rule by clicking on the checkmark!
Uncheck 'Send image'.


Image

Rule for 'Alert Stopped':

Code: Select all

http://192.168.0.100:8080/json.htm?type=command&param=switchlight&idx=228&switchcmd=Off
Image

What you get is this:

Image

It works pretty well.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

PSYCHOTIC
Posts: 40
Joined: Saturday 21 February 2015 17:32
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by PSYCHOTIC » Saturday 11 February 2017 14:00

Cool feature!

Does anyone know a free android equivalent to ispy? (Stand alone android motion app send json)
I want to use this to monitor a blinking led for my energy consumption.

Great thx.

Marzel
Posts: 2
Joined: Tuesday 21 March 2017 0:04
Target OS: Windows
Domoticz version:
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by Marzel » Tuesday 21 March 2017 0:18

Tried this, but it doesn't work.
Maybe you can help me out.

Domoticz has IP 127.0.0.1:8080

When I do the command for 127.0.... it just gives error.

Using Domoticz V3.7017 on Windows 10.

User avatar
bbqkees
Posts: 417
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by bbqkees » Tuesday 21 March 2017 13:15

Is Domoticz running on the same machine as iSpy?
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

adam0908
Posts: 1
Joined: Sunday 26 March 2017 20:14
Target OS: Windows
Domoticz version:
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by adam0908 » Sunday 26 March 2017 20:17

Tnx for this information...some new thing learn...

Marzel
Posts: 2
Joined: Tuesday 21 March 2017 0:04
Target OS: Windows
Domoticz version:
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by Marzel » Saturday 29 April 2017 18:48

bbqkees wrote:Is Domoticz running on the same machine as iSpy?
Hi,
I´m sorry I didn´t return here and didn´t answer your question.
I got it running in the meantime.
Thanx for your instructions.

marktn
Posts: 36
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: How to: Motion sensors from iSpy camera's

Post by marktn » Friday 19 May 2017 21:23

Top instructions! It works.

Verstuurd vanaf mijn HUAWEI GRA-L09 met Tapatalk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest