{"id":546,"date":"2015-10-24T06:25:50","date_gmt":"2015-10-24T04:25:50","guid":{"rendered":"https:\/\/www.pilinski.org\/wordpress\/?p=546"},"modified":"2016-01-18T14:22:33","modified_gmt":"2016-01-18T12:22:33","slug":"fire-tv-und-smarthome-py","status":"publish","type":"post","link":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/","title":{"rendered":"Fire TV und Smarthome.py"},"content":{"rendered":"<p>Ich stehe vor der Herausforderung, das Amazon Fire TV in meine Haussteuerung Smarthome.py zu integrieren. Bisher war es mit meinem Kodi auf einer eigenen Hardware sehr einfach, wenn der Computer aktiv (anpingbar) war, dann wurde die Beleuchtung auf TV Modus umgestellt. Zudem gibt es ein XBMC Plugin, mit welchem man Kodi steuern kann.<\/p>\n<p>Das geht so nicht mehr . . .<\/p>\n<p><!--more--><\/p>\n<p>. . . da das Fire TV immer im Netzwerk aktiv ist, auch im Standby. Leider gibt es auch kein Webinterface auf dem man den aktuellen Zustand erkennen kann.<\/p>\n<p>Mein Weg der Wahl wird wohl \u00fcber die adb (Android Debug Bridge)\u00a0Schnittstelle sein. Diese Schnittstelle kann in den Entwickleroptionen eingeschaltet werden und erlaubt es, zum Beispiel Dateien auf dem Android (FireOS ist ein angepasstes Android) zu modifizieren.<\/p>\n<p>Man kann aber mit &#8218;adb shell&#8216; auch eine Shell \u00f6ffnen und mit den folgenden Befehl das aktive Programm ermitteln:<\/p>\n<p><code><br \/>\nshell@android:\/ $ dumpsys window windows | grep 'mCurrentFocus'<br \/>\nmCurrentFocus=Window{4114f3d0 u0 com.amazon.tv.launcher\/com.amazon.tv.launcher.ui.details.tvzero.TvZeroDetailsActivity}<br \/>\nshell@android:\/ $ dumpsys window windows | grep 'mCurrentFocus'<br \/>\nmCurrentFocus=Window{4138ac90 u0 org.xbmc.kodi\/org.xbmc.kodi.Main}<br \/>\nshell@android:\/ $ dumpsys window windows | grep 'mCurrentFocus'<br \/>\nmCurrentFocus=Window{41213ba0 u0 com.amazon.avod\/com.amazon.avod.playbackclient.EdPlaybackActivity}<br \/>\n<\/code><\/p>\n<p>Homemen\u00fc: com.amazon.tv.launcher<\/p>\n<p>Kodi:\u00a0org.xbmc.kodi<\/p>\n<p>Amazon Video:\u00a0com.amazon.avod<\/p>\n<p>Somit kann ich feststellen, in welchem Zustand das Fire TV sich gerade befindet. Leider gibt es noch kein adb Plugin f\u00fcr Smarthome.py, aber ist ja Opensource \ud83d\ude09 Ich werde es mal versuchen.<\/p>\n<p class=\"bawpvc-ajax-counter\" data-id=\"546\">Views: 184<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich stehe vor der Herausforderung, das Amazon Fire TV in meine Haussteuerung Smarthome.py zu integrieren. Bisher war es mit meinem Kodi auf einer eigenen Hardware sehr einfach, wenn der Computer aktiv (anpingbar) war, dann wurde die Beleuchtung auf TV Modus umgestellt. Zudem gibt es ein XBMC Plugin, mit welchem man Kodi steuern kann. Das geht [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fire TV und Smarthome.py | Pilinskis Bautagebuch<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fire TV und Smarthome.py | Pilinskis Bautagebuch\" \/>\n<meta property=\"og:description\" content=\"Ich stehe vor der Herausforderung, das Amazon Fire TV in meine Haussteuerung Smarthome.py zu integrieren. Bisher war es mit meinem Kodi auf einer eigenen Hardware sehr einfach, wenn der Computer aktiv (anpingbar) war, dann wurde die Beleuchtung auf TV Modus umgestellt. Zudem gibt es ein XBMC Plugin, mit welchem man Kodi steuern kann. Das geht [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\" \/>\n<meta property=\"og:site_name\" content=\"Pilinskis Bautagebuch\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-24T04:25:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-18T12:22:33+00:00\" \/>\n<meta name=\"author\" content=\"Felix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\"},\"author\":{\"name\":\"Felix\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/1f712826d4f1ef859952bb9f5b5ef74e\"},\"headline\":\"Fire TV und Smarthome.py\",\"datePublished\":\"2015-10-24T04:25:50+00:00\",\"dateModified\":\"2016-01-18T12:22:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\"},\"wordCount\":194,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#organization\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\",\"url\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\",\"name\":\"Fire TV und Smarthome.py | Pilinskis Bautagebuch\",\"isPartOf\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#website\"},\"datePublished\":\"2015-10-24T04:25:50+00:00\",\"dateModified\":\"2016-01-18T12:22:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/www.pilinski.org\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fire TV und Smarthome.py\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#website\",\"url\":\"https:\/\/www.pilinski.org\/wordpress\/\",\"name\":\"Pilinskis Bautagebuch\",\"description\":\"Hausbau, Smarthome, Garten und mehr\",\"publisher\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pilinski.org\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#organization\",\"name\":\"Pilinski IT\",\"url\":\"https:\/\/www.pilinski.org\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pilinski.org\/wordpress\/wp-content\/uploads\/2020\/02\/Logo.png\",\"contentUrl\":\"https:\/\/www.pilinski.org\/wordpress\/wp-content\/uploads\/2020\/02\/Logo.png\",\"width\":154,\"height\":62,\"caption\":\"Pilinski IT\"},\"image\":{\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/1f712826d4f1ef859952bb9f5b5ef74e\",\"name\":\"Felix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a9f6f9caa05fbd40847e2a2c4295cafe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a9f6f9caa05fbd40847e2a2c4295cafe?s=96&d=mm&r=g\",\"caption\":\"Felix\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fire TV und Smarthome.py | Pilinskis Bautagebuch","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/","og_locale":"de_DE","og_type":"article","og_title":"Fire TV und Smarthome.py | Pilinskis Bautagebuch","og_description":"Ich stehe vor der Herausforderung, das Amazon Fire TV in meine Haussteuerung Smarthome.py zu integrieren. Bisher war es mit meinem Kodi auf einer eigenen Hardware sehr einfach, wenn der Computer aktiv (anpingbar) war, dann wurde die Beleuchtung auf TV Modus umgestellt. Zudem gibt es ein XBMC Plugin, mit welchem man Kodi steuern kann. Das geht [&hellip;]","og_url":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/","og_site_name":"Pilinskis Bautagebuch","article_published_time":"2015-10-24T04:25:50+00:00","article_modified_time":"2016-01-18T12:22:33+00:00","author":"Felix","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Felix","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#article","isPartOf":{"@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/"},"author":{"name":"Felix","@id":"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/1f712826d4f1ef859952bb9f5b5ef74e"},"headline":"Fire TV und Smarthome.py","datePublished":"2015-10-24T04:25:50+00:00","dateModified":"2016-01-18T12:22:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/"},"wordCount":194,"commentCount":0,"publisher":{"@id":"https:\/\/www.pilinski.org\/wordpress\/#organization"},"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/","url":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/","name":"Fire TV und Smarthome.py | Pilinskis Bautagebuch","isPartOf":{"@id":"https:\/\/www.pilinski.org\/wordpress\/#website"},"datePublished":"2015-10-24T04:25:50+00:00","dateModified":"2016-01-18T12:22:33+00:00","breadcrumb":{"@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pilinski.org\/wordpress\/fire-tv-und-smarthome-py\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.pilinski.org\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Fire TV und Smarthome.py"}]},{"@type":"WebSite","@id":"https:\/\/www.pilinski.org\/wordpress\/#website","url":"https:\/\/www.pilinski.org\/wordpress\/","name":"Pilinskis Bautagebuch","description":"Hausbau, Smarthome, Garten und mehr","publisher":{"@id":"https:\/\/www.pilinski.org\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pilinski.org\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.pilinski.org\/wordpress\/#organization","name":"Pilinski IT","url":"https:\/\/www.pilinski.org\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/www.pilinski.org\/wordpress\/wp-content\/uploads\/2020\/02\/Logo.png","contentUrl":"https:\/\/www.pilinski.org\/wordpress\/wp-content\/uploads\/2020\/02\/Logo.png","width":154,"height":62,"caption":"Pilinski IT"},"image":{"@id":"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/1f712826d4f1ef859952bb9f5b5ef74e","name":"Felix","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.pilinski.org\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a9f6f9caa05fbd40847e2a2c4295cafe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a9f6f9caa05fbd40847e2a2c4295cafe?s=96&d=mm&r=g","caption":"Felix"}}]}},"_links":{"self":[{"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/posts\/546"}],"collection":[{"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":3,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/posts\/546\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pilinski.org\/wordpress\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}