NEWS
Kodi-Adapter: Wie startet/beendet man ein Addon?
-
Hallo ins Forum,
ich habe eine Frage zum Kodi-Adapter:Wie starte/beende ich ein Addon?
Hintergrund der Frage ist, dass ich mir in VIS-2 eine Multimedia-Fernbedienung erstellen will, mit der ich beispielsweise über einen Button das Addon "Netflix" oder "Amazon VOD" starten kann.
Welchen Datenpunkt muss ich dafür nutzen und welche Werte muss ich dann dort hineinschreiben?Gruß - "Klaus"
-
@klausstoertebeker Nutze Kodi zurzeit nicht.
Starten
let command = { "jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "plugin.video.netflix" }, "id": 1 }; setState("kodi.0.command", JSON.stringify(command));
Stoppen
let stopCommand = { "jsonrpc": "2.0", "method": "Player.Stop", "params": { "playerid": 1 }, "id": 1 }; setState("kodi.0.command", JSON.stringify(stopCommand));
Home
let homeCommand = { "jsonrpc": "2.0", "method": "Input.Home", "id": 1 }; setState("kodi.0.command", JSON.stringify(homeCommand));
-
Hallo mcu,
danke für die Antwort. Ich habe das Skript zum Starten von Netflix in eine Blockly-Funktion gepackt, die beim Ändern des Objekts "Kodi_Netflix_starten" aufgerufen werden soll:Dieses Konstrukt hat den folgenden JS-Code:
// Beschreibe diese Funktion … async function Netflix_starten() { let command = { "jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "plugin.video.netflix" }, "id": 1 }; setState("kodi.0.command", JSON.stringify(command)); } on({ id: '0_userdata.0.Kodi-Steuerung.Kodi_Netflix_starten' /* Kodi_Netflix_starten */, change: 'ne' }, async (obj) => { let value = obj.state.val; let oldValue = obj.oldState.val; if (getState('0_userdata.0.Kodi-Steuerung.Kodi_Netflix_starten').val == true) { await Netflix_starten(); setState('0_userdata.0.Kodi-Steuerung.Kodi_Netflix_starten' /* Kodi_Netflix_starten */, false); } });
Wenn ich das dann triggere, erhalte ich die Warnmeldungen aus dem Screenshot. Könnte es daran liegen, dass es in der Kodi-Instanz keinen Datenpunkt "command" gibt? Welchen müsste ich dann nehmen?
Gruß
"Klaus" -
@klausstoertebeker sagte in Kodi-Adapter: Wie startet/beendet man ein Addon?:
Ich habe das Skript zum Starten von Netflix in eine Blockly-Funktion gepackt
Warum dann nicht gleich komplett in Blockly nachbauen?
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="COd)HkGazYBM_(LDxxJf">cmd</variable> </variables> <block type="variables_set" id="H77VYht]R8l@52Eaye:S" x="63" y="288"> <field name="VAR" id="COd)HkGazYBM_(LDxxJf">cmd</field> <value name="VALUE"> <block type="object_new" id="]kR,dP(2)f}vGvN]#O(4"> <mutation xmlns="http://www.w3.org/1999/xhtml"> <attribute id="ATTR_0" name="id"></attribute> <attribute id="ATTR_1" name="jsonrpc"></attribute> <attribute id="ATTR_2" name="method"></attribute> <attribute id="ATTR_3" name="params"></attribute> </mutation> <value name="ATTR_0"> <shadow type="text" id="+?oi?D?MK6;;fk2r~{)C"> <field name="TEXT"></field> </shadow> <block type="math_number" id="k,Ge+0*q?]$sk(U)MpmL"> <field name="NUM">1</field> </block> </value> <value name="ATTR_1"> <shadow type="text" id="BGMdsWR^Uwj8n8bc[5Zh"> <field name="TEXT">2.0</field> </shadow> </value> <value name="ATTR_2"> <shadow type="text" id="Z}gMD~6F9^{wJz,i{%K`"> <field name="TEXT">Addons.ExecuteAddon</field> </shadow> </value> <value name="ATTR_3"> <shadow type="text" id="BLnC9J:Teg3p~aWmF#=Y"> <field name="TEXT"></field> </shadow> <block type="object_new" id="TFR~B(7MRe2TAClEpAGU"> <mutation xmlns="http://www.w3.org/1999/xhtml"> <attribute id="ATTR_0" name="addonid"></attribute> </mutation> <value name="ATTR_0"> <shadow type="text" id="6Vu8.l:O:K1##_z^/@8w"> <field name="TEXT">plugin.video.netflix</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="control" id="*$OHF8K,z@%S!}?qa0!2"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ID auswählen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_object2json" id="pT,xg-DRwtW$87jg^gDq"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="Zl=S$Q=Fyw188lCxk8Ry"> <field name="VAR" id="COd)HkGazYBM_(LDxxJf">cmd</field> </block> </value> </block> </value> </block> </next> </block> </xml>
-
@klausstoertebeker Hast du
jsonrpc
aktiviert? Das wird soweit ich es weiß benötigt.
https://github.com/iobroker-community-adapters/ioBroker.kodiNur Stichpunkte, ich bin zu lange raus.
Fernsteuerung über HTTP zulassen.
Fernsteuerung über Programme auf anderen Systemen zulassen.?? kodi.0.ExecuteAction
-
Hallo haus-automatisierung,
vielen Dank für die Blockly-Lösung Leider weiß ich nicht, welches Objekt ich auswählen soll, um den nach JSON formatierten Befehl an Kodi zu übergeben. Denn einen Datenpunkt "command" wie MCU ihn oben beschrieben hat, finde ich im Kodi-Objektbaum leider nicht.
Bei mir sieht der Kodi-Objektbaum so aus:{ "kodi.0.ActivateWindow": { "type": "state", "common": { "name": "Activate Window", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.ActivateWindow", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.CleanAudioLibrary": { "type": "state", "common": { "name": "Clean Audio Library", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.CleanAudioLibrary", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.CleanVideoLibrary": { "type": "state", "common": { "name": "Clean Video Library", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.CleanVideoLibrary", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.Directory": { "type": "state", "common": { "name": "The database browser", "role": "media.browser", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.Directory", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.ExecuteAction": { "type": "state", "common": { "name": "Execute Action", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.ExecuteAction", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.OnInputRequested": { "type": "state", "common": { "name": "On Input Requested", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.OnInputRequested", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.ScanAudioLibrary": { "type": "state", "common": { "name": "Scan Audio Library", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.ScanAudioLibrary", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.ScanVideoLibrary": { "type": "state", "common": { "name": "Scan Video Library", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.ScanVideoLibrary", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.ShowNotif": { "type": "state", "common": { "name": "Show Notification", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.ShowNotif", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.Sources": { "type": "state", "common": { "name": "Sources", "role": "media", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.Sources", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.VideoLibrary": { "type": "state", "common": { "name": "Video Library", "role": "media", "type": "object", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.VideoLibrary", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.add": { "type": "state", "common": { "name": "Add to current playlist", "role": "media.add", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025358, "_id": "kodi.0.add", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.clear": { "type": "state", "common": { "name": "Clear current playlist", "role": "media.clear", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.clear", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.album": { "type": "state", "common": { "name": "Album of current played song", "role": "media.album", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.info.album", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.albumartist": { "type": "state", "common": { "name": "album artist", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.albumartist", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.albumid": { "type": "state", "common": { "name": "albumid", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.albumid", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.artist": { "type": "state", "common": { "name": "Artist of current played song", "role": "media.artist", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.info.artist", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.audio_bitrate": { "type": "state", "common": { "name": "audio bitrate", "role": "media", "type": "number", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.audio_bitrate", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.audio_channels": { "type": "state", "common": { "name": "audio channels", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.audio_channels", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.audio_codec": { "type": "state", "common": { "name": "audio codec", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.audio_codec", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.audio_language": { "type": "state", "common": { "name": "audio language", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.audio_language", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.audio_stream": { "type": "state", "common": { "name": "audio stream", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.audio_stream", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.canchangespeed": { "type": "state", "common": { "name": "Can change speed", "role": "media", "type": "boolean", "read": false, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.info.canchangespeed", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.canrepeat": { "type": "state", "common": { "name": "Can repeat", "role": "media", "type": "boolean", "read": false, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.info.canrepeat", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.canseek": { "type": "state", "common": { "name": "can seek", "role": "media", "type": "boolean", "read": true, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.canseek", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.canshuffle": { "type": "state", "common": { "name": "Can shuffle", "role": "media", "type": "boolean", "read": false, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.info.canshuffle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.connection": { "_id": "kodi.0.info.connection", "type": "state", "common": { "role": "indicator.connected", "name": "If connected to KODI", "type": "boolean", "read": true, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "ts": 1725176025171, "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" }, "user": "system.user.admin" }, "kodi.0.info.currentplay": { "type": "state", "common": { "name": "current play", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.currentplay", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.episode": { "type": "state", "common": { "name": "episode", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.episode", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.fanart": { "type": "state", "common": { "name": "fanart", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.fanart", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.file": { "type": "state", "common": { "name": "file", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.file", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.genre": { "type": "state", "common": { "name": "Genre", "role": "media.genre", "type": "string", "read": true, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.info.genre", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.id": { "type": "state", "common": { "name": "id", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.id", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.imdbnumber": { "type": "state", "common": { "name": "imdb number", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.imdbnumber", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.live": { "type": "state", "common": { "name": "live", "role": "media", "type": "boolean", "read": true, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.live", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.originaltitle": { "type": "state", "common": { "name": "original title", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.originaltitle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.playcount": { "type": "state", "common": { "name": "Number of plays", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.playcount", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.player_id": { "type": "state", "common": { "name": "player id", "role": "media", "type": "number", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.player_id", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.player_type": { "type": "state", "common": { "name": "player type", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.player_type", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.playing_time": { "type": "state", "common": { "name": "playback duration", "role": "media.elapsed.text", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.playing_time", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.playing_time_total": { "type": "state", "common": { "name": "playback duration", "role": "media.duration.text", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.playing_time_total", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.plot": { "type": "state", "common": { "name": "plot", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.plot", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.rating": { "type": "state", "common": { "name": "rating", "role": "media", "type": "number", "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.rating", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.season": { "type": "state", "common": { "name": "season", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.season", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.showtitle": { "type": "state", "common": { "name": "show title", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.showtitle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.subtitle": { "type": "state", "common": { "name": "subtitle", "role": "media", "type": "object", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.subtitle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.subtitle_language": { "type": "state", "common": { "name": "subtitle language", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.subtitle_language", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.tagline": { "type": "state", "common": { "name": "tag line", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.tagline", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.thumbnail": { "type": "state", "common": { "name": "thumbnail", "role": "media.cover", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.thumbnail", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.title": { "type": "state", "common": { "name": "Title of current played song", "role": "media.title", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.info.title", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.track": { "type": "state", "common": { "name": "track", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.track", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.type": { "type": "state", "common": { "name": "type", "role": "media.type", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.type", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.userrating": { "type": "state", "common": { "name": "user rating", "role": "media", "type": "number", "min": 0, "max": 10, "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.userrating", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.userrating_album": { "type": "state", "common": { "name": "user rating album", "role": "media", "type": "number", "min": 0, "max": 10, "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.userrating_album", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_aspect": { "type": "state", "common": { "name": "video aspect", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_aspect", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_codec": { "type": "state", "common": { "name": "video codec", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_codec", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_duration": { "type": "state", "common": { "name": "video duration", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_duration", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_height": { "type": "state", "common": { "name": "video height", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_height", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_language": { "type": "state", "common": { "name": "video language", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_language", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_stereomode": { "type": "state", "common": { "name": "video stereomode", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_stereomode", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_stream": { "type": "state", "common": { "name": "video stream", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_stream", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.video_width": { "type": "state", "common": { "name": "video width", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.video_width", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.info.year": { "type": "state", "common": { "name": "year", "role": "media", "type": "number", "read": true, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025344, "_id": "kodi.0.info.year", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Back": { "type": "state", "common": { "name": "Button Back", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Back", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.ContextMenu": { "type": "state", "common": { "name": "Button ContextMenu", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.ContextMenu", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Down": { "type": "state", "common": { "name": "Button Down", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Down", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Home": { "type": "state", "common": { "name": "Button Home", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Home", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Info": { "type": "state", "common": { "name": "Button Info", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Info", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Left": { "type": "state", "common": { "name": "Button Left", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Left", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Right": { "type": "state", "common": { "name": "Button Right", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Right", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Select": { "type": "state", "common": { "name": "Button Select", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Select", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.SendText": { "type": "state", "common": { "name": "Button SendText", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.SendText", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.ShowCodec": { "type": "state", "common": { "name": "Button ShowCodec", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.ShowCodec", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.ShowOSD": { "type": "state", "common": { "name": "Button ShowOSD", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.ShowOSD", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.input.Up": { "type": "state", "common": { "name": "Button Up", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.input.Up", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.mute": { "type": "state", "common": { "name": "Mute mode", "role": "media.mute", "type": "boolean", "read": true, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.mute", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.next": { "type": "state", "common": { "name": "Controlling playback next", "role": "button.next", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.next", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.open": { "type": "state", "common": { "name": "Play file or URL", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.open", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.partymode": { "type": "state", "common": { "name": "Party mode toggle", "role": "media", "type": "boolean", "read": true, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.partymode", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.pause": { "type": "state", "common": { "name": "Controlling playback pause", "role": "button.pause", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.pause", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.play": { "type": "state", "common": { "name": "Controlling playback play", "role": "button.play", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.play", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.playid": { "type": "state", "common": { "name": "Controlling playback playid", "role": "media.playid", "type": "number", "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.playid", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.playlist": { "type": "state", "common": { "name": "Current playlist", "role": "media.playlist", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.playlist", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.playlistid": { "type": "state", "common": { "name": "Playlist id", "role": "media", "type": "number", "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.playlistid", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.position": { "type": "state", "common": { "name": "Current playing track", "role": "media.track", "type": "number", "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.position", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.previous": { "type": "state", "common": { "name": "Controlling playback previous", "role": "button.prev", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.previous", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.pvr.SwitchPVR": { "type": "state", "common": { "name": "Switch PVR by name channel", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.pvr.SwitchPVR", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.pvr.SwitchPVRbyId": { "type": "state", "common": { "name": "Switch PVR by id channel", "role": "state", "type": "number", "read": false, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.pvr.SwitchPVRbyId", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.pvr.playlist_radio": { "type": "state", "common": { "name": "PVR playlist radio channel", "role": "media", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.pvr.playlist_radio", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.pvr.playlist_tv": { "type": "state", "common": { "name": "PVR playlist tv channel", "role": "media", "type": "string", "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.pvr.playlist_tv", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.repeat": { "type": "state", "common": { "name": "Repeat control", "role": "media.mode.repeat", "type": "string", "states": { "off": "Off", "all": "All", "one": "One" }, "read": true, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.repeat", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.seek": { "type": "state", "common": { "name": "Controlling playback seek", "role": "media.seek", "type": "number", "unit": "%", "min": 0, "max": 100, "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.seek", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.setsubtitle": { "type": "state", "common": { "name": "Set subtitle", "role": "media", "type": "string", "states": { "previous": "Previous", "next": "Next", "off": "Off", "on": "On" }, "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.setsubtitle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.shuffle": { "type": "state", "common": { "name": "Shuffle control", "role": "media.mode.shuffle", "type": "boolean", "read": true, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.shuffle", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.speed": { "type": "state", "common": { "name": "Playback speed", "role": "media.speed", "type": "number", "states": { "0": "0", "1": "1", "2": "2", "4": "4", "8": "8", "16": "16", "32": "32", "-32": "-32", "-16": "-16", "-8": "-8", "-4": "-4", "-2": "-2", "-1": "-1" }, "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.speed", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.state": { "type": "state", "common": { "name": "Status Play, stop, or pause", "role": "media.state", "type": "string", "read": true, "write": false, "def": "stop" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.state", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.stop": { "type": "state", "common": { "name": "Controlling playback stop", "role": "button.stop", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.stop", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.subtitleenabled": { "type": "state", "common": { "name": "Subtitle enabled", "role": "media", "type": "boolean", "read": true, "write": false, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.subtitleenabled", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.EjectOpticalDrive": { "type": "state", "common": { "name": "Ejects or closes the optical disc drive (if available)", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025336, "_id": "kodi.0.system.EjectOpticalDrive", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.Hibernate": { "type": "state", "common": { "name": "Puts the system running Kodi into hibernate mode", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.Hibernate", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.Reboot": { "type": "state", "common": { "name": "Reboots the system running Kodi", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.Reboot", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.Shutdown": { "type": "state", "common": { "name": "Shuts the system running Kodi down", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.Shutdown", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.Suspend": { "type": "state", "common": { "name": "Suspends the system running Kodi", "role": "button", "type": "boolean", "read": false, "write": true, "def": false }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.Suspend", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.webport": { "type": "state", "common": { "name": "Port Webserver Kodi", "role": "media.webport", "type": "number", "read": false, "write": false, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.webport", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.system.webserver": { "type": "state", "common": { "name": "Webserver Kodi", "role": "media.webserver", "type": "string", "read": false, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.system.webserver", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.systeminfo.kernel": { "type": "state", "common": { "name": "kernel", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.systeminfo.kernel", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.systeminfo.name": { "type": "state", "common": { "name": "name", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.systeminfo.name", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.systeminfo.system": { "type": "state", "common": { "name": "system", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.systeminfo.system", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.systeminfo.version": { "type": "state", "common": { "name": "version", "role": "media", "type": "string", "read": true, "write": false, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025343, "_id": "kodi.0.systeminfo.version", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.volume": { "type": "state", "common": { "name": "Volume control", "role": "level.volume", "type": "number", "min": 0, "max": 100, "read": true, "write": true, "def": 0 }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025345, "_id": "kodi.0.volume", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.youtube": { "type": "state", "common": { "name": "Open youtube video", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.youtube", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.0.zoom": { "type": "state", "common": { "name": "Zoom", "role": "media", "type": "string", "read": false, "write": true, "def": "" }, "native": {}, "from": "system.adapter.kodi.0", "user": "system.user.admin", "ts": 1725176025360, "_id": "kodi.0.zoom", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } }, "kodi.admin": { "type": "meta", "common": { "name": "admin", "type": "admin" }, "from": "system.host.Nordmanns-ioBroker-Server.cli", "ts": 1724940569206, "native": {}, "_id": "kodi.admin", "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.user" } } }
Auch der Datenpunkt "ExecuteAction" funktioniert nicht...
Gruß
"Klaus" -
@haus-automatisierung
Welches Objekt muss ich im letzten "steuere"-Block auswählen? -
@klausstoertebeker Das, was gerade erstellt wurde?! Ich verstehe die Frage nicht so richtig. Das Beispiel ist doch vollständig, oder nicht? Was fehlt Dir?
-
@haus-automatisierung
In Deinem Blockly-Skriptbeispiel
ist im letzten "steuere"-Block keine Objekt-ID ausgewählt (da steht halt "ID auswählen") und ich gehe davon aus, dass ich ein Objekt aus meiner Kodi-Instanz wählen muss. Und hier war meine Frage, welches Objekt ich zum Steuern auswählen muss. -
@KlausStoertebeker Na den hier denke ich mal:
@mcu sagte in Kodi-Adapter: Wie startet/beendet man ein Addon?:
setState("kodi.0.command", …
Hab nur gezeigt dass man das JavaScript von oben mit Blockly nachbauen kann. Kenne mich mit Kodi nicht aus