panoptes.pocs.utils.cli package¶
Submodules¶
panoptes.pocs.utils.cli.camera module¶
panoptes.pocs.utils.cli.config module¶
- class panoptes.pocs.utils.cli.config.HostInfo(*, host: str = '127.0.0.1', port: int = 6563, verbose: bool = False)[source]¶
Bases:
BaseModel
Metadata for the Config Server
- property url¶
- panoptes.pocs.utils.cli.config.get_value(key: str | None = <typer.models.ArgumentInfo object>, parse: bool = <typer.models.OptionInfo object>)[source]¶
Get an item from the config
- panoptes.pocs.utils.cli.config.restart()[source]¶
Restart the config server process via supervisorctl
panoptes.pocs.utils.cli.main module¶
panoptes.pocs.utils.cli.mount module¶
- panoptes.pocs.utils.cli.mount.park_mount(confirm: bool = False)[source]¶
Parks the mount.
Warning: This will move the mount to the park position but will not do any safety checking. Please make sure the mount is safe to park before running this command.
- panoptes.pocs.utils.cli.mount.search_for_home(confirm: bool = False)[source]¶
Searches for the mount home position.
Warning: This will move the mount to the home position but will not do any safety checking. Please make sure the mount is safe to move before running this command.
panoptes.pocs.utils.cli.network module¶
panoptes.pocs.utils.cli.notebook module¶
- panoptes.pocs.utils.cli.notebook.restart()[source]¶
Restart the jupyter server process via supervisorctl
panoptes.pocs.utils.cli.power module¶
panoptes.pocs.utils.cli.run module¶
panoptes.pocs.utils.cli.sensor module¶
- panoptes.pocs.utils.cli.sensor.monitor(sensor_name: str, endpoint: str | None = <typer.models.OptionInfo object>, store: bool = <typer.models.OptionInfo object>, read_frequency: int = <typer.models.OptionInfo object>, verbose: bool = False)[source]¶
Continuously read remote sensor, optionally storing results.
panoptes.pocs.utils.cli.weather module¶
- panoptes.pocs.utils.cli.weather.config(page='config', base_url='http://localhost:6566')[source]¶
Get the configuration of the weather station.