Catalog PyPI
PACKAGE EXPLORERView in registry

ahoy-dtu-webthing

PyPI

Ahoy DTU webthing

Versions collected1
Direct dependencies4From release 1.2.22
Last observed21 Oct, 09:40 UTC

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.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.2219 Oct 20234

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:c584925609c20a88931f945eca39e1a3e4eb87f19441b0bc5eaa48e32cf34be3