Code Monkey home page Code Monkey logo

androidremotecontrol's Introduction

Plugin AndroidRemoteControl pour Jeedom

Piloter les terminaux android (TV, Shield, freebox mini 4k, etc..)

Market

Retrouvez le Market page

Documentation

Vous trouverez la documentation ici

Fonctions disponibles

Infos: powerstate App encours volume liste appli ifconfig

Actions: connect, disconnect home power on, power off wakeup mute, unmute volume+, volume-, volume xx up, down, left, right back click, enter brightness+, brightness- start, play, pause, stop previous, next okgoogle cherche, texte youtube, francetv, plex, spotify, vlc, tf1, google, facebook, molotov, netflix

Scénarios possible (ceux que j'ai chez moi): Allumer la box -> lancer molotov -> play avec commande vocale google home/ifttt (ex: "ok google, met la télé en route"). Commander l'allumage de l'ampli (Yamaha dans mon cas) lorsque la box est allumé (car parfois le HDMI CEC). Si netflix lancé -> lumière salon a 50%

Installation: sur jeedom il faut installer: Code : Tout sélectionner

sudo apt-get install android-tools-adb Avant la 1ere commande il faut connecter jeedom a votre box, pour cela dans votre équipements (script) il faut créer une commande connect avec pour action: Code : Tout sélectionner

/var/www/html/plugins/script/core/ressources/ADB.sh action connect 1192.168.x.x Vous pouvez ensuite utiliser les autres commandes comme bon vous semble :)

Conseils: Il faut créer un scénario au démarrage de jeedom qui lance la commande connect, vous n'aurez plus a vous soucier de cela apres. Code : Tout sélectionner

  • Nom du scénario : launch_adb

  • Objet parent : System

  • Mode du scénario : provoke

    • Evènement : #start#
    • Evènement : #[Salon][Shield][Encours]#

    SI #[Salon][Shield][Encours]# == "error: device not found"
    ALORS #[Salon][Shield][Connect]# - Options : {"background":"0","enable":"1"} SINON

androidremotecontrol's People

Contributors

byackee avatar cyrilphoenix71 avatar

Watchers

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