Skip to main content

verisure-italy

Async Python client for the Verisure Italy alarm API.

Talks directly to customers.verisure.it/owa-api/graphql. Typed, async, Pydantic models for all request/response types. No Any, no dict soup. Pyright strict, zero errors.

Not affiliated with Verisure Group or Securitas Direct.

Installation

pip install verisure-italy

Usage

import aiohttp
from verisure_italy import VerisureClient, generate_device_id, generate_uuid

async with aiohttp.ClientSession() as session:
    client = VerisureClient(
        username="your@email.com",
        password="your-password",
        http_session=session,
        device_id=generate_device_id(),
        uuid=generate_uuid(),
        id_device_indigitall="",
    )

    # Login (may raise TwoFactorRequiredError)
    await client.login()

    # List installations
    installations = await client.list_installations()
    inst = installations[0]
    await client.get_services(inst)

    # Get alarm status (passive — no panel ping, no timeline entry)
    status = await client.get_general_status(inst)
    print(f"Alarm: {status.status}")  # D, B, A, E, P, T

    # Arm / disarm
    from verisure_italy import AlarmState, InteriorMode, PerimeterMode

    target = AlarmState(interior=InteriorMode.PARTIAL, perimeter=PerimeterMode.ON)
    result = await client.arm(inst, target)

    # Force-arm (bypassing open zones — admin users only)
    from verisure_italy.exceptions import ArmingExceptionError

    try:
        await client.arm(inst, target)
    except ArmingExceptionError as exc:
        print(f"Open zones: {[e.alias for e in exc.exceptions]}")
        await client.arm(
            inst, target,
            force_arming_remote_id=exc.reference_id,
            suid=exc.suid,
        )

    await client.disarm(inst)
    await client.logout()

Alarm States

State Interior Perimeter Proto
Disarmed OFF OFF D
Partial + Perimeter PARTIAL ON B
Total + Perimeter TOTAL ON A
Perimeter only OFF ON E
Partial PARTIAL OFF P
Total TOTAL OFF T

Home Assistant

Looking for the Home Assistant integration? See ha-verisure-italy on GitHub, or install via HACS.

License

MIT. See LICENSE.

Metadata

Release files for verisure-italy 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verisure-italy 0.13.0
File Size Uploaded Provenance Actions
verisure_italy-0.13.0.tar.gz 94.0 kB Without provenance Details for verisure_italy-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for verisure-italy 0.13.0
File Interpreter ABI Platform Actions
verisure_italy-0.13.0-py3-none-any.whl Python 3 none any Details for verisure_italy-0.13.0-py3-none-any.whl

Total release size: 138.5 kB

Release files / verisure_italy-0.13.0.tar.gz

Download URL verisure_italy-0.13.0.tar.gz
Size 94.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e9108897c4ece3d6e3c4f5dde0eb09126577e977ab91a4de86da3b1b22e5ad18
BLAKE2b-256 checksum
How to use checksums
59fce56d6c87e93b5460415386556012ecbe581cbbcec16fe6665d3aacd88ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / verisure_italy-0.13.0-py3-none-any.whl

Download URL verisure_italy-0.13.0-py3-none-any.whl
Size 44.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed64aceb4df9ef2af625add7d0975b974232d3f19361bba0b0c1154a30d43b85
BLAKE2b-256 checksum
How to use checksums
186d56f99ab0b991018da16b1d27086556e7c14c5cbf5c7ea35a8fb4793a616a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for verisure-italy 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page