Skip to main content

Allow MagiQuest Wands to call into HomeAssistant Webhooks

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

homeassistant-magiwand-0.1.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page