Problem setting up a remote (slave) Pi camera

Moderator: leecollings

Post Reply
Johng
Posts: 1
Joined: Thursday 29 January 2015 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Problem setting up a remote (slave) Pi camera

Post by Johng »

I have Domoticz running on a Raspberry Pi (master). It has to be sited exactly where it is so that the Rfxtrx can ‘see’ temperature sensors at the far end of the garden and also control light switches within the house.
I set up a second Pi (slave) with Domoticz and a Pi camera plus a dummy switch to operate the camera. Accessing the slave, the camera works perfectly both through the dummy switch and also using the snapshot on the setup page.

I then tried to access the camera from the master. I tried:-

With the camera set up on the master pointing to the slave. (tried both port 8080 and 6144)
Without and without a remote share (the remote share works in that the master can see motherboard sensors on the slave)
With and without the camera set up on the slave (when set up, with same port, username, password as on the master)

And all combinations of the above but without success. I get, at best a blank screen on the master and the LED on the camera attached to the slave doesn’t light up.

Using the snapshot icon on the master and Firefox on a Windows laptop I get offered a jpeg but it is corrupt. On opening it in a text editor, it contains

><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html>

On an ipad safari I get a blank white screen with a small grey bordered white box top dead centre,

I am using Firefox on laptop and Safari on ipad. I haven’t tried IE (I don't like IE).

Where am I going wrong?

Many thanks John G

PS Nothing shows in the log when I try for a capture on the master. Should it?
MacJL
Posts: 51
Joined: Tuesday 22 April 2014 22:17
Target OS: OS X
Domoticz version: Beta
Location: France
Contact:

Re: Problem setting up a remote (slave) Pi camera

Post by MacJL »

Same issue here. I didn't manage to make this configuration works.
MacJL
Posts: 51
Joined: Tuesday 22 April 2014 22:17
Target OS: OS X
Domoticz version: Beta
Location: France
Contact:

Re: Problem setting up a remote (slave) Pi camera

Post by MacJL »

I was finaly able to do it. In the camera parameters, I set this in URL field :
camsnapshot.jpg?idx=1

Replace it with the correct IDX of your slave camera, and it may work.
DaniBogo
Posts: 1
Joined: Tuesday 08 December 2015 12:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem setting up a remote (slave) Pi camera

Post by DaniBogo »

Thanks, camsnapshot.jpg?idx=1 work to me both in a RPi master and a slave! If this is the way the wiki must be updated.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest