Skip to main content

OpenWebNet parser for Python

PyPI - Python Version PyPI - Status PyPI - Version

This is a Python library to connect and parse OpenWebNet messages from Bticino/Legrand gateways.

Currently, it is a WIP, but it is already able to connect to the gateway and manages lighting or automation devices.

PyPI page

What is OpenWebNet?

OpenWebNet is a home automation protocol developed by Bticino (now part of Legrand) to control domotic devices like lights, shutters, heating, etc. It was developed around 2000, and it's still used today in many installations. It does not implement any encryption, so it is not secure to use it over the internet. Also, many devices implement only the old password algorithm, which is easily bruteforceable. So, when using OpenWebNet, be sure to use it only in a trusted network and taking security measures, like vlan separation.

Project structure

  • pyown contains the library code
  • examples contains some examples on how to use the library
  • tests contains the tests for the library

Library structure

  • items contains the code for the various types of devices that can be controlled
  • client used to connect to the gateway, manages the various types of sessions
  • auth implementation of the authentication algorithms
  • protocol manages the sending and receive of the messages and the initial parsing
  • messages defines the various types of messages allowed by the protocol
  • tags defines the tags that compose a message

License

This project is licensed under the GNU GPL v3 license—see the LICENSE file for details.

Acknowledgments

Disclaimer

  • This library is not associated by any means with BTicino or Legrand companies
  • The Open Web Net protocol is maintained and Copyright by BTicino/Legrand. The documentation of the protocol if freely accessible for developers on the Legrand developer website
  • "Open Web Net", "SCS", "MyHOME_Up", "MyHOME", "MyHOME_Play" and "Living Now" are registered trademarks by BTicino/Legrand

Release files for pyown 0.5.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 pyown 0.5.0
File Size Uploaded
pyown-0.5.0.tar.gz 7.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyown 0.5.0
File Interpreter ABI Platform
pyown-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 MB

Release files / pyown-0.5.0.tar.gz

Download URL pyown-0.5.0.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
5beaa4db60ee09599c93f4ef727aa266cfb76741d1f4909bda2cac7e0c354f1b
BLAKE2b-256 checksum
How to use checksums
04a5ca8e475fc652904fda1d8f1114a5796fee99b3b7c7fd8b8678c64700f8c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log

Release files / pyown-0.5.0-py3-none-any.whl

Download URL pyown-0.5.0-py3-none-any.whl
Size 62.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
632d4290be923ab70517261a7988b96185f9302a940c42110850a67059bce2bc
BLAKE2b-256 checksum
How to use checksums
0503cc95f51a4dbfe09568aa1f0c822f282fd7c0a78c058176c036042d47c3aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 29, 2026.

Transparency log
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