A Powerline segment for showing the PWS station data
Project description
Powerline PWS
A Powerline segment for showing weather data from your PWS (Personal Weather Station).
Configuration
The PWS segment is currently only compatible with the Cumulus Realtime Format format. When your station is using WeeWX for example, this excellent extension can be used for outputting weather data in the CRT-format.
The segment also uses some extra highlight groups. These highlight groups can be
easily defined in for example .config/powerline/colorschemes/default.json
:
{
"groups": {
"pws": { "fg": "gray8", "bg": "gray0", "attrs": [] },
"pws_uv_gradient": { "fg": "green_yellow_orange_red", "bg": "gray0", "attrs": [] },
"pws_temp_gradient": { "fg": "blue_red", "bg": "gray0", "attrs": [] }
}
}
After this you can activate the segment by adding it to your segment
configuration, for example in .config/powerline/themes/tmux/default.json
:
{
"function": "powerline.segments.common.weewx.pws",
"args": {
"pws_url": "<URL_TO_YOUR_PWS>"
}
}
The minimum configuration needs a url to your PWS. This will only show the
outdoor temperature. You can define which measurements to show using the
parameters
-parameter:
{
"function": "powerline.segments.common.weewx.pws",
"args": {
"pws_url": "<URL_TO_YOUR_PWS>",
"parameters": ["dayRain", "outTemp", "barometer", "outHumidity"]
}
}
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
File details
Details for the file powerline_pws-1.0.0.tar.gz
.
File metadata
- Download URL: powerline_pws-1.0.0.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8464fbda831ade83a96a18513f3ad324c49b819e65171f512147d578736f519 |
|
MD5 | 9b99b1c4ddd6c7fde9ad6d23e0a95c6f |
|
BLAKE2b-256 | 26bc41b4f7198d17e727a0bf3f3c9e5ceb0f2a50b1bf3b8e193953e566b1ed80 |
Provenance
The following attestation bundles were made for powerline_pws-1.0.0.tar.gz
:
Publisher:
python-publish.yml
on boosterl/powerline-pws
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
powerline_pws-1.0.0.tar.gz
- Subject digest:
c8464fbda831ade83a96a18513f3ad324c49b819e65171f512147d578736f519
- Sigstore transparency entry: 150531172
- Sigstore integration time:
- Predicate type:
File details
Details for the file powerline_pws-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: powerline_pws-1.0.0-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dffb6b3e0529e028cb48fea05a3f9ed9de6fc73a2b00d4fdab216280b15a0646 |
|
MD5 | b7c0b9ef1ce96c60e915bd2b73498b61 |
|
BLAKE2b-256 | 96bb4bdb96af168d935628939b54aaab93750acb82ee9f3351d72cdca4d58ee3 |
Provenance
The following attestation bundles were made for powerline_pws-1.0.0-py3-none-any.whl
:
Publisher:
python-publish.yml
on boosterl/powerline-pws
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
powerline_pws-1.0.0-py3-none-any.whl
- Subject digest:
dffb6b3e0529e028cb48fea05a3f9ed9de6fc73a2b00d4fdab216280b15a0646
- Sigstore transparency entry: 150531178
- Sigstore integration time:
- Predicate type: