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

Metadata

Release files for pyown 0.6.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.6.0
File Size Uploaded Provenance Actions
pyown-0.6.0.tar.gz 7.7 MB With provenance Details for pyown-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.7 MB

Release files / pyown-0.6.0.tar.gz

Download URL pyown-0.6.0.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
65da73d93ef56a0d287c8a293064a3bae4360659916d67adc9bac99915c0b121
BLAKE2b-256 checksum
How to use checksums
1298efe2f530dc180c9b30c4384b2c4cad87c932f973ed55bc5c1bb0d9cf44da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

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

Download URL pyown-0.6.0-py3-none-any.whl
Size 62.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc7bd40b171f82aaa8d41fc67b29581d209512e3a13c2c3476a09d00945d3355
BLAKE2b-256 checksum
How to use checksums
6f723740fcd1bc12ea828cf48b572069572e1e195bf59dd52aebd08213c180ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Security for pyown 0.6.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyown-0.6.0.tar.gz

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 Oct 26, 2026.

Transparency log

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.

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