Skip to content

Instantly share code, notes, and snippets.

@bobzer
bobzer / flow.json
Created March 22, 2019 01:25 — forked from mhelff/flow.json
Zigbee2mqtt Admin panel
This file has been truncated, but you can view the full file.
[{"id":"17dca081.a888af","type":"subflow","name":"Network Map","info":"","category":"Zigbee2MQTT Admin Panel","in":[{"x":340,"y":120,"wires":[{"id":"2403c840.5ce848"}]}],"out":[]},{"id":"7e52b899.b3e908","type":"http in","z":"17dca081.a888af","name":"","url":"/adminpanelapi/networkmap/graphviz","method":"get","upload":false,"swaggerDoc":"","x":200,"y":220,"wires":[["aa57cdac.0dba1"]]},{"id":"d1e8bbf2.b131f8","type":"http response","z":"17dca081.a888af","name":"","statusCode":"","headers":{},"x":790,"y":320,"wires":[]},{"id":"2403c840.5ce848","type":"function","z":"17dca081.a888af","name":"store in flow","func":"flow.set('networkmap',msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":530,"y":120,"wires":[[]]},{"id":"aa57cdac.0dba1","type":"template","z":"17dca081.a888af","name":"Render page","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <meta charset=\"utf-
@bobzer
bobzer / Shield_Intents.MD
Created May 17, 2019 01:48 — 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 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"}

Start apps on your Shield