Skip to main content

A web connected Eltako windsensor measuring wind speed on Raspberry Pi

Project description

pi_eltakows_webthing

A web connected Eltako windsensor measuring wind speed on Raspberry Pi

This project provides a webthing API to a Eltako windsensor running on a Raspberry Pi. As a webthing, the Eltako windsensor can be discovered and used by home automation systems or custom solutions supporting the webthing API.

The pi_eltakows_webthing package exposes an http webthing endpoint which supports reading the wind speed via http. E.g.

# webthing has been started on host 192.168.0.23

curl http://192.168.0.23:7050/properties 
{
   "windspeed": 2.6
}

Regarding the RaspberryPi/Eltako windsensor hardware setup and wiring please refer tutorials such as Measure Wind Speed with Eltako Windsensor and Win10 IoT Core

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

sudo pip install pi_eltakows_webthing

After this installation you may start the webthing http endpoint inside your python code or via command line using

sudo eltakows --command listen --hostname 192.168.0.23 --port 7050 --gpio 25

Here, the webthing API will be bind to hostname 192.168.0.23 on the local port 7050 and be connected to the Eltako windsensor reed switch

Alternatively to the listen command, you can use the register command to register and start the webthing service as systemd unit. By doing this the webthing service will be started automatically on boot. Starting the server manually using the listen command is no longer necessary.

sudo eltakows --command register --hostname 192.168.0.23 --port 7050 --gpio 25

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pi_eltakows_webthing-0.1-2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pi_eltakows_webthing-0.1.post2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file pi_eltakows_webthing-0.1-2.tar.gz.

File metadata

  • Download URL: pi_eltakows_webthing-0.1-2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pi_eltakows_webthing-0.1-2.tar.gz
Algorithm Hash digest
SHA256 1ba2afe7f3d05ad329a81b00dad5b5aff97885fc6a88e57584cccad7615ee2f9
MD5 0a2291b5b9216eb42e943174ad8ee6a2
BLAKE2b-256 0fbd08d3231fdf694635e49d8c25d49089cd4417160aae03756b72c19453be91

See more details on using hashes here.

File details

Details for the file pi_eltakows_webthing-0.1.post2-py3-none-any.whl.

File metadata

  • Download URL: pi_eltakows_webthing-0.1.post2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pi_eltakows_webthing-0.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 240aa71de130353335bedd52d7edebbb220b12ed1caf59ec773a1c11ad19e87f
MD5 f033ef5e9ffefd5bfbb84ccd827cd1b2
BLAKE2b-256 f9c515b5fe6f9abae200db6792809a1fb264e0d5258e73b3e98ae6d5666f21ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page