The uecho-py is a portable and cross platform development framework for creating controller applications and devices of ECHONET Lite for Python developers. ECHONET is an open standard specification for IoT devices in Japan, it specifies more than 100 IoT devices such as crime prevention sensor, air conditioner and refrigerator.
Installation
You can install uecho-py using pip as the following:
$ pip install uecho
Examples
uechosearch
The uechosearch is a sample controller to search all ECHONET Lite nodes in the same local area network as the following usage.
-h, --help show this help message and exit
-v, --verbose output all mandatory read properties of found nodes
-d, --debug output raw debug messages
The uechosearch searches all ECHONET Lite device and profile objects in the local area network, and prints all found objects with the IP address as the following:
$ uechosearch
192.168.aaa.bbb [0] 05FF01
192.168.aaa.cc [0] 0F2001 [1] 029101
uechopost
The uechopost is a sample controller to post a message to a ECHONET Lite node in the same local network as the following usage.
Usage : uechopost <address> <obj> <esv> <property (code, data) ...>
The uechopost can send any request message of ECHONET Lite to an object in the specified node, and print the response message. The following example controls the power status of a ECHONET Lite standard light device.
$ uechopost 192.168.aaa.bbb 029101 62 8A --> READ REQ (62) : Manufacture Code (0x8A)
192.168.aaaa.bbb 0EF001 72 8A 00000B --> READ RES (72) : Panasonic (0x00000B)
$ uechopost 192.168.aaa.bbb 029101 62 80 --> READ REQ (62) : Operation status (0x80)
192.168.aaa.bbb 029101 72 80 31 --> READ RES (72) : OFF (0x31)
$ uechopost 192.168.aaa.bbb 029101 61 80 30 --> WRITE REQ (61) : Operation status (0x80) ON (0x30)
192.168.aaa.bbb 029101 71 80 --> WRITE RES (71) : (No Data)
$ uechopost 192.168.aaa.bbb 029101 62 80 --> READ REQ (62) : Operation status (0x80)
192.168.aaa.bbb 029101 72 80 30 --> READ RES (72) : ON (0x30)
References
Metadata
Release files for uecho 0.8.5
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 | |
|---|---|---|---|---|
| uecho-0.8.5.tar.gz | 44.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uecho-0.8.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.0 kB
Release files / uecho-0.8.5.tar.gz
| Download URL | uecho-0.8.5.tar.gz |
|---|---|
| Size | 44.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceab1f0749838552793afc821d2a24b55569b9a08392834a687b35c39231cd6d
|
|
BLAKE2b-256 checksum How to use checksums |
5ec455c1c1da504c94d65fed600d9a122b3df707575af478bb849794d8c96dc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / uecho-0.8.5-py3-none-any.whl
| Download URL | uecho-0.8.5-py3-none-any.whl |
|---|---|
| Size | 65.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30f963eb2a4f10c7c15252b55502e7795ec5cd2f945447860d127e06a26721e2
|
|
BLAKE2b-256 checksum How to use checksums |
a22f77b88575f7d3205678a9f5243ce6fede30f78c76fcf98b5edbf17c9a4e89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for uecho 0.8.5
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.