Giter Site home page Giter Site logo

xgimi-4-home-assistant's Introduction

Xgimi-4-Home-Assistant

XGIMI integration for home assistant

Install

  1. Copy whole folder xgimi into home assistant custom_components
  2. Restart home assistant
  3. Add following lines to configuration.yaml
    remote:
    - platform: xgimi
      name: z6x  # can be changed with any name you like
      host: 192.168.0.115  # your xgimi projector IP
  4. Restart home assistant

How to use

The integration setup up a remote entity: e.g. remote.z6x.
Example usage of remote.send_command service:

service: remote.send_command
data:
    command: volumeup
target:
    entity_id: remote.z6x

Current support command:

play, pause, power, back, home, menu, right, left
up, down, volumedown, volumeup, poweroff, volumemute

Dashboard example

See tv-card-example.yaml for a dashboard example using tv-card

Limitation

There is no way to power on the xgimi projector through this integration. The integration communicates with xigimi projector by UDP, once the projector is powered off, the only way to wake it up is using the bluetooth remote. However, I can not find any relevant threads about how to simulate the bluetooth remote.

TODO

  • setup through UI
  • auto discovery
  • media player entity
  • more command support
  • publish a pyxgimi package

This integration is in very early stage, contributions and suggestions are welcome!

xgimi-4-home-assistant's People

Contributors

manymuch avatar lxy1992 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.