Coder Social home page Coder Social logo

skulshady / hass.agent-mediaplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lab02-research/hass.agent-mediaplayer

0.0 0.0 0.0 65 KB

HASS.Agent MediaPlayer integrations. Adds TTS and the ability to control local media to HASS.Agent - a Windows based client for Home Assistant.

License: MIT License

Python 100.00%

hass.agent-mediaplayer's Introduction

Validate GitHub release License buymeacoffee Discord

hacs_badge

HASS.Agent MediaPlayer

⚠️YOU DON'T NEED THIS INTEGRATION IF YOU'RE USING THE NEW HASS.AGENT INTEGRATION!⚠️


Note: this integrations has been replaced by the new integration. It will keep working, but for new functionality, consider switching to the new one.


This Home Assistant integration allows you to use your HASS.Agent (a Windows-based Home Assistant client) as a mediaplayer device: see and control what's playing and send text-to-speech!

Need help? Check the documentation, visit the dedicated HA forum thread or join on Discord.

Note: it won't be of much use if you don't have HASS.Agent installed & configured on at least one PC (or Windows based device).


HASS.Agent release 2022.12.0 or higher is required to actually use this.

IMPORTANT: Only install the latest release if you're on Home Assistant 2022.5 or higher! If you're running an ealier release, use release 2022.4.21 of the integration.


Contents


Functionality

You can control your PC as if it were a regular mediaplayer, regardless of what application is actually playing. Control volume, next/previous, stop, play/pause and volume. If the application supports it, you'll be able to see what's currently playing.

As a bonus, you can use your PC as a text-to-speech target.

image


Installation

The easiest way to install is to use HACS. Simply search for HASS.Agent MediaPlayer, install and restart Home Assistant.

If you want to manually install, copy the hass_agent_mediaplayer folder into the config\custom_components folder of your Home Assistant instance, and restart.


Configuration

Please consult the documentation for more info on configuring and using this integration: MediaPlayer Usage & Examples


Debugging

If something's not working as it should, while everything's configured and HASS.Agent isn't showing any errors in its logs, browse to the following URL from another PC on the same network as HASS.Agent: http://{hass_agent_ip}:5115. Make sure to change {hass_agent_ip} to the IP of the PC where HASS.Agent's installed.

If HASS.Agent is configured and the firewall rule's active, you'll see: HASS.Agent Active.

If not, something is blocking access to HASS.Agent. Add the following snippet to your configuration.yaml to enable debug logging for the integration:

logger:
  default: warning
  logs:
    custom_components.hass_agent_mediaplayer: debug

Reboot Home Assistant. Whenever you control the mediaplayer entity or send text-to-speech, this should show up in your logs:

Debug Output

If not, please open a ticket and post your log output.


License

HASS.Agent Notifier and HASS.Agent are released under the MIT license.

hass.agent-mediaplayer's People

Contributors

lab02-admin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.