Hi!
Added this to wiki:
Android Phone (Tested with Sony Xperia V) using this app: https://play.google.com/store/apps/deta ... pas.webcam (Change default port!) image URL: shot.jpg
The android app Ip Camera works great to connect to domoticz.
I have it running now for 48h with domoticz and motion connected to it. Works great.
Default port is 8080 so change that if you run Domoticz at default port.
Android Ip Cam and Domoticz
Moderator: leecollings
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Android Ip Cam and Domoticz
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Android Ip Cam and Domoticz
So you are using a phone as ip cam? I have an old android phone but I never thought of that before !
Where do you put the camera?
Where do you put the camera?
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Re: Android Ip Cam and Domoticz
Hi!
I have put the camera inside a cabinet with a glas door.
From the back-wall in the cabinet i have the USB charger running through and then to a timer.
Works great except night-vision... pretty black
but thats fine. I have two cams outside with nightvision.
The feed from the android-phone is monitored by motion running on a raspberry.
It post to a ftp server running on the same raspberry and updates a switch in Domoticz on motion.
Domoticz (running on a second raspberry) activated and deactivates motion depending on my security status (using SSH).
I have put the camera inside a cabinet with a glas door.
From the back-wall in the cabinet i have the USB charger running through and then to a timer.
Works great except night-vision... pretty black

The feed from the android-phone is monitored by motion running on a raspberry.
It post to a ftp server running on the same raspberry and updates a switch in Domoticz on motion.
Domoticz (running on a second raspberry) activated and deactivates motion depending on my security status (using SSH).
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Android Ip Cam and Domoticz
good ide 
older mobile phones are way cheaper than IP-Cams

older mobile phones are way cheaper than IP-Cams

-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Android Ip Cam and Domoticz
Don't work for me.
I see the video in 0,2 sec and than it is just nothing.
What are the correct config?

EDIT: Working
I see the video in 0,2 sec and than it is just nothing.
What are the correct config?

EDIT: Working
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Re: Android Ip Cam and Domoticz
Hi!
The images only shows for 1 second when you press test connection... but it works if you add it and use the camera menu.
I have also not the /shot.jpg but i use shot.jpg
The images only shows for 1 second when you press test connection... but it works if you add it and use the camera menu.
I have also not the /shot.jpg but i use shot.jpg
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
-
- Posts: 10
- Joined: Monday 09 November 2015 19:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Android Ip Cam and Domoticz
Hi thank you for this topic.
It is ok with xperia z1 compact and samsung galaxy S3
Enjoyed
It is ok with xperia z1 compact and samsung galaxy S3
Enjoyed
Re: Android Ip Cam and Domoticz
I'm planning to use this setup also for my wall mounted android tablet running dashticz. It gives me an IP cam for free!
Questions from beginner:
1) burgler alarm: how to trigger a domoticz dummy switch after IP Webcam detects motion or sound?
At the moment I'm struggling with fake PIR detections on our cat. An extra sensor could be helpfull
2) how to initiate a screenshot (by domoticz) to IP webcam? For example, automaticly mail an image after a PIR is triggered? Is this standard Domoticz functionality?
Questions from beginner:
1) burgler alarm: how to trigger a domoticz dummy switch after IP Webcam detects motion or sound?
At the moment I'm struggling with fake PIR detections on our cat. An extra sensor could be helpfull
2) how to initiate a screenshot (by domoticz) to IP webcam? For example, automaticly mail an image after a PIR is triggered? Is this standard Domoticz functionality?
-
- Posts: 272
- Joined: Sunday 11 May 2014 11:09
- Target OS: Windows
- Domoticz version: 2023.1+
- Location: NL
- Contact:
Re: Android Ip Cam and Domoticz
1. someone has made a script to do motion detection, it is linux based and i can't use it so : no answerrenerene wrote: ↑Saturday 20 July 2019 10:30 I'm planning to use this setup also for my wall mounted android tablet running dashticz. It gives me an IP cam for free!
Questions from beginner:
1) burgler alarm: how to trigger a domoticz dummy switch after IP Webcam detects motion or sound?
At the moment I'm struggling with fake PIR detections on our cat. An extra sensor could be helpfull
2) how to initiate a screenshot (by domoticz) to IP webcam? For example, automaticly mail an image after a PIR is triggered? Is this standard Domoticz functionality?
2. once setup a cam you can grap an image from domotics on any trigger with
"https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?'idx=1"
This can be done by curl or any other webrequest.
Once you have grabbed the image you can send it by email, telegram or anything you have implemented.
It works fine for me, totaly customised for my needs (implemented in telegram)
I have choosen to get only images on my demand and not by default on every movement detection.
sidenote :
- on RPI doing many write commands can corrupt SD cards , so use another storage location.
- Plain curl done in lua can dramatic slow down domoticz
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Who is online
Users browsing this forum: No registered users and 1 guest