{"id":910,"date":"2020-11-01T10:08:15","date_gmt":"2020-11-01T08:08:15","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=910"},"modified":"2024-04-21T13:16:15","modified_gmt":"2024-04-21T11:16:15","slug":"alexa-fire-tv-documentation","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation","title":{"rendered":"Alexa-Fire TV Documentation"},"content":{"rendered":"<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 180px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-911 size-full\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/alexafiretv_icon.png\" alt=\"\" width=\"309\" height=\"348\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/alexafiretv_icon.png 309w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/alexafiretv_icon-266x300.png 266w\" sizes=\"auto, (max-width: 309px) 100vw, 309px\" \/><\/td>\n<td>\n<ul>\n<li><strong><span style=\"background-color: #ffffff;\">Documentation<\/span><\/strong><\/li>\n<li><span style=\"background-color: #ffffff;\">Todo-List \/ Changelog<\/span><\/li>\n<li>Dedicated Forum<\/li>\n<li><a href=\"http:\/\/alexaapi.slack.com\">Beta-testing cat<\/a><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6ad4b3d7b41ef\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ad4b3d7b41ef\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Presentation_du_plugin\" >Presentation of the plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Installation_du_Plugin\" >Installing the Plugin<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Autoriser_lacces_ADB_sur_chaque_Fire-TV\" >Allow ADB access on each Fire-TV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Renseigner_lIP_de_vos_Fire-TV\" >Enter the IP of your Fire-TV<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#En_cas_de_souci\" >In case of concern<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Tester_une_connexion_simple_a_ADB_en_SSH\" >Test a simple connection to ADB in SSH<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/alexa-fire-tv-documentation\/#Documentation_Beta-Testeurs_et_Developpeurs\" >Documentation Beta-Testers and Developers<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Presentation_du_plugin\"><\/span><!--more-->Presentation of the plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[Doc under preparation]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Installation_du_Plugin\"><\/span><a id=\"Installation\"><\/a>Installing the Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Very important, Alexa-Fire TV needs the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/alexa-api-documentation\">Alexa-API plugin<\/a><em> (free)<\/em> to talk to your Alexa:<\/p>\n<h3>Step 1: Install the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/alexa-api-documentation\">Alexa-API plugin<\/a><\/h3>\n<h3>Step 2: Install the Alexa-Fire TV Plugin<\/h3>\n<h4>from the Market, Multimedia category or by typing its name in the search field<\/h4>\n<p><strong><a id=\"versions\"><\/a>Note on the versions:<\/strong><\/p>\n<p>You have the choice between the version <strong>Stable<\/strong> or version <strong>beta<\/strong>.<\/p>\n<p>Many new features are always more present on the Beta than on the Stable but they are in test.<\/p>\n<p>If you are a gamer and curious, you can install the Beta version.<\/p>\n<p>Note: You do not need to install Jeedom en Beta (this is not recommended for that matter) to install the Beta plugin.<\/p>\n<p>You can switch from a Beta version to a Stable version quite easily and vice versa, just reinstall over the other version.<\/p>\n<h3>Step 3: Activate Plugin<\/h3>\n<h3>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-317\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/Screenshot_2020-02-04_Alexa_-_API_-_Jeedom.png\" alt=\"Screenshot 2020 02 04 Alexa API Jeedom\" width=\"159\" height=\"39\" \/><\/h3>\n<h3>Step 4: Install dependencies<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/dependances.png\" alt=\"\" width=\"137\" height=\"75\" \/><\/p>\n<h3>Step 5: Go back to the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/alexa-api-documentation\">Alexa-API plugin<\/a><\/h3>\n<h3><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/Screenshot_2020-02-04_Alexaamazonmusic_-_Jeedom.png\" alt=\"Screenshot 2020 02 04 Alexaamazonmusic Jeedom\" width=\"116\" height=\"78\" \/><\/h3>\n<h3>Step 6: Relaunching the SCAN<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-319\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/Screenshot_2020-02-04_Alexaapi_-_Jeedom.png\" alt=\"Screenshot 2020 02 04 Alexaapi Jeedom\" width=\"116\" height=\"78\" \/><\/p>\n<p>Fire TV devices will be generated automatically<\/p>\n<p>Go to Alexa-Fire TV to view them<\/p>\n<h1><span class=\"ez-toc-section\" id=\"Autoriser_lacces_ADB_sur_chaque_Fire-TV\"><\/span>Allow ADB access on each Fire-TV<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>This section is not documented yet, use the excellent AtlasWeb tutorial to<a href=\"https:\/\/www.atlasweb.net\/installer-et-configurer-adblink-pour-amazon-fire-tv-et-stick\/\" target=\"_blank\" rel=\"noopener\"><strong> retrieve the IP address of your Fire-TV and activate ADB<\/strong><\/a>.<\/p>\n<p>https:\/\/www.atlasweb.net\/installer-et-configurer-adblink-pour-amazon-fire-tv-et-stick\/<\/p>\n<p>Note that some beta testers had an \"unauthorized\" message and had to disable and reactivate 1 or 2 times for it to work.<\/p>\n<h1><span class=\"ez-toc-section\" id=\"Renseigner_lIP_de_vos_Fire-TV\"><\/span>Enter the IP of your Fire-TV<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>The IP address is given by the procedure described in the previous paragraph or by your router.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-926\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/ipfiretv.png\" alt=\"\" width=\"567\" height=\"246\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/ipfiretv.png 567w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/11\/ipfiretv-300x130.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"En_cas_de_souci\"><\/span>In case of concern<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"Tester_une_connexion_simple_a_ADB_en_SSH\"><\/span>Test a simple connection to ADB in SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Open an SSH connection on your Jeedom (Puty, Moxaxterm, \u2026)<\/p>\n<p>Check the list of connected devices:<\/p>\n<blockquote><p>adb devices<\/p><\/blockquote>\n<p>Try to connect your Fire TV (replace with the IP of your Fire TV)<\/p>\n<blockquote><p>adb connect 192.168.0.50<\/p><\/blockquote>\n<p>Re-check the list of connected devices:<\/p>\n<blockquote><p>adb devices<\/p><\/blockquote>\n<p>If your Fire TV appears with the mention <strong>device<\/strong>, it's okay<\/p>\n<p>If you have an error message <strong>Connection Failed<\/strong>, because the ADB authorisation is not operational, repeat the paragraph <em>Allow ADB access on each Fire-TV<\/em><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Documentation_Beta-Testeurs_et_Developpeurs\"><\/span>Documentation Beta-Testers and Developers<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>This part allows developers or beta testers to have memory support<\/p>\n<pre>adb shell dumpsys window windows | grep -E 'mFocusedApp' | cut -d \/ -f 1 | cut -d ' -f 7<\/pre>\n<div class=\"c-pillow_file__snippet__content\">\n<div class=\"CodeMirror cm-s-default CodeMirrorServer\">\n<div class=\"CodeMirror-code\">\n<div>\n<ul>\n<li>firetv reception: com.amazon.tv.launcher<\/li>\n<li>kodi: org.xbmc.kodi<\/li>\n<li>netflix: com.netflix.ninja<\/li>\n<li>disney+: com.disney.disneyplus<\/li>\n<li>amazon video: com.amazon.firebat<\/li>\n<li>molotov: tv.molotov.app<\/li>\n<li>YouTube: com.amazon.firetv.youtube<\/li>\n<li>amazon music: com.amazon.bueller.music<\/li>\n<\/ul>\n<h3>Media Controls<\/h3>\n<pre>adb shell media dispatch pause<\/pre>\n<p>with:<\/p>\n<p>play, pause, play-pause, mute, headsethook,<br \/>\nstop, next, previous, rewind, record, fast-forword.<\/p>\n<\/div>\n<div>\n<pre>sudo adb -s 192.168.0.38:5555 shell dumpsys power -h\n\n<\/pre>\n<blockquote><p>POWER MANAGER (dumpsys power)<\/p>\n<p>Power Manager State:<br \/>\nmDirty=0x0<br \/>\nmWakefulness=Awake<br \/>\nmWakefulnessChanging=false<br \/>\nmIsPowered=true<br \/>\nmPlugType=2<br \/>\nmBatteryLevel=100<br \/>\nmBatteryLevelWhenDreamStarted=100<br \/>\nmDockState=0<br \/>\nmStayOn=false<br \/>\nmProximityPositive=false<br \/>\nmBootCompleted=true<br \/>\nmSystemReady=true<br \/>\nmHalAutoSuspendModeEnabled=false<br \/>\nmHalInteractiveModeEnabled=true<br \/>\nmWakeLockSummary=0x0<br \/>\nmUserActivitySummary=0x2<br \/>\nmRequestWaitForNegativeProximity=false<br \/>\nmSandmanScheduled=false<br \/>\nmSandmanSummoned=false<br \/>\nmLowPowerModeEnabled=false<br \/>\nmBatteryLevelLow=false<br \/>\nmLastWakeTime=14066670 (296411 ms ago)<br \/>\nmLastSleepTime=14041490 (321591 ms ago)<br \/>\nmLastUserActivityTime=14066670 (296411 ms ago)<br \/>\nmLastUserActivityTimeNoChangeLights=9264189 (5098892 ms ago)<br \/>\nmLastInteractivePowerHintTime=14066670 (296411 ms ago)<br \/>\nmLastScreenBrightnessBoostTime=0 (14363081 ms ago)<br \/>\nmScreenBrightnessBoostInProgress=false<br \/>\nmDisplayReady=true<br \/>\nmHoldingWakeLockSuspendBlocker=false<br \/>\nmHoldingDisplaySuspendBlocker=true<\/p>\n<p>Settings and Configuration:<br \/>\nmDecoupleHalAutoSuspendModeFromDisplayConfig=false<br \/>\nmDecoupleHalInteractiveModeFromDisplayConfig=false<br \/>\nmWakeUpWhenPluggedOrUnpluggedConfig=true<br \/>\nmWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false<br \/>\nmTheaterModeEnabled=false<br \/>\nmSuspendWhenScreenOffDueToProximityConfig=false<br \/>\nmDreamsSupportedConfig=true<br \/>\nmDreamsEnabledByDefaultConfig=true<br \/>\nmDreamsActivatedOnSleepByDefaultConfig=true<br \/>\nmDreamsActivatedOnDockByDefaultConfig=true<br \/>\nmDreamsEnabledOnBatteryConfig=false<br \/>\nmDreamsBatteryLevelMinimumWhenPoweredConfig=-1<br \/>\nmDreamsBatteryLevelMinimumWhenNotPoweredConfig=15<br \/>\nmDreamsBatteryLevelDrainCutoffConfig=5<br \/>\nmDreamsEnabledSetting=true<br \/>\nmDreamsActivateOnSleepSetting=true<br \/>\nmDreamsActivateOnDockSetting=true<br \/>\nmDozeAfterScreenOffConfig=false<br \/>\nmLowPowerModeSetting=false<br \/>\nmAutoLowPowerModeConfigured=false<br \/>\nmAutoLowPowerModeSnoozing=false<br \/>\nmMinimumScreenOffTimeoutConfig=10000<br \/>\nmMaximumScreenDimDurationConfig=7000<br \/>\nmMaximumScreenDimRatioConfig=0.20000005<br \/>\nmScreenOffTimeoutSetting=300000<br \/>\nmSleepTimeoutSetting=1200000<br \/>\nmMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)<br \/>\nmStayOnWhilePluggedInSetting=0<br \/>\nmScreenBrightnessSetting=107<br \/>\nmScreenAutoBrightnessAdjustmentSetting=0.0<br \/>\nmScreenBrightnessModeSetting=0<br \/>\nmScreenBrightnessOverrideFromWindowManager=-1<br \/>\nmUserActivityTimeoutOverrideFromWindowManager=-1<br \/>\nmTemporaryScreenBrightnessSettingOverride=-1<br \/>\nmTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN<br \/>\nmDozeScreenStateOverrideFromDreamManager=0<br \/>\nmDozeScreenBrightnessOverrideFromDreamManager=-1<br \/>\nmScreenBrightnessSettingMinimum=10<br \/>\nmScreenBrightnessSettingMaximum=255<br \/>\nmScreenBrightnessSettingDefault=171<\/p>\n<p>Sleep timeout: 1200000 ms<br \/>\nScreen off timeout: 300000 ms<br \/>\nScreen dim duration: 7000 ms<\/p>\n<p>Wake Locks: size=0<\/p>\n<p>Suspend Blockers: size=4<br \/>\nPowerManagerService.WakeLocks: ref count=0<br \/>\nPowerManagerService.Display: ref count=1<br \/>\nPowerManagerService.Broadcasts: ref count=0<br \/>\nPowerManagerService.WirelessChargerDetector: ref count=0<\/p>\n<p>Display Power: state=ON<\/p>\n<p>Wireless Charger Detector State:<br \/>\nmGravitySensor=null<br \/>\nmPoweredWirelessly=false<br \/>\nmAtRest=false<br \/>\nmRestX=0.0, mRestY=0.0, mRestZ=0.0<br \/>\nmDetectionInProgress=false<br \/>\nmDetectionStartTime=0 (never)<br \/>\nmMustUpdateRestPosition=false<br \/>\nmTotalSamples=0<br \/>\nmMovingSamples=0<br \/>\nmFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0<br \/>\nmLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"c-pillow_file__expandable_pill c-pillow_file__expandable_pill--collapse\"><button class=\"c-button-unstyled c-pillow_file__expandable_pill__button\" type=\"button\" aria-expanded=\"true\">Reduce<i class=\"c-icon c-icon--arrow-up c-icon--inline\" aria-hidden=\"true\"><\/i><\/button><\/div>","protected":false},"excerpt":{"rendered":"<p>Documentation Todo-List \/ Changelog Forum dedicated Chat beta-testers<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-910","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=910"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/910\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}