Could anyone let me know the command to get/set the position of ZWO EFWmini? Or the way to know them.
When I put indi_getprop, Therminal replied as
connect: Connection refused

What I would like to do is take images with DSLR/EFW from Bash script like this;

sudo python3 switch3.py #waiting for START by push button through GPIO on RPi3
#set EFW position 1 <—I want this!
sudo gphoto2 --set-config burstnumber=04
sudo gphoto2 --set-config shutterspeed2=006
sudo gphoto2 --capture-image
sudo gphoto2 --set-config shutterspeed2=012
sudo gphoto2 --capture-image
#set EFW positon 2
sudo gphoto2 --set-config burstnumber=04
sudo gphoto2 --set-config shutterspeed2=006
sudo gphoto2 --capture-image
sudo gphoto2 --set-config shutterspeed2=012
sudo gphoto2 --capture-image


gphoto2 commands work well.

I use; Pi3 raspbian, and ZWO EFWmini
INDI Library v1.4.1 based on:
www.indilib.org/download/raspberry-pi.html

Installed udev rule(Linux) based on:
"EFW filter wheel software Manual(Linux & OSX)"
astronomy-imaging-camera.com/manuals/EFW...Linux%20OSX%20EN.pdf

I got some info. from the terminal as shown below.

pi@ras_pi1:~ $ lsusb
Bus 001 Device 006: ID 1c4f:0027 SiGma Micro
Bus 001 Device 005: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 004: ID 03c3:1f01
Bus 001 Device 007: ID 04b0:0414 Nikon Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@ras_pi1:~ $ ls -l /dev/bus/usb/001/004
crw-rw-rw- 1 root users 189, 3 Mar 26 14:24 /dev/bus/usb/001/004

pi@ras_pi1:~ $ more /lib/udev/rules.d/99-efw.rules
# FILTER WHEELS
ACTION=="add", ATTRS{idVendor}=="03c3", ATTRS{idProduct}=="1f01", GROUP="users", MODE="0666"

pi@ras_pi1:~ $ ls -l /dev/hidraw0
crw-rw-rw- 1 root users 247, 0 Mar 26 14:24 /dev/hidraw0

pi@ras_pi1:~ $ dmesg | grep EFW
[ 1.972106] usb 1-1.3: Product: ZWO EFW
[ 1.977293] hid-generic 0003:03C3:1F01.0001: hiddev0,hidraw0: USB HID v1.01 Device [ZW0 ZWO EFW] on usb-3f980000.usb-1.3/input0

pi@ras_pi1:~ $ sudo indiserver -vv indi_asi_wheel
2017-03-27T03:45:45: startup: indiserver -vv indi_asi_wheel
2017-03-27T03:45:45: Driver indi_asi_wheel: pid=1947 rfd=3 wfd=6 efd=7
2017-03-27T03:45:45: listening to port 7624 on fd 4
2017-03-27T03:45:45: Driver indi_asi_wheel: sending <getProperties version='1.7'/>

2017-03-27T03:45:45: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONNECTION'>
2017-03-27T03:45:45: Driver indi_asi_wheel: read <defTextVector device='EFW' name='DRIVER_INFO'>
2017-03-27T03:45:45: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='DEBUG'>
2017-03-27T03:45:45: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='SIMULATION'>
2017-03-27T03:45:45: Driver indi_asi_wheel: read <defSwitchVector device='EFW' name='CONFIG_PROCESS'>
^C

Best regards,
Tatsuji

Read More...