Skip to main content

pi_screencontrol_webthing

A web connected screen control of Raspberry Pi

The screen control package exposes a http webthing endpoint which supports activating the screen. E.g.

# webthing has been started on host 192.168.0.23

curl http://192.168.0.23:9122/properties 

{
"activated": true,
"log": "[2022-02-25T14:40:18]  XAUTHORITY=~pi/.Xauthority DISPLAY=:0 xset s 180\n
        [2022-02-25T14:40:18]  XAUTHORITY=~pi/.Xauthority DISPLAY=:0 xset dpms 180 180  180\n
        [2022-02-25T14:40:18]  XAUTHORITY=~pi/.Xauthority DISPLAY=:0 xset s 180\n
        [2022-02-25T14:40:18]  XAUTHORITY=~pi/.Xauthority DISPLAY=:0 xset dpms 180 180  180"
}

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

sudo pip install pi_screencontrol_webthing

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

sudo screen --command listen --port 9832

Here, the webthing API will be bind to the local port 9832

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 screen --command register --port 9832

Metadata

Release files for pi-screencontrol-webthing 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pi-screencontrol-webthing 0.1.6
File Size Uploaded Provenance
pi_screencontrol_webthing-0.1.6.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pi-screencontrol-webthing 0.1.6
File Interpreter ABI Platform
pi_screencontrol_webthing-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / pi_screencontrol_webthing-0.1.6.tar.gz

Download URL pi_screencontrol_webthing-0.1.6.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c040ae33460563dcf41ecdd9d717b1c0b10fdb9528bc9c24bde17a296856813c
BLAKE2b-256 checksum
How to use checksums
200107e31123a04b30365c71b2f423d1cdc8cbd06f9b74e55d7d1c9929b133f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pi_screencontrol_webthing-0.1.6-py3-none-any.whl

Download URL pi_screencontrol_webthing-0.1.6-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b43af0bab1af057cb582bd5650ec197e4ba530c4fc098265c93dc58d33a864a
BLAKE2b-256 checksum
How to use checksums
2a8e02f5431b7fa990e1c22cdd303170d1f3fa3456e2696153cf323f98692812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for pi-screencontrol-webthing 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page