venta_protocol_v2_device
Small Python library to control Venta Air Humidifiers and Washers that use Protocol Version 2 (i.e., the ones using the /datastructure endpoint).
This package intentionally mirrors the public API style of
venta_protocol_v3_device
so migration/addaptation effort is kept at a minimum.
Example usage (local; without pip install)
import sys
sys.path.insert(0, "../") # relative to notebook dir
import venta_protocol_v2_device
Example usage (using pip install)
!pip install venta_protocol_v2_device
from venta_protocol_v2_device import Venta_Protocol_v2_Device
d = Venta_Protocol_v2_Device("192.168.178.87")
print(d.getStatus())
print(d.toJSON())
Notebook examples
For longer, guided examples in Jupyter notebooks, see usage/basic_device_control.ipynb:
- Basic single-device control workflow.
Supported control methods
setPower(bool)setSleepMode(bool)setAutomatic(bool)setFanSpeed(int)setTargetHum(int)setLEDStripActive(bool)setLEDStripMode(int)setLEDStripColor(str)setPowerMode(str)runUpdate(str)
Discovery
Based on analyzing sniffed UDP packets, it looks like discovery as found in protocol version 3.0 is not supported for protocol version 2.0 devices. Hence it is not included in this package. Instead use the device IP address directly:
from venta_protocol_v2_device import Venta_Protocol_v2_Device
d = Venta_Protocol_v2_Device("192.168.178.87")
If you need stable addressing, configure a DHCP reservation for the Venta device in your router or access point.
Corrections and/or Additions
Please feel free to raise issues or create pull request for corrections and/or additions.
Metadata
Release files for venta-protocol-v2-device 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| venta_protocol_v2_device-0.1.2.tar.gz | 4.8 kB | With provenance | Details for venta_protocol_v2_device-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| venta_protocol_v2_device-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for venta_protocol_v2_device-0.1.2-py3-none-any.whl |
Total release size: 9.9 kB
Release files / venta_protocol_v2_device-0.1.2.tar.gz
| Download URL | venta_protocol_v2_device-0.1.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e468e004f6d442938d854062740672f58c81132faba3dde7c28c2ea6f3dd04a2
|
|
BLAKE2b-256 checksum How to use checksums |
bcb7ed7d108258bcbbfc59b4d854c5fca32ed5c0461bee40fd139b54a991f774
|
| 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 12, 2026.
Transparency logRelease files / venta_protocol_v2_device-0.1.2-py3-none-any.whl
| Download URL | venta_protocol_v2_device-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d94a25de0e618a05cd0569b0cb0f8d23fa5ff2f401d7dc687cccc1143fade9ee
|
|
BLAKE2b-256 checksum How to use checksums |
67e7511cb81f62e90c0490d2f2d3cb1c30daae64945f95325dd6c0838f15da30
|
| 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 12, 2026.
Transparency logSecurity for venta-protocol-v2-device 0.1.2
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.
Attestation for venta_protocol_v2_device-0.1.2.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 May 12, 2026.
Transparency logA 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.