Skip to content

Instantly share code, notes, and snippets.

<block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="`(VII433YiEJ,k_ysdhq" x="163" y="563">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="XV0fYO4W_b48s/mU#Nc7">
<field name="oid">default</field>
</shadow>
</value>
<statement name="STATEMENT">
<block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="-B/i{)JmeNNtfm#+y*,T" x="-1262" y="-60">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="an8k{`9WavP`j9Ii!0F5">
<field name="oid">robonect.0.status.status</field>
</shadow>
</value>
<statement name="STATEMENT">
@darkiop
darkiop / Shield_Intents.MD
Created April 9, 2020 16:00 — forked from mcfrojd/Shield_Intents.MD
Working INTENTS to use with Community Hass.io Add-ons: Android Debug Bridge for your Nvidia Shield TV

Updated 2020-03-22 with "kill" commands to exit apps

Updated 2019-03-21 with new "intents" since hassio 0.90, ADB 0.3.0 and the new androidtv component (service "androidtv.adb_command")

Credits and thanks: Home Assistant Forum users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion


Starts specific Twitch stream (If stream is live)

{"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/frenck"}
{"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/drzzs"}
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="$om.b{xr,!oP@m%Q([v-">obj</variable>
<variable type="" id="[|vEnueG447)8;@ij4Z/">TastenWert</variable>
<variable type="" id="2IVfkgYBTmV|ClF$JyY,">AnzahlVersuche</variable>
<variable type="" id="-%t(A!B?L#Q@1F$nmfJ~">tempCode</variable>
<variable type="" id="=fqAdNW+-;3@%drz;?sd">maxVersuche</variable>
<variable type="undefined" id="timeout4">timeout4</variable>
<variable type="undefined" id="timeout">timeout</variable>
<variable type="" id="BahnYj{jlb#a:#W)#2M|">maxCodeLaenge</variable>
@darkiop
darkiop / iobroker_blockly_tageszeiten.xml
Last active June 8, 2019 07:23
ioBroker Tageszeiten Blockly
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="v-2xxO5tUzoo,$tf1Y;d">tageszeit</variable>
<variable type="" id="s)ejmFI9_07;GqYME8/2">tz</variable>
<variable type="" id="24@~L2x?,XO9swCdF)UY">pfad</variable>
<variable type="" id="/W{U,=czPw.ii`I$||qJ">tageszeiten</variable>
</variables>
<block type="procedures_defnoreturn" id="8y+oRss/%4W92F,n_b;?" disabled="true" x="2338" y="-787">
<mutation>
<arg name="tageszeit" varid="v-2xxO5tUzoo,$tf1Y;d"></arg>
<?php
/**
* http://codex.wordpress.org/Function_Reference/wp_register_sidebar_widget
*/
class widget_submenu extends WP_Widget {
function __construct() {
parent::__construct(
'widget_submenu', // Base ID
__( 'Submenu', 'steinweiler.eu-2015' ), // Name
<?php
if ( ( is_single() || is_page() ) && 'et_full_width_page' === get_post_meta( get_queried_object_id(), '_et_pb_page_layout', true ) )
return;
?>
<?php
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="sidebar">
<?php
/*******************************************************************************
* ---------------------------
* Log Script für ioBroker zum Aufbereiten des Logs für Visualisierungen (vis)
* ---------------------------
*
* Das Script liest regelmäßig (einstellbar, z.B. alle 2 Minuten) die tägliche
* Log-Datei des ioBrokers aus und setzt das Ergebnis in Datenpunkte, aufgeteilt
* je nach Einstellung unten.
* Neue Log-Einträge werden in den Datenpunkten regelmäßig ergänzt.
* Es stehen auch JSON-Datenpunkte zur Verfügung, mit diesen kann im vis eine
@darkiop
darkiop / gist:2e0753c45a98a0fed4b9c61cb4333bad
Created February 16, 2019 05:35
ioBroker VIEW Export WLANThermo
{
"settings": {
"style": {
"background_class": "",
"background": "#000000"
},
"theme": "redmond",
"sizex": "1024",
"sizey": "748",
"gridSize": "5",