Catalog PyPI
Back to packageRELEASE DETAILS

1.2.22

PyPI

ahoy-dtu-webthing

Ahoy DTU webthing

Published19 Oct 2023
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 1.2.22 documentation

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/

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
requests >=2.31.0runtime
webthing
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
webthing >=0.15.0runtime
importlib-metadata
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
importlib-metadataruntime
redzoo
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
redzooruntime

Distribution files

2 collected
ahoy_dtu_webthing-1.2.22-py3-none-any.whl

bdist_wheel · 15.13 KB · Python py3

Source file
ahoy_dtu_webthing-1.2.22.tar.gz

sdist · 14.53 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:b021e84758b350cdc8d9bec61e089e9a33c22d7a1fced355592b2efee39f85d7

Other collected versions

View all collected versions →