Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. LIRC Adapter Funktion mit RPI4

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

LIRC Adapter Funktion mit RPI4

Geplant Angeheftet Gesperrt Verschoben Einsteigerfragen
20 Beiträge 2 Kommentatoren 452 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @johndoe

    Läuft der LIRC grundsätzlich? Der iobroker-Adapter sattelt ja nur drauf auf.

    apt policy lirc lirc-x liblircclient0 inputlirc
    systemctl status lirc*
    
    J Offline
    J Offline
    JohnDoe
    schrieb am zuletzt editiert von
    #3
    $ apt policy lirc lirc-x liblircclient0 inputlirc
    lirc:
      Installed: 0.10.1-6.3
      Candidate: 0.10.1-6.3
      Version table:
     *** 0.10.1-6.3 500
            500 http://deb.debian.org/debian bullseye/main arm64 Packages
            100 /var/lib/dpkg/status
    lirc-x:
      Installed: (none)
      Candidate: 0.10.1-6.3
      Version table:
         0.10.1-6.3 500
            500 http://deb.debian.org/debian bullseye/main arm64 Packages
    liblircclient0:
      Installed: (none)
      Candidate: 0.10.1-6.3
      Version table:
         0.10.1-6.3 500
            500 http://deb.debian.org/debian bullseye/main arm64 Packages
    inputlirc:
      Installed: (none)
      Candidate: 33-1
      Version table:
         33-1 500
            500 http://deb.debian.org/debian bullseye/main arm64 Packages
    
    
    $ systemctl status lirc*
    ● lircd.socket
         Loaded: loaded (/lib/systemd/system/lircd.socket; enabled; vendor preset: enabled)
         Active: active (running) since Sat 2022-08-13 16:18:05 CEST; 1h 20min ago
       Triggers: ● lircd.service
         Listen: /run/lirc/lircd (Stream)
         CGroup: /system.slice/lircd.socket
    
    Aug 13 16:18:05 SmartHomePi systemd[1]: Listening on lircd.socket.
    
    ● lircd.service - Flexible IR remote input/output application support
         Loaded: loaded (/lib/systemd/system/lircd.service; enabled; vendor preset: enabled)
         Active: active (running) since Sat 2022-08-13 16:18:07 CEST; 1h 20min ago
    TriggeredBy: ● lircd.socket
           Docs: man:lircd(8)
                 http://lirc.org/html/configure.html
       Main PID: 502 (lircd)
          Tasks: 2 (limit: 1829)
            CPU: 6.878s
         CGroup: /system.slice/lircd.service
                 └─502 /usr/sbin/lircd --nodaemon
    
    Aug 13 16:37:37 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: removed client
    Aug 13 16:37:37 SmartHomePi lircd-0.10.1[502]: Info: removed client
    Aug 13 17:03:33 SmartHomePi lircd[502]: lircd-0.10.1[502]: Notice: accepted new client on /var/run/lirc/lircd
    Aug 13 17:03:33 SmartHomePi lircd-0.10.1[502]: Notice: accepted new client on /var/run/lirc/lircd
    Aug 13 17:03:33 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: removed client
    Aug 13 17:03:33 SmartHomePi lircd-0.10.1[502]: Info: removed client
    
    
    1 Antwort Letzte Antwort
    0
    • J Offline
      J Offline
      JohnDoe
      schrieb am zuletzt editiert von
      #4

      Wie gesagt, übers Terminal kann ich die IR-LED ansteuern.
      Ich sehe mit der Digitalkamera die LED aufblitzen.

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • J JohnDoe

        Wie gesagt, übers Terminal kann ich die IR-LED ansteuern.
        Ich sehe mit der Digitalkamera die LED aufblitzen.

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #5

        @johndoe sagte in LIRC Adapter Funktion mit RPI4:

        Wie gesagt, übers Terminal kann ich die IR-LED ansteuern.

        Das heißt nix, der iobroker muss als client auf den lircd zugreifen können.
        lirc bringt aber ganz merkwürdige Abhängigkeiten zum X-Server und dem Druckersystem cups mit, das mag ich nicht auf meinem System haben. Sonst hätte ich das mal installiert.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Antwort Letzte Antwort
        0
        • J Offline
          J Offline
          JohnDoe
          schrieb am zuletzt editiert von
          #6

          Ich habe jetzt gerade mal die LIRC Instanz neu gestartet.
          Danach bekomme ich diese Ausgabe (systemctl status lirc*):

          Aug 13 17:59:02 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: removed client
          Aug 13 17:59:02 SmartHomePi lircd-0.10.1[502]: Info: removed client
          Aug 13 17:59:10 SmartHomePi lircd[502]: lircd-0.10.1[502]: Notice: accepted new client from 127.0.0.1
          Aug 13 17:59:10 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
          Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Notice: accepted new client from 127.0.0.1
          Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • J JohnDoe

            Ich habe jetzt gerade mal die LIRC Instanz neu gestartet.
            Danach bekomme ich diese Ausgabe (systemctl status lirc*):

            Aug 13 17:59:02 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: removed client
            Aug 13 17:59:02 SmartHomePi lircd-0.10.1[502]: Info: removed client
            Aug 13 17:59:10 SmartHomePi lircd[502]: lircd-0.10.1[502]: Notice: accepted new client from 127.0.0.1
            Aug 13 17:59:10 SmartHomePi lircd[502]: lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
            Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Notice: accepted new client from 127.0.0.1
            Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #7

            @johndoe sagte in LIRC Adapter Funktion mit RPI4:

            /dev/lirc0

            Wie sehen da die Rechte aus?

            ls -l /dev/lirc0
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • J Offline
              J Offline
              JohnDoe
              schrieb am zuletzt editiert von
              #8

              @thomas-braun said in LIRC Adapter Funktion mit RPI4:

              ls -l /dev/lirc0

              crw-rw---- 1 root video 251, 0 Aug 13 16:18 /dev/lirc0
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • J JohnDoe

                @thomas-braun said in LIRC Adapter Funktion mit RPI4:

                ls -l /dev/lirc0

                crw-rw---- 1 root video 251, 0 Aug 13 16:18 /dev/lirc0
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #9

                @johndoe

                Ist der user iobroker in der Gruppe 'video' drin?
                Vermutlich nicht.

                sudo -u iobroker groups
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                1 Antwort Letzte Antwort
                0
                • J Offline
                  J Offline
                  JohnDoe
                  schrieb am zuletzt editiert von
                  #10
                  iobroker tty dialout audio video bluetooth gpio i2c
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • J JohnDoe
                    iobroker tty dialout audio video bluetooth gpio i2c
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #11

                    @johndoe

                    Bitte vollständige Ein- und Ausgabezeilen posten.

                    Lirc ist etwas tricky. Im Ubuntu-Wiki gibt es noch ein paar Hinweise:

                    https://wiki.ubuntuusers.de/Lirc/

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    J 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @johndoe

                      Bitte vollständige Ein- und Ausgabezeilen posten.

                      Lirc ist etwas tricky. Im Ubuntu-Wiki gibt es noch ein paar Hinweise:

                      https://wiki.ubuntuusers.de/Lirc/

                      J Offline
                      J Offline
                      JohnDoe
                      schrieb am zuletzt editiert von JohnDoe
                      #12

                      @thomas-braun said in LIRC Adapter Funktion mit RPI4:

                      Bitte vollständige Ein- und Ausgabezeilen posten.

                      Was meinst du?
                      So:

                      $ sudo -u iobroker groups
                      iobroker tty dialout audio video bluetooth gpio i2c
                      
                      

                      Mehr kommt da nicht.

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • J JohnDoe

                        @thomas-braun said in LIRC Adapter Funktion mit RPI4:

                        Bitte vollständige Ein- und Ausgabezeilen posten.

                        Was meinst du?
                        So:

                        $ sudo -u iobroker groups
                        iobroker tty dialout audio video bluetooth gpio i2c
                        
                        

                        Mehr kommt da nicht.

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #13

                        @johndoe

                        So.

                        echad@chet:/opt/iobroker $ sudo -u iobroker groups
                        iobroker tty dialout audio video plugdev bluetooth gpio i2c
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        0
                        • J Offline
                          J Offline
                          JohnDoe
                          schrieb am zuletzt editiert von
                          #14
                          SHPI@SmartHomePi:~ $ sudo -u iobroker groups
                          iobroker tty dialout audio video bluetooth gpio i2c
                          
                          1 Antwort Letzte Antwort
                          0
                          • J Offline
                            J Offline
                            JohnDoe
                            schrieb am zuletzt editiert von JohnDoe
                            #15

                            Aber Fakt ist doch, dass der LIRC Adapter mit lirc verbunden ist und lirc auch sendet.
                            Was bedeutet das denn:

                            Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
                            

                            ?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • J JohnDoe

                              Aber Fakt ist doch, dass der LIRC Adapter mit lirc verbunden ist und lirc auch sendet.
                              Was bedeutet das denn:

                              Aug 13 17:59:10 SmartHomePi lircd-0.10.1[502]: Info: Cannot configure the rc device for /dev/lirc0
                              

                              ?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #16

                              @johndoe

                              Vermutlich nichts, du willst ja keine rc / Fernbedienung betreiben.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0
                              • J Offline
                                J Offline
                                JohnDoe
                                schrieb am zuletzt editiert von JohnDoe
                                #17

                                Kann es daran liegen:

                                SHPI@SmartHomePi:~ $ sudo systemctl restart lirc.service
                                Failed to restart lirc.service: Unit lirc.service not found.
                                

                                ?

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • J JohnDoe

                                  Kann es daran liegen:

                                  SHPI@SmartHomePi:~ $ sudo systemctl restart lirc.service
                                  Failed to restart lirc.service: Unit lirc.service not found.
                                  

                                  ?

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #18

                                  @johndoe sagte in LIRC Adapter Funktion mit RPI4:

                                  lirc.service

                                  Das heißt auch lircd.service

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  0
                                  • J Offline
                                    J Offline
                                    JohnDoe
                                    schrieb am zuletzt editiert von JohnDoe
                                    #19

                                    Hat es was zu sagen, dass die Meldungen von lircd.service doppelt kommen:

                                    SHPI@SmartHomePi:~ $ systemctl status lircd.service
                                    ● lircd.service - Flexible IR remote input/output application support
                                         Loaded: loaded (/lib/systemd/system/lircd.service; enabled; vendor preset: enabled)
                                         Active: active (running) since Sat 2022-08-13 20:51:49 CEST; 5min ago
                                    TriggeredBy: ● lircd.socket
                                           Docs: man:lircd(8)
                                                 http://lirc.org/html/configure.html
                                       Main PID: 965 (lircd)
                                          Tasks: 2 (limit: 1829)
                                            CPU: 1.815s
                                         CGroup: /system.slice/lircd.service
                                                 └─965 /usr/sbin/lircd --nodaemon
                                    
                                    Aug 13 20:53:01 SmartHomePi lircd[965]: lircd-0.10.1[965]: Notice: accepted new client from 127.0.0.1
                                    Aug 13 20:53:01 SmartHomePi lircd-0.10.1[965]: Notice: accepted new client from 127.0.0.1
                                    Aug 13 20:53:02 SmartHomePi lircd[965]: lircd-0.10.1[965]: Info: removed client
                                    Aug 13 20:53:02 SmartHomePi lircd[965]: lircd-0.10.1[965]: Info: removed client
                                    Aug 13 20:53:02 SmartHomePi lircd-0.10.1[965]: Info: removed client
                                    Aug 13 20:53:02 SmartHomePi lircd-0.10.1[965]: Info: removed client
                                    Aug 13 20:53:33 SmartHomePi lircd[965]: lircd-0.10.1[965]: Notice: accepted new client from 127.0.0.1
                                    Aug 13 20:53:33 SmartHomePi lircd-0.10.1[965]: Notice: accepted new client from 127.0.0.1
                                    Aug 13 20:53:33 SmartHomePi lircd[965]: lircd-0.10.1[965]: Info: Cannot configure the rc device for /dev/lirc0
                                    Aug 13 20:53:33 SmartHomePi lircd-0.10.1[965]: Info: Cannot configure the rc device for /dev/lirc0
                                    
                                    

                                    ?

                                    Ich habe LIRC noch mal neu installiert und konfiguriert: Keine Änderung.
                                    Der LIRC-Adapter ist mit dem Client verbunden und über die RPI-Konsole kann ich IR-Kommandos schicken.
                                    Aber im IOBroker werden die Fernbedienung-KEYs nicht angezeigt.

                                    1 Antwort Letzte Antwort
                                    0
                                    • J Offline
                                      J Offline
                                      JohnDoe
                                      schrieb am zuletzt editiert von
                                      #20

                                      Nachdem ich jetzt alles noch mal neu installiert und konfiguriert habe, läuft LIRC einwandfrei. :+1:

                                      1 Antwort Letzte Antwort
                                      0
                                      Antworten
                                      • In einem neuen Thema antworten
                                      Anmelden zum Antworten
                                      • Älteste zuerst
                                      • Neuste zuerst
                                      • Meiste Stimmen


                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      323

                                      Online

                                      32.6k

                                      Benutzer

                                      82.0k

                                      Themen

                                      1.3m

                                      Beiträge
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                      ioBroker Community 2014-2025
                                      logo
                                      • Anmelden

                                      • Du hast noch kein Konto? Registrieren

                                      • Anmelden oder registrieren, um zu suchen
                                      • Erster Beitrag
                                        Letzter Beitrag
                                      0
                                      • Home
                                      • Aktuell
                                      • Tags
                                      • Ungelesen 0
                                      • Kategorien
                                      • Unreplied
                                      • Beliebt
                                      • GitHub
                                      • Docu
                                      • Hilfe