# noctua.devices package

## Submodules

## noctua.devices.alpaca module

## noctua.devices.astelco module

Interface with an Astelco OpenTSI-based device

class noctua.devices.astelco.Focuser(url)

  Bases: `OpenTSI`

  Implementation of the Focuser commands mocking my Alpaca Telescope wrapper.

  property absolute

    Get Absolute focuser position from telnet

  property is_moving

    TBD with the right telnet commands

  property position

    Get Relative focuser position from telnet

class noctua.devices.astelco.OpenTSI(url)

  Bases: `BaseDevice`

  Base wrapper class for astelco OpenTSI stuff

  get(message)

    Send a telnet message to the cabinet to retrieve a value or a set of values.

  put(key, val)

    Send to telnet a key to set a a value. keys and values can be both lists with the same element number.

class noctua.devices.astelco.Rotator(url)

  Bases: `OpenTSI`

  Implementation of the Rotator commands mocking my Alpaca Telescope wrapper.

  property absolute

    Get Absolute rotator position from telnet

  property is_moving

    TBD with the right telnet commands

  property position

    Get Relative rotator position from telnet

class noctua.devices.astelco.Sensor(url, temp_id, hum_id)

  Bases: `OpenTSI`

  Implementation of a Sensor class.

  property humidity

    Does it have humidity sensors?

  property temperature

    Mirrors temperature

class noctua.devices.astelco.Telescope(url)

  Bases: `OpenTSI`

  Implementation of the Telescope commands mocking my Alpaca Telescope wrapper.

  abort()

    Direct way to stop tracking

  property altaz
  clear(n)
  property clock

    in UNIX time

  property coordinates

    Ask simultaneously RA2000, DEC2000, ALT, AZ, LST, UTC. Answer is given as a dict of decimal numbers. UTC is given as unix time.

  property cover
  property is_moving

    Check the motion state of the telescope

  property offset

    Get Telescope offset

  property open
  property park

    Get if the telescope is in parked position

  property radec

    Get Right Ascension / Declination

  property state
  property status

    need to check exit and error from get function

  property targetradec

    Get target Right Ascension / Declination

  track()

    More direct way to start tracking

  property tracking

    Tracking status

## noctua.devices.basedevice module

Base device. Other devices inherit from this

class noctua.devices.basedevice.BaseDevice(url)

  Bases: `object`

  Base device class for our devices

  get(message)

    Implement a getter method to obtain info from your device.

  put(message)

    Implement a setter method to send info to your device.

  property test_attribute

    res = self.get(“”) self._test_attribute = res return self._test_attribute

  test_method()

## noctua.devices.domotics module

## noctua.devices.ipcam module

## noctua.devices.meteo module

## noctua.devices.siemens module

## noctua.devices.stx module

## noctua.devices.stx2 module

## Module contents