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 --port 7050 --gpio 25
Here, the webthing API will be bind to 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 --port 7050 --gpio 25
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pi_eltakows_webthing-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4619ae8ec4296ea78802766ce940661cb916c863b12d94f9c679c3a443958be |
|
MD5 | 1b94fad6d15ac9c34b80fc3eb305f5f7 |
|
BLAKE2b-256 | 7ea9f67a2b5cc3a498386bd2ad690865f865e49688a123d514bb8c7122db1303 |
Hashes for pi_eltakows_webthing-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dccd101ebc47878661e945e0bc199058192eb43bc2b3dd208720afb3976a449b |
|
MD5 | b252d97717c17fa4fda72cebaf9b0339 |
|
BLAKE2b-256 | 5911dd8cbbfb686c16d3e8d9d40ab3cda57e0f47e3049d0cc5891ade3c33917d |