pyobs-zwoeaf
This is a pyobs (documentation) module for the ZWO Electronic Auto Focuser (EAF).
Example configuration
This is an example configuration:
class: pyobs_zwoeaf.EAFFocuser
device_number: 0
max_steps: 60000
backlash: 0
direction: true
sound: true
# communication
comm:
jid: test@example.com
password: ***
Available classes
There is one single class for the ZWO EAF.
EAFFocuser
- class EAFFocuser(device_number: int = 0, max_steps: int = 60000, backlash: int = 0, direction: bool = True, sound: bool = True, **kwargs: Any)
Bases:
Module,MotionStatusMixin,IFocuser,ITemperaturesA pyobs module for the ZWO EAF electronic auto focuser.
- Parameters:
name – Name of module. If None, ID from comm object is used.
label – Label for module. If None, name is used.
own_comm – If True, module owns comm and opens/closes it.
additional_config_variables – List of additional variable names available to remote config getter/setter.
- async init(**kwargs: Any) None[source]
Initialize device.
- Raises:
InitError – If device could not be initialized.
- async set_focus(focus: float, **kwargs: Any) None[source]
Move focuser to given position.
- Parameters:
focus – New focus position in mm.
- Raises:
MoveError – If focuser cannot be moved.