Plugin ‚oppo‘ Konfiguration

plugin logo

Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die Beschreibung, wie das Plugin oppo konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann. [1]

Es handelt sich bei diesem Plugin um ein interface Plugin.

ACHTUNG: Dieses Plugin ist als develop gekennzeichnet. Es kann daher sein, dass es noch nicht sämtliche Funktionen unterstützt oder noch fehlerhaft ist.

Beschreibung

Anforderungen

  • Minimum SmartHomeNG Version: 1.9.5.1

  • Minimum Python Version: 3.6

Konfiguration

Im folgenden ist beschrieben, wie das Plugin oppo konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann.

Parameter

Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/plugin.yaml konfiguriert werden:

autoconnect

  • Datentyp: bool

autoreconnect

  • Datentyp: bool

  • Standardwert: True

baudrate

  • Datentyp: num

  • Standardwert: 9600

binary

  • Datentyp: bool

  • Standardwert: False

bytesize

  • Datentyp: num

  • Standardwert: 8

connect_cycle

  • Datentyp: num

  • Standardwert: 3

connect_retries

  • Datentyp: num

  • Standardwert: 5

delay_initial_read

  • Datentyp: num

  • Standardwert: 0

host

  • Datentyp: str

model

  • Datentyp: str

  • Mögliche Werte:

    • UDP-203

parity

  • Datentyp: str

  • Standardwert: N

  • Mögliche Werte:

    • N

    • E

    • O

    • M

    • S

port

  • Datentyp: int

  • Standardwert: 23

resume_initial_read

  • Datentyp: bool

retry_cycle

  • Datentyp: num

  • Standardwert: 30

retry_suspend

  • Datentyp: num

  • Standardwert: 3

send_retries

  • Datentyp: num

  • Standardwert: 0

send_retries_cycle

  • Datentyp: num

  • Standardwert: 1

  • Minimalwert: 1

serialport

  • Datentyp: str

stopbits

  • Datentyp: num

  • Standardwert: 1

suspend_item

  • Datentyp: str

terminator

  • Datentyp: str

  • Standardwert: r

timeout

  • Datentyp: num

  • Standardwert: 3

Item Attribute

Das Plugin unterstützt folgende Item Attribute, die in den Dateien im Verzeichnis ../items verwendet werden:

oppo_command

  • Datentyp: str

oppo_lookup

  • Datentyp: str

oppo_read

  • Datentyp: bool

oppo_read_cycle

  • Datentyp: num

oppo_read_group

  • Datentyp: list(str)

oppo_read_group_trigger

  • Datentyp: str

oppo_read_initial

  • Datentyp: bool

oppo_write

  • Datentyp: bool

Item-Structs

Das Plugin stellt die folgenden Item-Structs zur Verfügung. Diese Informationen sind aus der plugin.yaml entnommen und möglicherweise nicht vollständig.

ALL

  • ALL (foo, —)
    • read (bool, —)

    • info (foo, —)
      • read (bool, —)

      • time (foo, —)
        • read (bool, —)

        • totalelapsed (str, —)

        • totalremaining (str, —)

        • chapterelapsed (str, —)

        • chapterremaining (str, —)

        • titleelapsed (str, —)

        • titleremaining (str, —)

      • audio (foo, —)
        • read (bool, —)

        • current (num, —)

        • available (num, —)

        • language (str, —)

      • subtitle (foo, —)
        • read (bool, —)

        • current (num, —)

        • available (num, —)

        • language (str, —)

      • firmware (str, —)

      • status (str, —)

      • disctype (str, —)

      • totaltracks (num, —)

      • displaytype (str, —)

      • audiotype (str, —)

      • channels (str, —)

      • trackinfo (num, —)

      • inputresolution (str, —)

      • outputresolution (str, —)

      • aspectratio (str, —)

      • U3D (str, —)

    • general (foo, —)
      • read (bool, —)

      • verbose (num, —)

      • hdmiresolution (str, —)

    • control (foo, —)
      • read (bool, —)

      • power (bool, —)

      • pureaudio (bool, —)

      • playpause (bool, —)

      • stop (bool, —)

      • eject (bool, —)

      • chapter (num, —)

      • title (num, —)

      • next (bool, —)

      • previous (bool, —)

      • forward (bool, —)

      • reverse (bool, —)

      • audio (bool, —)

      • subtitle (bool, —)

      • repeat (num, —)

      • input (num, —)

    • menu (foo, —)
      • read (bool, —)

      • home (bool, —)

      • setup (bool, —)

      • option (bool, —)

      • info (bool, —)

      • popup (bool, —)

      • top (bool, —)

      • osd (bool, —)

      • pageup (bool, —)

      • pagedown (bool, —)

      • up (bool, —)

      • down (bool, —)

      • left (bool, —)

      • right (bool, —)

      • select (bool, —)

      • back (bool, —)

      • red (bool, —)

      • green (bool, —)

      • blue (bool, —)

      • yellow (bool, —)

