I'm not sure if this is an INDI problem or PHD2 problem but I'm guessing it is INDI or more likely something I'm doing or not doing in regards to INDI
Hoping someone can point me in the right direction.
I have INDI installed on a Raspberry Pi 2 running Ubuntu Mate 15.10. IP Address 192.168.0.15
Raspberry Pi is powered from a powered USB hub
A DBK21AU04 camera is connected to the powered USB hub
RPi: Indi library 1.2.0 Protocol 1.7
I also have INDI and PHD2 installed on my 64bit desktop running Ubuntu 15.10
Desktop: Indi library 1.2.0 Protocol 1.7
I am chaining to the camera on the RPi from indiserver on the desktop.
Running PHD2 on the RPi I can connect successfully to the camera.
But if I try to connect to the camera from PHD2 running on the desktop it cannot connect.
In fact, available camera is not displayed in PHD2 setup
I thought indiserver on the desktop would provide same info to PHD2 as if the camera were connected locally and would show up in the Driver dropdown list.
If there is an easy way to test the chained connection I'm keen to know. I tried using EKOS but it always set up its own indiserver.
Details are as follows:
On the RPi I start indiserver with:
indiserver -vv indi_v4l2_ccd &
Then on desktop I start indiserver with:
indiserver -vv indi_v4l2_ccd@192.168.0.15 &
I run PHD2 on the desktop. I click the Connect button and select as Camera "Indi Camera"
I then click the Camera Setup button:
- Indiserver is shown as connected
- Driver has no drop down options. So I type in V4L2 CCD (this is the option that appears on the RPi)
- CCD says Main Imager
I then click OK
1. Why are you chaining? Chaining is only necessary if you have multiple devices spread across multiple PCs.
2. You need to specify the device name, not it executable:
indiserver -v "V4L2 CCD"@192.168.0.15
3. Ekos already has a guide module. To use Ekos, set it to "remote" and select the V4L2 driver from the dropdown list. In the setup page, click "Options" and go to the Ekos tab, and set the IP address of the RPI and its port (7624)
Chaining should well to reduce network load. I have an allsky camera currently on the far side of a wireless bridge, and often run with multiple clients processing the data. If they all connect to the remote indi server, then 3 copies of the fits have to cross the bridge. If I chain from a local indi server, then one copy of an image crosses the bridge, and the local server feeds it out to the three local clients. At least that's my understanding of what should happen.
I've been looking at Kstars/Ekos and I'm very impressed!
What I was trying to do is emulate what Ekos does for guiding and run PHD2 on one machine with the camera on the RPi. Mainly as I'm familiar with PHD2. I can run PHD2 on the RPi but it seems sluggish so I wanted to see if it was better to offload it to another machine. Plus it's an opportunity to come to grips with chaining e..g. if I want to have the imaging cam on a separate RPi.
I'll use the startup line you've given me and see how it goes - thanks for the tip!