Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Wunsch: Adapter für Panasonic Viera Smart TV Steuerung

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    838

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Wunsch: Adapter für Panasonic Viera Smart TV Steuerung

Scheduled Pinned Locked Moved ioBroker Allgemein
175 Posts 47 Posters 40.3k Views 17 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • VumerV Vumer

    mit pip install panasonic-viera wurde irgendwas installiert ;)
    aber
    root@python:~/panasonic-viera# import panasonic_viera
    -bash: import: command not found

    J Offline
    J Offline
    jack99n
    wrote on last edited by
    #129

    @vumer Es ist schon eine ganze Weile her wo ich das gemacht habe. Nein es muss nicht auf dem System gemacht werden wo IOBroker läuft, und probiere es mal mit Python 3.

    VumerV 2 Replies Last reply
    0
    • J jack99n

      @vumer Es ist schon eine ganze Weile her wo ich das gemacht habe. Nein es muss nicht auf dem System gemacht werden wo IOBroker läuft, und probiere es mal mit Python 3.

      VumerV Offline
      VumerV Offline
      Vumer
      wrote on last edited by
      #130

      komme einfach nicht weiter

      Python 3.7.3 (default, Jan 22 2021, 20:04:44)
      [GCC 8.3.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.

      import panasonic_viera
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/local/lib/python3.7/dist-packages/panasonic_viera/init.py", line 15, in <module>
      import aiohttp.web
      ModuleNotFoundError: No module named 'aiohttp'

      1 Reply Last reply
      0
      • J jack99n

        @vumer Es ist schon eine ganze Weile her wo ich das gemacht habe. Nein es muss nicht auf dem System gemacht werden wo IOBroker läuft, und probiere es mal mit Python 3.

        VumerV Offline
        VumerV Offline
        Vumer
        wrote on last edited by Vumer
        #131

        @jack99n
        weißt du noch welche Python du hattest? Frage weil raw_input existiert in Python 3 nicht mehr und aiohttp gibt es erst ab Python 3

        1 Reply Last reply
        0
        • VumerV Offline
          VumerV Offline
          Vumer
          wrote on last edited by Vumer
          #132

          Habs hin bekommen.
          Benötigt wird Python3. Ich habe im Proxmox einen CT erstellt und Python 2 deinstalliert.

          sudo apt purge -y python2.7-minimal
          sudo ln -s /usr/bin/python3 /usr/bin/python
          sudo apt install -y python3-pip
          sudo ln -s /usr/bin/pip3 /usr/bin/pip
          

          unter

          python --version
          

          sollte jetzt Python3.x auftauchen

          aiohttp wird noch benötigt

          pip install aiohttp
          

          jetzt kann man die Bibliothek installieren

          pip install panasonic-viera
          

          und los geht's

          root@viera:~# python
          Python 3.7.3 (default, Jan 22 2021, 20:04:44) 
          [GCC 8.3.0] on linux
          Type "help", "copyright", "credits" or "license" for more information.
          >>> import panasonic_viera
          >>> rc = panasonic_viera.RemoteControl("192.168.xxx.xxx")
          >>> rc.request_pin_code()
          >>> pin = input("Enter the displayed pin code: ")
          Enter the displayed pin code: 1111
          >>> rc.authorize_pin_code(pincode=pin)
          >>> print (rc.app_id)
          A***********
          >>> print (rc.enc_key)
          D****************
          >>> rc.send_key(panasonic_viera.Keys.epg)
          >>> Strg + D
          
          J 2 Replies Last reply
          0
          • VumerV Vumer

            Habs hin bekommen.
            Benötigt wird Python3. Ich habe im Proxmox einen CT erstellt und Python 2 deinstalliert.

            sudo apt purge -y python2.7-minimal
            sudo ln -s /usr/bin/python3 /usr/bin/python
            sudo apt install -y python3-pip
            sudo ln -s /usr/bin/pip3 /usr/bin/pip
            

            unter

            python --version
            

            sollte jetzt Python3.x auftauchen

            aiohttp wird noch benötigt

            pip install aiohttp
            

            jetzt kann man die Bibliothek installieren

            pip install panasonic-viera
            

            und los geht's

            root@viera:~# python
            Python 3.7.3 (default, Jan 22 2021, 20:04:44) 
            [GCC 8.3.0] on linux
            Type "help", "copyright", "credits" or "license" for more information.
            >>> import panasonic_viera
            >>> rc = panasonic_viera.RemoteControl("192.168.xxx.xxx")
            >>> rc.request_pin_code()
            >>> pin = input("Enter the displayed pin code: ")
            Enter the displayed pin code: 1111
            >>> rc.authorize_pin_code(pincode=pin)
            >>> print (rc.app_id)
            A***********
            >>> print (rc.enc_key)
            D****************
            >>> rc.send_key(panasonic_viera.Keys.epg)
            >>> Strg + D
            
            J Offline
            J Offline
            jack99n
            wrote on last edited by
            #133

            @vumer Schön das du es doch noch hinbekommen hast, ich hatte noch irgendwas in Erinnerung mit Python3. Wie gesagt ich hatte das einmal gemacht und hatte somit ja die Daten. Jetzt sollten es ja auch andere hinbekommen!

            1 Reply Last reply
            0
            • VumerV Vumer

              Habs hin bekommen.
              Benötigt wird Python3. Ich habe im Proxmox einen CT erstellt und Python 2 deinstalliert.

              sudo apt purge -y python2.7-minimal
              sudo ln -s /usr/bin/python3 /usr/bin/python
              sudo apt install -y python3-pip
              sudo ln -s /usr/bin/pip3 /usr/bin/pip
              

              unter

              python --version
              

              sollte jetzt Python3.x auftauchen

              aiohttp wird noch benötigt

              pip install aiohttp
              

              jetzt kann man die Bibliothek installieren

              pip install panasonic-viera
              

              und los geht's

              root@viera:~# python
              Python 3.7.3 (default, Jan 22 2021, 20:04:44) 
              [GCC 8.3.0] on linux
              Type "help", "copyright", "credits" or "license" for more information.
              >>> import panasonic_viera
              >>> rc = panasonic_viera.RemoteControl("192.168.xxx.xxx")
              >>> rc.request_pin_code()
              >>> pin = input("Enter the displayed pin code: ")
              Enter the displayed pin code: 1111
              >>> rc.authorize_pin_code(pincode=pin)
              >>> print (rc.app_id)
              A***********
              >>> print (rc.enc_key)
              D****************
              >>> rc.send_key(panasonic_viera.Keys.epg)
              >>> Strg + D
              
              J Offline
              J Offline
              jack99n
              wrote on last edited by
              #134

              @vumer Funktionieren die VolumeUp, VolumeDown, und Control Left Befehle bei dir?

              1 Reply Last reply
              0
              • VumerV Offline
                VumerV Offline
                Vumer
                wrote on last edited by
                #135

                @jack99n
                nein, bei mir auch nicht.

                J 1 Reply Last reply
                0
                • VumerV Vumer

                  @jack99n
                  nein, bei mir auch nicht.

                  J Offline
                  J Offline
                  jack99n
                  wrote on last edited by
                  #136

                  @vumer Ärgerlich, auf Volumen Up Down könnte ich verzichten da der andere Volumen Datenpunkt mit Zahlenwert ja geht. Aber Control Left brauche ich auf jeden fall. Weiß gar nicht ob @JensMaus hier mitliest?

                  VumerV 1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Gironimo
                    wrote on last edited by
                    #137

                    bei mir schaltet der der TV leider nie im Reiter info beim Punkt tv_on auf off.
                    Oder wo kann ich auslesen, ob der Fernseher ein- oder ausgeschaltet ist?

                    1 Reply Last reply
                    0
                    • J jack99n

                      @vumer Ärgerlich, auf Volumen Up Down könnte ich verzichten da der andere Volumen Datenpunkt mit Zahlenwert ja geht. Aber Control Left brauche ich auf jeden fall. Weiß gar nicht ob @JensMaus hier mitliest?

                      VumerV Offline
                      VumerV Offline
                      Vumer
                      wrote on last edited by Vumer
                      #138

                      @jack99n sagte in Wunsch: Adapter für Panasonic Viera Smart TV Steuerung:

                      @vumer Ärgerlich, auf Volumen Up Down könnte ich verzichten da der andere Volumen Datenpunkt mit Zahlenwert ja geht. Aber Control Left brauche ich auf jeden fall.

                      sehe ich genauso

                      @gironimo sagte in Wunsch: Adapter für Panasonic Viera Smart TV Steuerung:

                      bei mir schaltet der der TV leider nie im Reiter info beim Punkt tv_on auf off.

                      das ärgert mich auch sehr. Ich dachte das mit der ID dass es funktionieren wird.

                      J 1 Reply Last reply
                      0
                      • VumerV Vumer

                        @jack99n sagte in Wunsch: Adapter für Panasonic Viera Smart TV Steuerung:

                        @vumer Ärgerlich, auf Volumen Up Down könnte ich verzichten da der andere Volumen Datenpunkt mit Zahlenwert ja geht. Aber Control Left brauche ich auf jeden fall.

                        sehe ich genauso

                        @gironimo sagte in Wunsch: Adapter für Panasonic Viera Smart TV Steuerung:

                        bei mir schaltet der der TV leider nie im Reiter info beim Punkt tv_on auf off.

                        das ärgert mich auch sehr. Ich dachte das mit der ID dass es funktionieren wird.

                        J Offline
                        J Offline
                        jack99n
                        wrote on last edited by
                        #139

                        @vumer Es muss an der 2.0 Version liegen da es mit der letzten Stable noch ging. Leider ist die Stable Version noch nicht für die Geräte die ein PIN Code wollen.

                        1 Reply Last reply
                        0
                        • T Online
                          T Online
                          thomke67
                          wrote on last edited by
                          #140

                          Bei mir steigt die Instanz nach eine Volume-Änderung immer direkt aus und ich muss die Instanz restarten.... Egal, ob ich "volume" unter "basic" oder aus dem root der Instanz nehme.
                          "tv-on" funktioniert allerdings, wenn auch mit Verzögerung.

                          Gruß,
                          Thomas

                          1 Reply Last reply
                          0
                          • T Online
                            T Online
                            thomke67
                            wrote on last edited by thomke67
                            #141
                            host.raspberrypi	2021-05-24 17:13:08.616	info	Restart adapter system.adapter.panasonic-viera.0 because enabled
                            host.raspberrypi	2021-05-24 17:13:08.615	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            panasonic-viera.0	2021-05-24 17:13:07.992	warn	(1300) Terminated (UNCAUGHT_EXCEPTION): Without reason
                            panasonic-viera.0	2021-05-24 17:13:07.991	info	(1300) terminating
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	(1300) callback is not a function
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	at process._tickCallback (internal/process/next_tick.js:63:19)
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	at endReadableNT (_stream_readable.js:1145:12)
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	at IncomingMessage.emit (events.js:203:15)
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.panasonic-viera/lib/viera.js:93:17)
                            panasonic-viera.0	2021-05-24 17:13:07.472	error	(1300) TypeError: callback is not a function
                            panasonic-viera.0	2021-05-24 17:13:07.470	error	(1300) uncaught exception: callback is not a function
                            

                            Trotz der Ankündigung im Log, macht die Instanz keinen Restart.
                            Es ist übrigens die Stable Version und der Fehler trat früher so nicht auf (meine ich).....

                            Gruß,
                            Thomas

                            J 1 Reply Last reply
                            0
                            • T thomke67
                              host.raspberrypi	2021-05-24 17:13:08.616	info	Restart adapter system.adapter.panasonic-viera.0 because enabled
                              host.raspberrypi	2021-05-24 17:13:08.615	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              panasonic-viera.0	2021-05-24 17:13:07.992	warn	(1300) Terminated (UNCAUGHT_EXCEPTION): Without reason
                              panasonic-viera.0	2021-05-24 17:13:07.991	info	(1300) terminating
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	(1300) callback is not a function
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	at process._tickCallback (internal/process/next_tick.js:63:19)
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	at endReadableNT (_stream_readable.js:1145:12)
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	at IncomingMessage.emit (events.js:203:15)
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.panasonic-viera/lib/viera.js:93:17)
                              panasonic-viera.0	2021-05-24 17:13:07.472	error	(1300) TypeError: callback is not a function
                              panasonic-viera.0	2021-05-24 17:13:07.470	error	(1300) uncaught exception: callback is not a function
                              

                              Trotz der Ankündigung im Log, macht die Instanz keinen Restart.
                              Es ist übrigens die Stable Version und der Fehler trat früher so nicht auf (meine ich).....

                              J Offline
                              J Offline
                              jack99n
                              wrote on last edited by
                              #142

                              Power on/off und die Erkennung ob on/off Funktioniert bei mir.

                              VumerV 1 Reply Last reply
                              0
                              • J jack99n

                                Power on/off und die Erkennung ob on/off Funktioniert bei mir.

                                VumerV Offline
                                VumerV Offline
                                Vumer
                                wrote on last edited by
                                #143

                                Power on/off funktioniert
                                Erkennung ob on/off funktioniert nicht. Auch nicht wenn während TV aus ist dem Adapter neu starte.

                                1 Reply Last reply
                                0
                                • VumerV Offline
                                  VumerV Offline
                                  Vumer
                                  wrote on last edited by
                                  #144

                                  oh je

                                  host.iobroker	2021-05-26 22:03:00.027	info	instance system.adapter.daswetter.0 started with pid 18349
                                  host.iobroker	2021-05-26 21:35:26.063	warn	Do not restart adapter system.adapter.panasonic-viera.0 because restart loop detected
                                  host.iobroker	2021-05-26 21:35:26.063	info	Restart adapter system.adapter.panasonic-viera.0 because enabled
                                  host.iobroker	2021-05-26 21:35:26.061	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  panasonic-viera.0	2021-05-26 21:35:24.927	error	(18299) Exception-Code: ECONNRESET: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:35:24.927	error	at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
                                  panasonic-viera.0	2021-05-26 21:35:24.927	error	(18299) Error: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:35:24.927	error	(18299) unhandled promise rejection: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:35:24.925	error	(18299) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  host.iobroker	2021-05-26 21:32:52.804	info	instance system.adapter.panasonic-viera.0 started with pid 18299
                                  host.iobroker	2021-05-26 21:32:22.768	info	Restart adapter system.adapter.panasonic-viera.0 because enabled
                                  host.iobroker	2021-05-26 21:32:22.765	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  panasonic-viera.0	2021-05-26 21:32:21.631	error	(18274) Exception-Code: ECONNRESET: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:32:21.631	error	at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
                                  panasonic-viera.0	2021-05-26 21:32:21.631	error	(18274) Error: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:32:21.630	error	(18274) unhandled promise rejection: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:32:21.629	error	(18274) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  host.iobroker	2021-05-26 21:28:47.026	info	instance system.adapter.panasonic-viera.0 started with pid 18274
                                  host.iobroker	2021-05-26 21:28:17.004	info	Restart adapter system.adapter.panasonic-viera.0 because enabled
                                  host.iobroker	2021-05-26 21:28:17.001	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  panasonic-viera.0	2021-05-26 21:28:15.871	error	(18213) Exception-Code: ECONNRESET: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:28:15.871	error	at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
                                  panasonic-viera.0	2021-05-26 21:28:15.871	error	(18213) Error: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:28:15.870	error	(18213) unhandled promise rejection: read ECONNRESET
                                  panasonic-viera.0	2021-05-26 21:28:15.869	error	(18213) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  host.iobroker	2021-05-26 21:25:05.419	info	instance system.adapter.panasonic-viera.0 started with pid 18213
                                  host.iobroker	2021-05-26 21:25:03.472	info	instance system.adapter.panasonic-viera.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  host.iobroker	2021-05-26 21:25:03.399	info	stopInstance system.adapter.panasonic-viera.0 killing pid 18197
                                  host.iobroker	2021-05-26 21:25:02.397	info	stopInstance system.adapter.panasonic-viera.0 send kill signal
                                  
                                  1 Reply Last reply
                                  0
                                  • T Online
                                    T Online
                                    thomke67
                                    wrote on last edited by thomke67
                                    #145

                                    Immer noch das gleich Verhalten. Ich habe nun 2.0 installiert, aber sobald ich die Lautstärke ändere, steigt die Instanz aus....

                                    host.raspberrypi	2021-10-11 21:30:54.936	error	instance system.adapter.panasonic-viera.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                    panasonic-viera.0	2021-10-11 21:30:54.209	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                    panasonic-viera.0	2021-10-11 21:30:54.208	info	terminating
                                    panasonic-viera.0	2021-10-11 21:30:53.695	error	callback is not a function
                                    panasonic-viera.0	2021-10-11 21:30:53.694	error	TypeError: callback is not a function at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.panasonic-viera/lib/viera.js:93:17) at IncomingMessage.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
                                    panasonic-viera.0	2021-10-11 21:30:53.692	error	uncaught exception: callback is not a function
                                    

                                    ccc25bf3-1673-4ffd-8fcd-1bf3ffe05b64-grafik.png

                                    Gruß,
                                    Thomas

                                    C 2 Replies Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      Adrian-01
                                      wrote on last edited by
                                      #146

                                      Hallo zusammen,

                                      ich habe versucht mittelst dem Python Skript den pin Code zu bekommen, allerdings scheitert es leider schon nach der Installation von Panasonic-Viera.
                                      Da komme ich leider nicht mehr weiter welche Befehle sollten dann in der Commandozeile ausgeführt werden ?

                                      Kann mir hier jemand weiterhelfen ?

                                      VumerV 1 Reply Last reply
                                      0
                                      • A Adrian-01

                                        Hallo zusammen,

                                        ich habe versucht mittelst dem Python Skript den pin Code zu bekommen, allerdings scheitert es leider schon nach der Installation von Panasonic-Viera.
                                        Da komme ich leider nicht mehr weiter welche Befehle sollten dann in der Commandozeile ausgeführt werden ?

                                        Kann mir hier jemand weiterhelfen ?

                                        VumerV Offline
                                        VumerV Offline
                                        Vumer
                                        wrote on last edited by
                                        #147

                                        @adrian-01

                                        Hast du so versucht?
                                        https://forum.iobroker.net/topic/3501/wunsch-adapter-für-panasonic-viera-smart-tv-steuerung/132

                                        A 1 Reply Last reply
                                        0
                                        • VumerV Vumer

                                          @adrian-01

                                          Hast du so versucht?
                                          https://forum.iobroker.net/topic/3501/wunsch-adapter-für-panasonic-viera-smart-tv-steuerung/132

                                          A Offline
                                          A Offline
                                          Adrian-01
                                          wrote on last edited by
                                          #148

                                          @vumer

                                          Ja, bzw. Was genau muss ich ab dem Punkt „und los gehts“ tun ?

                                          Gruß

                                          VumerV 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          470

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe