Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. [Vorlage] Denon HEOS Script

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Vorlage] Denon HEOS Script

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      withstu @NWH last edited by

      @nwh Ich habe es gerade bei mir getestet. Sowohl bei zwei Einzelplayern als auch in einer Gruppe wurde eine Amazon Playlist mit "Play all" abgespielt. Was passiert wenn du manuell dann nochmal auf play drückst? Eventuell fügt HEOS die Lieder nur der Playlist hinzu, aber startet die Wiedergabe nicht.

      NWH 1 Reply Last reply Reply Quote 0
      • NWH
        NWH @withstu last edited by

        @withstu
        Habe gerade gesehen das der Player ein update will 🙄
        Hoffe es geht dann.... ---> Sorry nach dem update geht es......

        NWH 1 Reply Last reply Reply Quote 0
        • NWH
          NWH @NWH last edited by

          @withstu

          Ich hätte eine Frage zu den Protokolleinträgen, bekomme plötzlich diese Warnmeldungnen

          heos.0
          Zeit
          debug
          Nachricht
          
          heos.0
          2022-11-15 08:51:24.698	warn	[Marantz SR7013] [setError] Player Marantz SR7013 has to many leader failures. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          
          heos.0
          2022-11-15 08:51:09.696	warn	[Marantz SR7013] [setError] Player Marantz SR7013 has to many leader failures. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          
          heos.0
          2022-11-15 08:50:54.695	warn	[Marantz SR7013] [setError] Player Marantz SR7013 has to many leader failures. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          
          heos.0
          2022-11-15 08:50:42.984	warn	[setLastError] result=fail,text=ID Not Valid,command=player/get_play_state
          
          heos.0
          2022-11-15 08:50:42.981	warn	[checkDuplicateRequest] Response timed out: player/get_play_state?pid=1784603970. Increase leader failure counter.
          
          heos.0
          2022-11-15 08:50:42.981	warn	[checkDuplicateRequest] Response timed out: player/get_play_state?pid=1784603970. Increase leader failure counter.
          
          heos.0
          2022-11-15 08:50:42.980	warn	[Werkstatt ] [setError] HEOS is not responding as expected. Request timed out. Update play state.
          
          heos.0
          2022-11-15 08:50:42.980	warn	[Werkstatt ] [setError] Player Werkstatt has to many failures. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          
          heos.0
          2022-11-15 08:50:42.980	warn	[Werkstatt ] [setError] Player Werkstatt has to many upnp failures. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          
          heos.0
          2022-11-15 08:50:42.979	warn	[Werkstatt ] [setError] Player Werkstatt has to many timeouts. Reboot. Activate "reboot on failure" in the configuration or reboot manually the device.
          

          Was ist hier nicht Richtig?

          1 Reply Last reply Reply Quote 0
          • Olli_M
            Olli_M last edited by

            @withstu
            Hi

            also über mein Blockly schreibt er zwar die DP aber der Denon Ansich verändert nicht seine Laustärke.

            Es geht aber über diesen JS Befehl:

            setState('denon.0.zoneMain.volume', 47.5);
            

            Jetzt meine Frage bekomme ich da auch eine Bedinung rein wenn z.b. der Input auf TV ist Lautstärke XY

            Hätte 3 Bedingungen wo er die Lautstärke verändern müsste anhand vom Eingang.

            TV
            BD
            DVD

            Geht das mit JS?

            Negalein 1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @Olli_M last edited by

              @olli_m sagte in [Vorlage] Denon HEOS Script:

              Jetzt meine Frage bekomme ich da auch eine Bedinung rein wenn z.b. der Input auf TV ist Lautstärke XY

              siehe dazu deinen anderen Thread.
              Du musst nicht JS und Blockly mischen.
              Geht easy mit denon.0.zoneMain.volume und denon.0.zoneMain.selectInput

              Olli_M 1 Reply Last reply Reply Quote 0
              • Olli_M
                Olli_M @Negalein last edited by

                @negalein
                es geht ja eben nicht. Hab das Blockly nochmal neu aufgesetzt ohne den Aufruf des JS.

                Und wenn ich nur den JS Befehl nutze geht es ja nur da hab ich die Bedinung nicht drin.

                Aktuell ist nichts vermischt 🙂

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @Olli_M last edited by

                  @olli_m sagte in [Vorlage] Denon HEOS Script:

                  es geht ja eben nicht. Hab das Blockly nochmal neu aufgesetzt ohne den Aufruf des JS.
                  Und wenn ich nur den JS Befehl nutze geht es ja nur da hab ich die Bedinung nicht drin.
                  Aktuell ist nichts vermischt

                  hab dir drüben geantwortet

                  1 Reply Last reply Reply Quote 1
                  • R
                    Ratze last edited by

                    Liebe HEOS Gemeinde vielleicht kann mir hier geholfen werden...

                    Nach welchen Kriterien wird das Heos / Denon Gerät gesucht?
                    Lediglich auf Port 1255?
                    Muss das Heos Gerät im gleich Netzwerk wie der Adapter / IoBroker sein?
                    Falls ja, gibt es eine einfache Möglichkeit eine feste IP-Adresse zu hinterlegen?

                    Beides, der HEOS-Adapter und auch das Uhula Script finden keinen Player.
                    Aus allen Netzen kann ich den Denon Home Player via IP-Adresse über Telnet mit Port 1255
                    ansprechen.
                    Bei Anfrage über IP-Adresse funktioniert das Routing anscheinend nur auf Port-Ebene evtl. nicht bis schlecht 😉 im Netzwerk

                    Bin für jede Hilfe bzw. Tipps dankbar

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      withstu @Ratze last edited by withstu

                      @ratze Für die Suche der Player wird das Protokoll SSDP verwendet (https://de.m.wikipedia.org/wiki/Simple_Service_Discovery_Protocol), welches die Multicast Pakete der Player über UDP findet. Ich schaue mal, ob ich als Fallback zur automatischen Suche auch einen manuelle IP Konfiguration ermögliche. Die IP sollte dann aber statisch sein.

                      Zum Testen der SSDP Suche hatte ich mal folgendes Script im Adapter hinzugefügt. Vielleicht hilft es ja beim Debuggen:
                      https://github.com/withstu/ioBroker.heos/blob/main/test/node-ssdp/index.js

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Ratze @withstu last edited by Ratze

                        @withstu
                        Super für die schnelle Antwort... 🙂
                        Habe gestern Abend noch den Home350 ins IoBroker Netz (gleiche 192.xxx.xxx.xxx/24) gehangen.
                        Über den UPNP Adapter wird er erkannt.
                        Also SSDP sagt mir inziwschen etwas und ich kann auch sehen wo er aktiv ist.

                        
                        pi@Iobroker:~ $ npm list node-ssdp
                        /home/pi
                        `-- (empty)
                        
                        pi@Iobroker:~ $ cd /opt/iobroker
                        pi@Iobroker:/opt/iobroker $ npm list node-ssdp
                        iobroker.inst@3.0.0 /opt/iobroker
                        +-- iobroker.discovery@3.1.0
                        | `-- node-ssdp@4.0.1 deduped
                        +-- iobroker.heos@1.10.0
                        | `-- node-ssdp@4.0.1 deduped
                        +-- iobroker.javascript@6.1.4
                        | `-- node-ssdp@4.0.1
                        +-- iobroker.upnp@1.0.21
                        | `-- node-ssdp@4.0.1 deduped
                        `-- node-ssdp@4.0.1
                        
                        

                        Über Telnet kann ich allerdings die Zustände / Statis des Home350 abfragen.

                        const searchTargetName = 'urn:schemas-denon-com:device:ACT-Denon:1'
                        

                        Ich gehe mal davon aus, dass ACT-Denon:1 nicht unbedingt über Telnet mit Port 1255
                        zurückgegeben wird.

                        Der UPNP Adapter zeigt folgendes Ergebnis an

                        adf017a8-ad58-4ab7-8174-91abdc691c2d-grafik.png

                        {
                          "type": "device",
                          "common": {
                            "name": "350SLE",
                            "extIcon": "http://192.xxx.xxx.xxx:60006"
                          },
                          "native": {
                            "ip": "192.xxx.xxx.xxx",
                            "port": 60006,
                            "uuid": "b63f6000-af30-1683-0080-00a96f0fdfe4",
                            "deviceType": "urn:schemas-denon-com:device:AiosDevice:1",
                            "manufacturer": "Denon",
                            "manufacturerURL": "http://www.denon.com",
                            "modelNumber": "Aios 6.0S",
                            "modelDescription": "",
                            "modelName": "Denon Home 350",
                            "modelURL": "",
                            "name": "350SLE"
                          },
                          "from": "system.adapter.upnp.0",
                          "user": "system.user.admin",
                          "ts": 1676664594189,
                          "_id": "upnp.0.350SLE.AiosDevice",
                          "acl": {
                            "object": 1636,
                            "owner": "system.user.admin",
                            "ownerGroup": "system.group.administrator"
                          }
                        }
                        

                        Der Überblick was Telnet über heos://player/get_player_info? zurückgibt

                        heos://player/get_player_info?pid=-1234567890
                        {"heos": {"command": "player/get_player_info", 
                        "result": "success", "message": "                     pid=-1234567890"},
                        "payload": {"name": "350SLE", "pid": -1234567890, "model": "D                     enon Home 350",
                        "version": "2.71.510", "ip": "192.xxx.xxxx.xxx", "network": "wifi"                     , 
                        "lineout": 0,
                        "serial": "BME27234567899"}}
                        
                        

                        https://github.com/withstu/ioBroker.heos/blob/main/test/node-ssdp/index.js
                        Das Script ist im Einsatz, Debug gibt invalid Response State aus... macht aber eine Schleife
                        beide der Player Suche... Ich vermute das mein Home350 evtl. ein anderes Ergebnis als

                        searchTargetName = 'urn:schemas-denon-com:device:ACT-Denon:1'
                        

                        zurück gibt.

                        Was ich noch gefunden habe...
                        https://support-de.denon.com/app/answers/detail/a_id/4720/~/netzwerk-anforderungen-fÜr-heos
                        Laut Denon Support-Seite sind folgende Voraussetzungen zu erfüllen
                        Der Bereich zwischen 50000 und 64999 für MediaRenderer und 60006 für Media Server.

                        Darüber hinaus ist für UPnP ein Multicast-Zugriff zu 239.255.255.250:1900 zusammen mit den entsprechenden "IGMP Control Messages" zu ermöglichen.

                        Wirklich vielen Dank... an alle die sich die Mühe machen Scripte und Adapter
                        für uns zu erstellen und dann die bereit sind Mensche wie mir zu helfen!!!
                        Dankesehr

                        Zum UPNP-Adapter https://github.com/Jey-Cee/ioBroker.upnp/blob/master/main.js
                        Dieser hat tatsähclich im Skript den Aufruf bzgl. SSDP-IP zu 239.255.255.250

                         let server = new Server({ssdpIp: '239.255.255.250'});
                        

                        Und den Parameter bei der Suche

                        client.search('ssdp:all');
                        

                        (Was mir bewusst ist, dass alle möglichen UPNP Geräte über die UPNP-Adapter Suche gefunden werden sollen)

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ratze last edited by Ratze

                          Danke für die Hilfe, habe in der Zwischenzeit den Player Home 350 eingebunden.

                          Netzwerke nochmals kontrolliert Multicast auf dem Wifi-Netz freigegeben.

                          Änderung im Script

                          const searchTargetName = 'urn:schemas-denon-com:device:AiosDevice:1';
                          

                          Zappp... Ist der HEOS-Player aufgetaucht.

                          danke danke... Danke @Uhula für das Script... Super arbeit!
                          Ups mit ist da etwas entgangen!
                          Herr @withstu ... ich möchte mich für den HEOS-Adapter Bedanken (WOW)
                          und noch mal Danke für den Einsatz.

                          1 Reply Last reply Reply Quote 0
                          • B
                            bouster last edited by

                            Hallo,
                            ich hatte das Skript etwa 2 Jahr am laufen jetzt und es hat alles problemlos für meine Zwecke (Umschalten des Eingangs, Start, Stop, Pause, Weiter, Zurück, Lauter, Leiser) geklappt.
                            Seit Februar wird leider kein Player mehr erkannt.
                            Ich finde das alte skript aus 2019, das neue aus 2020 und auch im HEOS adapter keine Player mehr. Der Heos adapter startet jedoch den im Netzwerk befindlichen HEOS Amp etwa alle 5-10 min neu.

                            Mit ist noch aufgefallen, dass das Skript keine meldung signed in gibt und auch der signed in status false zurück gibt, obwohl ich sowohl im HEOS adapter als auch im Skript die Logindaten angegeben habe und mehrfach auf richtigkeit geprüft (sie haben ja auch 2 Jahre lang funktioniert).
                            Da ich aber nichts an den Einstellungen noch am Skript verändert habe ist es mir ein Rätsel wo der Fehler liegen könnte der sich eingeschlichen hat.

                            Leider sind meine Kenntnisse in diesem Bereich nicht so groß und ich habe das meiste mit Hilfe diverser Tutorials eingerichtet. Meine Fehlersuche beschränkt sich bis jetzt auf das verstehen der Log Meldungen. Wenn ich das Skript starte erhalte ich folgende Log Einträge:

                            javascript.1
                            	15550	2023-05-17 12:02:16.818	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 12:01:46.817	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 12:01:16.817	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 12:00:46.817	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 12:00:16.815	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 11:59:46.815	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 11:59:16.814	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 11:58:46.814	info	script.js.Heos.Heos_2020: [Heos] still searching for HEOS devices ...
                            admin.0
                            	4495	2023-05-17 11:58:19.744	info	<== Disconnect system.user.admin from ::ffff:192.xxx.xxx.xxx javascript
                            admin.0
                            	4495	2023-05-17 11:58:19.744	info	<== Disconnect system.user.admin from ::ffff:192.xxx.xxx.xxx javascript
                            javascript.1
                            	15550	2023-05-17 11:58:16.867	warn	Object of state "0_userdata.0.heos.connected" is missing the required property "common.type"
                            javascript.1
                            	15550	2023-05-17 11:58:16.814	info	script.js.Heos.Heos_2020: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                            javascript.1
                            	15550	2023-05-17 11:58:16.806	info	script.js.Heos.Heos_2020: [Heos] searching for HEOS devices ...
                            javascript.1
                            	15550	2023-05-17 11:58:16.775	info	Start javascript script.js.Heos.Heos_2020
                            

                            Für den Heos Adapter sieht es wie folgt aus:

                            heos.0
                            	19051	2023-05-17 12:03:06.253	info	searching for HEOS devices ...
                            heos.0
                            	19051	2023-05-17 12:03:06.025	info	starting. Version 1.10.0 in /opt/iobroker/node_modules/iobroker.heos, node: v14.21.3, js-controller: 4.0.23
                            host.raspberrypi
                            		2023-05-17 12:03:03.125	info	instance system.adapter.heos.0 started with pid 19051
                            host.raspberrypi
                            		2023-05-17 12:03:02.944	info	"system.adapter.heos.0" enabled
                            

                            Kann mir jemand bei der Fehlersuche behilflich sein? Gibt es einen anderen Ansatzpunkt (HEOS Adapter Update, JS Adapter Update?), warum die Verbindung plötzlich nicht mehr funktioniert?

                            DJMarc75 1 Reply Last reply Reply Quote 0
                            • DJMarc75
                              DJMarc75 @bouster last edited by

                              @bouster sagte in [Vorlage] Denon HEOS Script:

                              node: v14.21.3, js-controller: 4.0.23

                              Vermutlich das System noch nie so richtig auf Stand gebracht.

                              Zeig mal bitte die Ausgabe von

                              iob diag
                              
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bouster @DJMarc75 last edited by

                                @djmarc75
                                iob diag gibt folgendes aus:

                                iobroker [command]
                                
                                Commands:
                                  iobroker setup                                               Setup ioBroker
                                  iobroker start [all|<adapter>.<instance>]                    Starts the js-controller or a specified adapter instance
                                  iobroker stop [<adapter>.<instance>]                         stops the js-controller or a specified adapter instance
                                  iobroker restart [<adapter>.<instance>]                      Restarts js-controller or a specified adapter instance  [aliases: r]
                                  iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                                  iobroker info                                                Shows the host info
                                  iobroker logs [<adapter>]                                    Monitor log
                                  iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
                                  iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
                                  iobroker rebuild [<module>]                                  Rebuild all native modules or path
                                  iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                                  iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
                                  iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
                                  iobroker update [<repositoryUrl>]                            Update repository and list adapters
                                  iobroker upgrade                                             Upgrade management
                                  iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
                                  iobroker object                                              Object management  [aliases: o]
                                  iobroker state                                               State management  [aliases: s]
                                  iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                                  iobroker list <type> [<filter>]                              List all entries, like objects
                                  iobroker chmod <mode> <file>                                 Change file rights
                                  iobroker chown <user> <group> <file>                         Change file ownership
                                  iobroker touch <file>                                        Touch file
                                  iobroker rm <file>                                           Remove file
                                  iobroker file                                                File management
                                  iobroker user                                                User commands
                                  iobroker group                                               group management
                                  iobroker host <hostname>                                     Set host to given hostname
                                  iobroker set <adapter>.<instance>                            Change settings of adapter config
                                  iobroker license <license.file or license.text>              Update license by given file
                                  iobroker cert                                                Certificate management
                                  iobroker clean <yes>                                         Clears all objects and states
                                  iobroker backup                                              Create backup
                                  iobroker restore <backup name or path>                       Restore a specified backup
                                  iobroker validate <backup name or path>                      Validate a specified backup
                                  iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
                                  iobroker repo [<name>]                                       Show repo information
                                  iobroker uuid                                                Show uuid of the installation  [aliases: id]
                                  iobroker unsetup                                             Reset license, installation secret and language
                                  iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                                  iobroker multihost                                           Multihost management
                                  iobroker compact                                             compact group management
                                  iobroker plugin                                              Plugin management
                                  iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
                                
                                Options:
                                  --help  Show help  [boolean]
                                
                                
                                DJMarc75 1 Reply Last reply Reply Quote 0
                                • B
                                  bouster last edited by

                                  Über folgendes skirpt https://forum.iobroker.net/topic/59549/iob-diag-skript bekomme ich eine Menge sensible Informationen. Ich habe mal das was ich denke wichtig ist angehängt:

                                  ioBroker Status
                                  iobroker is running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: jsonl
                                  
                                  No configuration change needed.
                                  
                                  
                                  Multihost discovery server: disabled
                                  Discovery authentication:   enabled
                                  Persistent activation:      disabled
                                  Objects:                    jsonl on 127.xxx.xxx.xxx
                                  States:                     jsonl on 127.xxx.xxx.xxx
                                  
                                  Core adapters versions
                                  js-controller:  4.0.23
                                  admin:          6.3.5
                                  javascript:     6.1.4
                                  
                                  Adapters from github:   1
                                  
                                  Adapter State
                                  + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                  + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                                    system.adapter.broadlink2.0             : broadlink2            : raspberrypi                              - disabled
                                  + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                                  + system.adapter.heos.0                   : heos                  : raspberrypi                              -  enabled
                                  + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: xxxx
                                  + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                                  + system.adapter.javascript.1             : javascript            : raspberrypi                              -  enabled
                                  + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx
                                  + system.adapter.rpi2.0                   : rpi2                  : raspberrypi                              -  enabled
                                  + system.adapter.scenes.0                 : scenes                : raspberrypi                              -  enabled
                                  + system.adapter.signal-cmb.0             : signal-cmb            : raspberrypi                              -  enabled
                                  + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx (SSL), run as: admin
                                  + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0
                                    system.adapter.spotify-premium.0        : spotify-premium       : raspberrypi                              - disabled
                                  + system.adapter.upnp.0                   : upnp                  : raspberrypi                              -  enabled
                                  + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                  + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Contr
                                  
                                  + instance is alive
                                  
                                  Enabled adapters with bindings
                                  + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                  + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: xxxx
                                  + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx
                                  + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx(SSL), run as: admin
                                  + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0
                                  + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                  + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Contr
                                  
                                  ioBroker-Repositories
                                  stable        : http://download.iobroker.net/sources-dist.json
                                  beta          : http://download.iobroker.net/sources-dist-latest.json
                                  
                                  Active repo(s): stable
                                  
                                  Installed ioBroker-Instances
                                  Used repository: stable
                                  Adapter    "admin"        : 6.3.5    , installed 6.3.5
                                  Adapter    "backitup"     : 2.6.19   , installed 2.6.19
                                  Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                                  Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                  Adapter    "heos"         : 1.10.0   , installed 1.10.0
                                  Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                                  Adapter    "info"         : 1.9.26   , installed 1.9.26
                                  Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                                  Controller "js-controller": 4.0.24   , installed 4.0.23 [Updatable]
                                  Adapter    "mqtt"         : 4.0.7    , installed 2.7.4  [Updatable]
                                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                  Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                  Adapter    "signal-cmb"   : 0.3.0    , installed 0.3.0
                                  Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                  Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                  Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                                  Adapter    "spotify-premium": 1.2.1  , installed 1.2.1
                                  Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                                  Adapter    "web"          : 4.3.0    , installed 4.3.0
                                  Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                  Adapter    "zigbee"       : 1.8.10   , installed 1.8.10
                                  
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • DJMarc75
                                    DJMarc75 @bouster last edited by

                                    @bouster sagte in [Vorlage] Denon HEOS Script:

                                    iob diag gibt folgendes aus

                                    ok, dann bitte folgende Befehle ausführen

                                    iob stop
                                    iob fix
                                    iob start
                                    iob diag
                                    

                                    @bouster sagte in [Vorlage] Denon HEOS Script:

                                    eine Menge sensible Informationen. Ich habe mal das was ich denke wichtig ist angehängt

                                    Um Dir helfen zu können die Ausgabe von iob diag komplett inklusive Eingabe und Ausgabe posten - sonst wird das nix 🙂

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      bouster @DJMarc75 last edited by

                                      @djmarc75
                                      ok, also das hat schonmal funktioniert. Jetzt läuft es mit dem Befehl 🙂
                                      Da ich etwas paranoid bin (evtl auch gerade weil ich mich nicht so gut auskenne) habe ich den Teil der IP adressen entfernt, wenn der auch nötig ist würde ich ihn lieber nicht ganz so öffentlich teilen.
                                      Ich hoffe hiermit lässt sich arbeiten.

                                      Skript v.2023-04-16
                                      
                                      *** BASE SYSTEM ***
                                      Model           : Raspberry Pi 4 Model B Rev 1.5
                                      Architecture    : aarch64
                                      Docker          : false
                                      Virtualization  : none
                                      Distributor ID: Raspbian
                                      Description:    Raspbian GNU/Linux 11 (bullseye)
                                      Release:        11
                                      Codename:       bullseye
                                      
                                      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                                      NAME="Raspbian GNU/Linux"
                                      VERSION_ID="11"
                                      VERSION="11 (bullseye)"
                                      VERSION_CODENAME=bullseye
                                      ID=raspbian
                                      ID_LIKE=debian
                                      HOME_URL="http://www.raspbian.org/"
                                      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                                      
                                      Systemuptime and Load:
                                       15:26:29 up 20:50,  3 users,  load average: 2.51, 1.95, 1.15
                                      CPU threads: 4
                                      
                                      Raspberry only:
                                      throttled=0x0
                                      Other values than 0x0 hint to temperature/voltage problems
                                      temp=43.3'C
                                      volt=0.8900V
                                      
                                      *** Time and Time Zones ***
                                                     Local time: Wed 2023-05-17 15:26:29 CEST
                                                 Universal time: Wed 2023-05-17 13:26:29 UTC
                                                       RTC time: n/a
                                                      Time zone: Europe/Berlin (CEST, +0200)
                                      System clock synchronized: yes
                                                    NTP service: active
                                                RTC in local TZ: no
                                      
                                      *** User and Groups ***
                                      xxxxx
                                      /home/xxxxx
                                      xxxxx adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin docker gpio i2c spi iobroker
                                      
                                      *** X-Server-Setup ***
                                      X-Server:       true
                                      Desktop:
                                      Terminal:       tty
                                      Boot Target:    graphical.target
                                      
                                      *** MEMORY ***
                                                     total        used        free      shared  buff/cache   available
                                      Mem:            3.8G        1.3G        246M         40M        2.2G        2.5G
                                      Swap:            99M          0B         99M
                                      Total:          3.9G        1.3G        346M
                                      
                                               3794 M total memory
                                               1349 M used memory
                                               1887 M active memory
                                                796 M inactive memory
                                                246 M free memory
                                                303 M buffer memory
                                               1895 M swap cache
                                                 99 M total swap
                                                  0 M used swap
                                                 99 M free swap
                                      
                                      Raspberry only:
                                      oom events: 0
                                      lifetime oom required: 0 Mbytes
                                      total time in oom handler: 0 ms
                                      max time spent in oom handler: 0 ms
                                      
                                      *** FILESYSTEM ***
                                      Filesystem     Type      Size  Used Avail Use% Mounted on
                                      /dev/root      ext4       29G   19G  9.3G  67% /
                                      devtmpfs       devtmpfs  1.7G     0  1.7G   0% /dev
                                      tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                                      tmpfs          tmpfs     759M  2.7M  757M   1% /run
                                      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                      /dev/loop0     squashfs   47M   47M     0 100% /snap/core18/2723
                                      /dev/loop2     squashfs  225M  225M     0 100% /snap/nextcloud/21522
                                      /dev/loop1     squashfs   47M   47M     0 100% /snap/core18/2748
                                      /dev/loop3     squashfs   44M   44M     0 100% /snap/snapd/18936
                                      /dev/loop4     squashfs   44M   44M     0 100% /snap/snapd/19124
                                      /dev/mmcblk0p1 vfat      253M   51M  202M  20% /boot
                                      tmpfs          tmpfs     380M   36K  380M   1% /run/user/1000
                                      
                                      Messages concerning ext4 filesystem in dmesg:
                                      
                                      Show mounted filesystems (real ones only):
                                      TARGET                  SOURCE         FSTYPE   OPTIONS
                                      /                       /dev/mmcblk0p2 ext4     rw,noatime
                                      |-/snap/core18/2723     /dev/loop0     squashfs ro,nodev,relatime,errors=continue
                                      |-/snap/nextcloud/21522 /dev/loop2     squashfs ro,nodev,relatime,errors=continue
                                      |-/snap/core18/2748     /dev/loop1     squashfs ro,nodev,relatime,errors=continue
                                      |-/snap/snapd/18936     /dev/loop3     squashfs ro,nodev,relatime,errors=continue
                                      |-/snap/snapd/19124     /dev/loop4     squashfs ro,nodev,relatime,errors=continue
                                      `-/boot                 /dev/mmcblk0p1 vfat     rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                                      
                                      Files in neuralgic directories:
                                      
                                      /var:
                                      8.4G    /var/
                                      6.9G    /var/lib
                                      4.7G    /var/lib/docker/overlay2
                                      4.7G    /var/lib/docker
                                      1.9G    /var/lib/snapd
                                      
                                      Archived and active journals take up 136.0M in the file system.
                                      
                                      /opt/iobroker/backups:
                                      710M    /opt/iobroker/backups/
                                      
                                      /opt/iobroker/iobroker-data:
                                      273M    /opt/iobroker/iobroker-data/
                                      128M    /opt/iobroker/iobroker-data/files
                                      118M    /opt/iobroker/iobroker-data/backup-objects
                                      51M     /opt/iobroker/iobroker-data/files/javascript.admin
                                      38M     /opt/iobroker/iobroker-data/files/scenes.admin/static/js
                                      
                                      The five largest files in iobroker-data are:
                                      8.9M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map
                                      8.7M    /opt/iobroker/iobroker-data/objects.jsonl
                                      7.5M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.2afdfa2c.chunk.js.map
                                      7.1M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.21829349.chunk.js.map
                                      7.0M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.5d4fbf6a.chunk.js.map
                                      
                                      *** NodeJS-Installation ***
                                      
                                      /usr/bin/nodejs         v14.21.3
                                      /usr/bin/node           v14.21.3
                                      /usr/bin/npm            6.14.18
                                      /usr/bin/npx            6.14.18
                                      
                                      
                                      nodejs:
                                        Installed: 14.21.3-deb-1nodesource1
                                        Candidate: 14.21.3-deb-1nodesource1
                                        Version table:
                                       *** 14.21.3-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           12.22.12~dfsg-1~deb11u4 500
                                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                      
                                      Temp directories causing npm8 problem: 0
                                      No problems detected
                                      
                                      *** ioBroker-Installation ***
                                      
                                      ioBroker Status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: jsonl
                                      
                                      MULTIHOSTSERVICE/enabled: false
                                      
                                      Core adapters versions
                                      js-controller:  4.0.23
                                      admin:          6.3.5
                                      javascript:     6.1.4
                                      
                                      Adapters from github:   1
                                      
                                      Adapter State
                                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                                        system.adapter.broadlink2.0             : broadlink2            : raspberrypi                              - disabled
                                      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                                        system.adapter.heos.0                   : heos                  : raspberrypi                              - disabled
                                      + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: xxxx
                                      + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                                      + system.adapter.javascript.1             : javascript            : raspberrypi                              -  enabled
                                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx
                                      + system.adapter.rpi2.0                   : rpi2                  : raspberrypi                              -  enabled
                                      + system.adapter.scenes.0                 : scenes                : raspberrypi                              -  enabled
                                      + system.adapter.signal-cmb.0             : signal-cmb            : raspberrypi                              -  enabled
                                      + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx(SSL), run as: admin
                                      + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0
                                        system.adapter.spotify-premium.0        : spotify-premium       : raspberrypi                              - disabled
                                        system.adapter.upnp.0                   : upnp                  : raspberrypi                              - disabled
                                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                      + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_2ce58c1eff92eb11b66e214f3d98b6d1-if00-port0
                                      
                                      + instance is alive
                                      
                                      Enabled adapters with bindings
                                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                      + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: xxxx
                                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx
                                      + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: xxxx, bind: 192.xxx.xxx.xxx(SSL), run as: admin
                                      + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0
                                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: xxxx, bind: 0.0.0.0 (SSL), run as: admin
                                      + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_2ce58c1eff92eb11b66e214f3d98b6d1-if00-port0
                                      
                                      ioBroker-Repositories
                                      stable        : http://download.iobroker.net/sources-dist.json
                                      beta          : http://download.iobroker.net/sources-dist-latest.json
                                      
                                      Active repo(s): stable
                                      
                                      Installed ioBroker-Instances
                                      Used repository: stable
                                      Adapter    "admin"        : 6.3.5    , installed 6.3.5
                                      Adapter    "backitup"     : 2.6.19   , installed 2.6.19
                                      Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                                      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                      Adapter    "heos"         : 1.10.0   , installed 1.10.0
                                      Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                                      Adapter    "info"         : 1.9.26   , installed 1.9.26
                                      Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                                      Controller "js-controller": 4.0.24   , installed 4.0.23 [Updatable]
                                      Adapter    "mqtt"         : 4.0.7    , installed 2.7.4  [Updatable]
                                      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                      Adapter    "signal-cmb"   : 0.3.0    , installed 0.3.0
                                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                                      Adapter    "spotify-premium": 1.2.1  , installed 1.2.1
                                      Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                                      Adapter    "web"          : 4.3.0    , installed 4.3.0
                                      Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                      Adapter    "zigbee"       : 1.8.10   , installed 1.8.10
                                      
                                      Objects and States
                                      Please stand by - This may take a while
                                      Objects:        5151
                                      States:         3396
                                      
                                      *** OS-Repositories and Updates ***
                                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      Hit:2 https://deb.nodesource.com/node_14.x buster InRelease
                                      Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:4 https://download.docker.com/linux/raspbian bullseye InRelease
                                      Reading package lists...
                                      Pending Updates: 3
                                      
                                      *** Listening Ports ***
                                      Active Internet connections (only servers)
                                      
                                      xxx
                                      
                                      *** Log File - Last 25 Lines ***
                                      
                                      2023-05-17 15:25:55.948  - info: info.0 (8811) Reading/updating systemdata.
                                      2023-05-17 15:25:57.044  - info: info.0 (8811) State value to set for "info.0.sysinfo.cpu.info.speed" has to be type "string" but received type "number"
                                      2023-05-17 15:25:57.201  - info: info.0 (8811) State value to set for "info.0.sysinfo.cpu.info.cache-l3" has to be type "number" but received type "string"
                                      2023-05-17 15:25:57.421  - info: info.0 (8811) cpu Temp res = {"main":45.764,"cores":[],"max":45.764,"socket":[],"chipset":null}
                                      2023-05-17 15:25:59.584  - info: host.raspberrypi instance system.adapter.simple-api.0 started with pid 9066
                                      2023-05-17 15:25:59.658  - info: web.0 (8850) starting. Version 4.3.0 in /opt/iobroker/node_modules/iobroker.web, node: v14.21.3, js-controller: 4.0.23
                                      2023-05-17 15:26:00.277  - info: web.0 (8850) Secure socket.io server listening on port 8082
                                      2023-05-17 15:26:00.309  - info: web.0 (8850) https server listening on port 8082
                                      2023-05-17 15:26:01.923  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x0017880109409518 LWA009
                                      2023-05-17 15:26:02.100  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x001788010c3c16d7 929003046301_03
                                      2023-05-17 15:26:02.700  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x0017880108d9874f LWA009
                                      2023-05-17 15:26:02.934  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x001788010c429b4b 929003046301_02
                                      2023-05-17 15:26:03.586  - info: host.raspberrypi instance system.adapter.backitup.0 started with pid 9141
                                      2023-05-17 15:26:03.915  - info: simple-api.0 (9066) starting. Version 2.7.2 in /opt/iobroker/node_modules/iobroker.simple-api, node: v14.21.3, js-controller: 4.0.23
                                      2023-05-17 15:26:04.063  - info: simple-api.0 (9066) Secure simpleAPI server listening on port 8087
                                      2023-05-17 15:26:04.064  - info: simple-api.0 (9066) Allow states only when user is owner: false
                                      2023-05-17 15:26:04.093  - info: simple-api.0 (9066) https server listening on port 8087
                                      2023-05-17 15:26:06.590  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x0017880109898696 440400982841
                                      2023-05-17 15:26:06.912  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x7cb03eaa0a0061c9 LIGHTIFY Indoor Flex RGBW
                                      2023-05-17 15:26:07.009  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x7cb03eaa0a0091da LIGHTIFY Indoor Flex RGBW
                                      2023-05-17 15:26:07.373  - info: backitup.0 (9141) starting. Version 2.6.19 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.21.3, js-controller: 4.0.23
                                      2023-05-17 15:26:07.407  - warn: zigbee.0 (8546) DeviceAvailability:Failed to ping 0x00178801098986f7 440400982841
                                      2023-05-17 15:26:07.539  - info: host.raspberrypi instance system.adapter.signal-cmb.0 started with pid 9461
                                      2023-05-17 15:26:07.596  - info: backitup.0 (9141) [iobroker] backup will be activated at 02:40 every 1 day(s)
                                      2023-05-17 15:26:10.877  - info: signal-cmb.0 (9461) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.signal-cmb, node: v14.21.3, js-controller: 4.0.23
                                      
                                      
                                      W Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • W
                                        withstu @bouster last edited by

                                        @bouster Du könntest das Logging Level der Heos Instanz mal von Info auf Debug oder Silly ändern und schauen, was der Adapter so ausgibt. Ich habe bei mir übrigens die empfohlene Node Version 18 und npm 9 laufen. Vielleicht hilft bei dir bereits ein Update.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          bouster @withstu last edited by

                                          @withstu Das komische ist, dass es bis vor ca 2 Monaten problemlos funktioniert hat und von einem auf den anderen Tag nicht mehr. Das Update muss ich dann wohl mal angehen...

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            bouster last edited by

                                            @withstu ich habe nun alle geupdated. Raspbian von Buster auf Bullseye. Node auf 18 und npm auf 9. Dann ging der Adapter für ca. 10 min. Dann habe ich das Skript gestartet und kurz darauf läuft es nicht mehr. Skript wieder aus HEOS adapter neu starten hilft nicht. Beides verbindet wieder nicht mehr...

                                            DJMarc75 W 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            45
                                            341
                                            55054
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo