Skip to main content

Description

Generic HTTP Actor Plugin for Craftbeerpi4 https://github.com/craftbeerpi/craftbeerpi4/

When updating from 0.0.3 to 0.0.4 continuous mode and continuous interval must be set up again. This is due to renamed configuration parameters.

Features

  • HTTP GET and HTTP POST
  • set different request urls for ON and OFF
  • option to set custom request timeout
  • option to set custom ON and custom OFF request payload optionally
  • option to set username and password for basic authentication
  • continous mode to refresh remote url in custom time interval even if internal actor state hasn't changed
  • option to disable certificate checking

Known options for specific devices

  • Allnet ALL 3072:

    • HTTP method: GET
    • Target url on: http://<your-device>/xml/jsonswitch.php?id=1&set=1
    • Target url off: http://<your-device>/xml/jsonswitch.php?id=1&set=0
  • Edimax SP-1101W:

    • HTTP method: POST
    • Target url on: http://<your-device>:5000/smartplug.cgi
    • Target url off: http://<your-device>:5000/smartplug.cgi
    • Request body on: <?xml version="1.0" encoding="utf-8"?><SMARTPLUG id="edimax"><CMD id="setup"><Device.System.Power.State>ON</Device.System.Power.State></CMD></SMARTPLUG>
    • Request body off: <?xml version="1.0" encoding="utf-8"?><SMARTPLUG id="edimax"><CMD id="setup"><Device.System.Power.State>OFF</Device.System.Power.State></CMD></SMARTPLUG>
    • Basic Authentication user: <your-wifi-socket-username>
    • Basic Authentication password: <your-wifi-socket-password>

Metadata

Release files for cbpi4-http-actor 0.0.4

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

Source distribution (sdist)

Source distribution for cbpi4-http-actor 0.0.4
File Size Uploaded Provenance
cbpi4-http-actor-0.0.4.tar.gz 17.1 kB Without provenance Details

Release files / cbpi4-http-actor-0.0.4.tar.gz

Download URL cbpi4-http-actor-0.0.4.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f61347ddcd33608107abeaf53156fa10de9bcfd54b7cbb36f4840302618e1fe0
BLAKE2b-256 checksum
How to use checksums
125b379b97b26e1a1aa8e09df142e2c5dbab94354820731c43e459a21112c61e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Security for cbpi4-http-actor 0.0.4

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