UDP-203

  • UDP-203 (foo, —)
    • read (bool, —)

    • info (foo, —)
      • read (bool, —)

      • time (foo, —)
        • read (bool, —)

        • totalelapsed (str, —)

        • totalremaining (str, —)

        • chapterelapsed (str, —)

        • chapterremaining (str, —)

        • titleelapsed (str, —)

        • titleremaining (str, —)

      • audio (foo, —)
        • read (bool, —)

        • current (num, —)

        • available (num, —)

        • language (str, —)

      • subtitle (foo, —)
        • read (bool, —)

        • current (num, —)

        • available (num, —)

        • language (str, —)

      • firmware (str, —)

      • status (str, —)

      • disctype (str, —)

      • totaltracks (num, —)

      • displaytype (str, —)

      • audiotype (str, —)

      • channels (str, —)

      • trackinfo (num, —)

      • inputresolution (str, —)

      • outputresolution (str, —)

      • aspectratio (str, —)

      • U3D (str, —)

    • general (foo, —)
      • read (bool, —)

      • verbose (num, —)

      • hdmiresolution (str, —)

    • control (foo, —)
      • read (bool, —)

      • power (bool, —)

      • pureaudio (bool, —)

      • playpause (bool, —)

      • stop (bool, —)

      • eject (bool, —)

      • chapter (num, —)

      • title (num, —)

      • next (bool, —)

      • previous (bool, —)

      • forward (bool, —)

      • reverse (bool, —)

      • audio (bool, —)

      • subtitle (bool, —)

      • repeat (num, —)

      • input (num, —)

    • menu (foo, —)
      • read (bool, —)

      • home (bool, —)

      • setup (bool, —)

      • option (bool, —)

      • info (bool, —)

      • popup (bool, —)

      • top (bool, —)

      • osd (bool, —)

      • pageup (bool, —)

      • pagedown (bool, —)

      • up (bool, —)

      • down (bool, —)

      • left (bool, —)

      • right (bool, —)

      • select (bool, —)

      • back (bool, —)

      • red (bool, —)

      • green (bool, —)

      • blue (bool, —)

      • yellow (bool, —)

control

  • control (foo, —)
    • read (bool, —)

    • power (bool, —)

    • pureaudio (bool, —)

    • playpause (bool, —)

    • stop (bool, —)

    • eject (bool, —)

    • chapter (num, —)

    • title (num, —)

    • next (bool, —)

    • previous (bool, —)

    • forward (bool, —)

    • reverse (bool, —)

    • audio (bool, —)

    • subtitle (bool, —)

    • repeat (num, —)

    • input (num, —)

general

  • general (foo, —)
    • read (bool, —)

    • verbose (num, —)

    • hdmiresolution (str, —)

info

  • info (foo, —)
    • read (bool, —)

    • time (foo, —)
      • read (bool, —)

      • totalelapsed (str, —)

      • totalremaining (str, —)

      • chapterelapsed (str, —)

      • chapterremaining (str, —)

      • titleelapsed (str, —)

      • titleremaining (str, —)

    • audio (foo, —)
      • read (bool, —)

      • current (num, —)

      • available (num, —)

      • language (str, —)

    • subtitle (foo, —)
      • read (bool, —)

      • current (num, —)

      • available (num, —)

      • language (str, —)

    • firmware (str, —)

    • status (str, —)

    • disctype (str, —)

    • totaltracks (num, —)

    • displaytype (str, —)

    • audiotype (str, —)

    • channels (str, —)

    • trackinfo (num, —)

    • inputresolution (str, —)

    • outputresolution (str, —)

    • aspectratio (str, —)

    • U3D (str, —)

Logik Parameter

Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/logic.yaml konfiguriert werden:

Keine Logik Parameter in den Metadaten beschrieben - Bitte in der README nachsehen (siehe Fußnote)

Plugin Functions

Das Plugin verfügt über folgende öffentliche Funktionen, die z.B. in Logiken aufgerufen werden können.

Keine