Skip to main content

Python wrapper for OpenWebNet protocol

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyown-0.5.0.tar.gz (7.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyown-0.5.0-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file pyown-0.5.0.tar.gz.

File metadata

  • Download URL: pyown-0.5.0.tar.gz
  • Upload date:
  • Size: 7.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyown-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5beaa4db60ee09599c93f4ef727aa266cfb76741d1f4909bda2cac7e0c354f1b
MD5 68c8bd5729cd33b798b16540b02d87fa
BLAKE2b-256 04a5ca8e475fc652904fda1d8f1114a5796fee99b3b7c7fd8b8678c64700f8c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyown-0.5.0.tar.gz:

Publisher: publish.yml on jotonedev/pyown

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyown-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pyown-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyown-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 632d4290be923ab70517261a7988b96185f9302a940c42110850a67059bce2bc
MD5 d4de84b72326b9a2c08cfb4a6d7fc7de
BLAKE2b-256 0503cc95f51a4dbfe09568aa1f0c822f282fd7c0a78c058176c036042d47c3aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyown-0.5.0-py3-none-any.whl:

Publisher: publish.yml on jotonedev/pyown

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page