Skip to main content

homeassistant-magiwand

PyPI version

This code can be used to connect MagiQuest IR wands to an instance of HomeAssistant. This extends a related project of mine, pywand [source] [PyPI]

This project ships with a script that will monitor a lirc device, and trigger HomeAssistant Automations via web api call. Currently, the scope is pretty narrow, but I hope to expand it over time to meet my needs.

Installation, Setup, and Config

tldr:

  • Enable your infrared device
  • Install python3
  • pip install homeassistant-magiwand
  • Enable a Ling-Lived Access Token in HomeAssistant
  • Enable api and add an Automation to run in HomeAssistant
  • Edit /etc/wand_config.ini
  • Run ha_wand_service.py

More Details

Running the service

Just make sure the config file is right, see previous sections

Usage

ha_wand_service.py -h 
usage: ha_wand_service.py [-h] [--loglevel LOGLEVEL]

optional arguments:
  -h, --help           show this help message and exit
  --loglevel LOGLEVEL  Loglevel: CRITICAL, ERROR, WARNING (default), INFO,
                       DEBUG

Metadata

Release files for homeassistant-magiwand 0.1.1

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

Source distribution (sdist)

Source distribution for homeassistant-magiwand 0.1.1
File Size Uploaded Provenance Actions
homeassistant-magiwand-0.1.1.tar.gz 4.1 kB Without provenance Details for homeassistant-magiwand-0.1.1.tar.gz

Release files / homeassistant-magiwand-0.1.1.tar.gz

Download URL homeassistant-magiwand-0.1.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5522edf1370e8c4f44ebd1076c20af3b82eca2043f0aa81b143e4553a9c926
BLAKE2b-256 checksum
How to use checksums
66a180e9c2aa52a00ef7ad1312da0d71cd3cd851064ecd76191829a6abee5501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Security for homeassistant-magiwand 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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