pycomap
Async Python client for ComAp controllers (InteliLite AMF25 and likely compatible siblings): LAN discovery and the native ECDH/AES-encrypted control protocol on port 23.
Quick start
from ipaddress import IPv4Address
from pycomap import Controller, EthernetTransport
from pycomap.protocol import ComApClient
async with Controller(
ComApClient(EthernetTransport(IPv4Address("192.168.1.9"))),
access_code="0",
password=1234,
) as ctrl:
values = await ctrl.read_values()
await ctrl.set_setpoint("Nominal RPM", 1500)
API Reference
| Page | Contents |
|---|---|
| Controller | High-level Controller — the main entry point |
| Low-level Client | ComApClient, EthernetTransport |
| Configuration | ValueDescription, SetpointDescription, table parsing |
| Data Types | DataType enum, wire encode/decode |
| Discovery | UDP discover(), DiscoveryDevice |
| Alarms | AlarmRecord, alarm list parsing |
| History | HistoryRecord, history record parsing |
| Exceptions | Exception hierarchy |