Skip to main content

ahoy_dtu_webthing

A webthing adapter to provide the AhyoDTU interface via the webthing API.

Example

# webthing has been started on host 192.168.0.23

curl http://192.168.0.23:7122/0/properties 

{
   "name": "Terrasse",
   "serial": "114180123418",
   "p_dc": 23
   ....
}

To install this software you can use PIP package manager as shown below

sudo pip install ahoy_dtu_webthing

After this installation you can use the Webthing http endpoint in your Python code or from the command line with

sudo dtu --command listen --port 7122 --base_uri http://10.1.11.35/

Here the webthing API is bound to the local port 7122. Additionally, the base uri of the AhyoDTU REST api must be set.

As an alternative to the list command, you can also use the register command to register and start the webthing service as a systemd entity. This way, the webthing service is started automatically at boot time. Starting the server manually with the listen command is no longer necessary.

sudo dtu --command register --port 7122 --base_uri http://10.1.11.35/

Metadata

Release files for ahoy-dtu-webthing 1.2.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ahoy-dtu-webthing 1.2.22
File Size Uploaded Provenance
ahoy_dtu_webthing-1.2.22.tar.gz 14.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ahoy-dtu-webthing 1.2.22
File Interpreter ABI Platform
ahoy_dtu_webthing-1.2.22-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / ahoy_dtu_webthing-1.2.22.tar.gz

Download URL ahoy_dtu_webthing-1.2.22.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
55c02d6ab0760d7af15cc8d8523222c580e9e4c43ac3599e68ec574db85793b0
BLAKE2b-256 checksum
How to use checksums
5dc56fe053b58cb8c889b5c38a1d5f5cecaece1948dfea286947d2a5de4acbec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / ahoy_dtu_webthing-1.2.22-py3-none-any.whl

Download URL ahoy_dtu_webthing-1.2.22-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5be8eae6716d0d2f906c46863c443b7a73bc6574c5888aca196d7786ba442b7
BLAKE2b-256 checksum
How to use checksums
5e2de420ae440f943c1a843f9bb69a09af3397b77e77ca27b30d0d1e80965afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for ahoy-dtu-webthing 1.2.22

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.22 This release

2 release files No provenance

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