BROTlib module for pyobs
This is a pyobs module for telescopes, domes and roll-off roofs controlled via BROTlib over MQTT.
Install pyobs-brot
Clone the repository:
git clone https://github.com/pyobs/pyobs-brot.git
cd pyobs-brot
Install it with uv:
uv sync
Alternatively, with plain venv/pip:
python3 -m venv .venv
source .venv/bin/activate
pip install .
Configuration
BrotRaDecTelescope (or its base class BrotBaseTelescope), BrotDome and BrotRoof all connect to the same MQTT broker used by BROTlib:
host:
Hostname of the MQTT broker.
name:
Name of the BROT device.
port:
MQTT port (default: 1883).
A basic telescope configuration would look like this:
class: pyobs_brot.BrotRaDecTelescope
name: My telescope
host: 1.2.3.4
roof: roof
dome: dome
# communication
comm:
jid: test@example.com
password: ***
BrotDome and BrotRoof follow the same pattern, just with class: pyobs_brot.BrotDome respectively
class: pyobs_brot.BrotRoof.
Dependencies
- pyobs-core for the core functionality.
- pybrotlib for communicating with BROT devices.
- paho-mqtt as the MQTT client used by BROTlib.
- Astropy for FITS file handling.
Calibration status
The telescope driver treats READY_STATE 0.7 (initializing) and 0.8 (calibrating,
including automatic startup positioning) as initializing/not ready. init()
continues waiting for 1.0. PLC firmware must reserve 1.0 for completed startup. pybrotlib adds a named
CALIBRATING status; the driver also recognizes raw 0.8 with older pybrotlib
versions during staged upgrades. Upgrade Python consumers before enabling the
new PLC state.
Metadata
Release files for pyobs-brot 2.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyobs_brot-2.4.2.tar.gz | 197.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyobs_brot-2.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 210.5 kB
Release files / pyobs_brot-2.4.2.tar.gz
| Download URL | pyobs_brot-2.4.2.tar.gz |
|---|---|
| Size | 197.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e4ac6b17b72b2a6dfd37b33047de9d3ebc5f3b05b0c5630227624b67854c1a3
|
|
BLAKE2b-256 checksum How to use checksums |
e9b343c765a50694fecafc4edb1887a7635d06371e1ee049ba1735415f087944
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyobs_brot-2.4.2-py3-none-any.whl
| Download URL | pyobs_brot-2.4.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a5a86c644877897d08e95de916f04011c92ea6abc3b0718309eae00cee318e8
|
|
BLAKE2b-256 checksum How to use checksums |
0b2e73073a73c12b4c58ab312b40ee2e3a0c4ab51e5944e1c7371938cefb2dd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|