Skip to main content

A web connected Eltako windsensor measuring wind speed on Raspberry Pi

Project description


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

   "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 Docker or PIP package manager such as shown below Docker approach

sudo docker run --privileged -p 7050:7050 -e gpio=25 grro/pi_eltakows_webthing:0.2.0

PIP approach

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 --port 7050 --gpio 25

Here, the webthing API will be bind ton 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 --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.

Files for pi-eltakows-webthing, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pi_eltakows_webthing-0.2.0-py3-none-any.whl (10.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pi_eltakows_webthing-0.2.0.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page