Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter drops-weather 1.2.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter drops-weather 1.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcm1957
      mcm1957 @Thomas Braun last edited by

      @thomas-braun

      Hallo Thomas,
      Mein Pi mag das Paket chromium-headless-shell nicht:

      pi@pi4:~ $ sudo apt install chromium-headless-shell
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      E: Unable to locate package chromium-headless-shell
      pi@pi4:~ $ uname -a
      Linux pi4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
      

      Ok ist noch nicht auf bookwork, aber da bin ich wahrscheinlich nicht der einzige User:-)
      (bookwork kommt mit dem seit monaten rumliegenden Pi5 - mir fehlt nur die Zeit für den Umstieg. Dauern ist was bei Adaptern oder im Repo zu tun 🙂

      Zurück zu Frage:
      Kannst du bitte schaun ob ich warum das Debian Paket auf dem Raspi nicht verfügbar zu sein scheint?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mcm1957 last edited by

        @mcm1957 sagte in Test Adapter drops-weather 1.0.x:

        chromium-headless-shell

        Gibt es erst ab Debian 12 / Bookworm.
        Die Litanei, warum man keine abgekündigten Releases produktiv fährt erspar ich mir.

        https://packages.debian.org/search?keywords=chromium-headless-shell&searchon=names&suite=all&section=all

        Bis Debian 11 / Bullseye hieß das Paket wohl
        chromium-shell

        https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=chromium-shell

        Versuch es mal damit.

        mcm1957 2 Replies Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active last edited by

          ich schmeiss mal in die Runde gibts noch weitere alternativen zu axios (was nicht geht) und puppeteer ? (was probleme verursacht)

          mcm1957 simatec 2 Replies Last reply Reply Quote 1
          • mcm1957
            mcm1957 @Thomas Braun last edited by

            @thomas-braun said in Test Adapter drops-weather 1.0.x:

            @mcm1957 sagte in Test Adapter drops-weather 1.0.x:

            chromium-headless-shell

            Gibt es erst ab Debian 12 / Bookworm.
            Die Litanei, warum man keine abgekündigten Releases produktiv fährt erspar ich mir.

            Ja und Danke.
            Ich werd mal hier die Aktivitäten einschränken und meine Upodates machen 🙂 🙂 🙂

            https://packages.debian.org/search?keywords=chromium-headless-shell&searchon=names&suite=all&section=all

            Bis Debian 11 / Bullseye hieß das Paket wohl
            chromium-shell

            https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=chromium-shell

            Versuch es mal damit.

            1 Reply Last reply Reply Quote 0
            • mcm1957
              mcm1957 @arteck last edited by

              @arteck said in Test Adapter drops-weather 1.0.x:

              ich schmeiss mal in die Runde gibts noch weitere alternativen zu axios (was nicht geht) und puppeteer ? (was probleme verursacht)

              Wenn sich was ergibt schau ma mal.

              Im Prinzip läuft puppeteer ja einwandfrei wenn man die richtigen Pakete installiert hat. Und Pakete gemeinsam mit dem Adapter bei Bedarf zu installieren geht auch. Jetzt ist nur noch die Frage welche 🙂

              1 Reply Last reply Reply Quote 0
              • mcm1957
                mcm1957 @Thomas Braun last edited by

                @thomas-braun said in Test Adapter drops-weather 1.0.x:

                @mcm1957 sagte in Test Adapter drops-weather 1.0.x:

                chromium-headless-shell

                Gibt es erst ab Debian 12 / Bookworm.
                Die Litanei, warum man keine abgekündigten Releases produktiv fährt erspar ich mir.

                https://packages.debian.org/search?keywords=chromium-headless-shell&searchon=names&suite=all&section=all

                Bis Debian 11 / Bullseye hieß das Paket wohl
                chromium-shell

                https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=chromium-shell

                Versuch es mal damit.

                Kannst du mir auf die Schnelle sagen wie ich die Debian Version (möglichst javascript passend) rauskriegen kann? Geht aber auch mit shell Befehl. Ansonsten versuch ich einfach beides zu installieren und schau was am System nachher da ist ...

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @mcm1957 last edited by

                  @mcm1957
                  Unter anderem:

                  cat /etc/debian_version 
                  
                  1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @arteck last edited by

                    @arteck Ich habe mit got recht gute Erfahrungen gemacht.
                    Musste es bei Remeha-Home Adapter einsetzen, da Axios dort auch Probleme hatte

                    mcm1957 arteck 2 Replies Last reply Reply Quote 1
                    • mcm1957
                      mcm1957 @simatec last edited by

                      Ich habe heute Release 1.1.0 veröffentlicht.

                      1.1.0 sollte nun auch auf linux / arm (Raspberry Pi) lauffähig sein. Zu diesem Zweck installiert der Adapter auf dem Pi das Paket chromium-browser. Im Adapter selbst besteht nunmehr die Möglichkeit den Browser der Verwendet werden soll zu konfigurieren u.zw.

                      • auf built-in (= puppeteer default), nicht valid auf linux/arm
                      • auf chromium-browser, nur valid auf linux/arm
                      • auf auto (= chromium-browser auf linux/ arm und built-in auf allen anderen Systemen)
                      • auf external unter Angabe des Pfeas zu eine installiersten Browserimage

                      Hinweise:

                      • Die von Thomas empfohlenen headless versionen funktionieren bisher leider nicht, da kann man / ich aber noch testen. Daher zunächst mal mit chromium-browser weils da zumindest bei meinem Pi läuft.
                      • Der Adapter dürfte in V 1.1.0 noch immer Prozesse als Zopmbies zurücklassen - was naturgemäß das Gesammtsystem blockieren kann. Daher bitte aufpassen. Hier ist @Arteck dran und testet soweit ich weiß eine andere Variante wie puppeteer den Browser startet / connected.
                      Winni 1 Reply Last reply Reply Quote 2
                      • Winni
                        Winni @mcm1957 last edited by

                        @mcm1957 guten Morgen, danke für deine Arbeit, funktioniert aber bei mir leider nicht. Raspberrypi Pi5. Hier der Log mit der Einstellung auf chromium-browser.

                        drops-weather.0
                        2025-03-20 04:35:32.433	info	terminating
                        
                        drops-weather.0
                        2025-03-20 04:35:31.934	error	Cannot read properties of null (reading 'pages')
                        
                        drops-weather.0
                        2025-03-20 04:35:31.933	error	TypeError: Cannot read properties of null (reading 'pages') at DropsWeather.destroyBrowser (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:320:37) at DropsWeather.onUnload (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:335:18) at DropsWeather.emit (node:events:524:28) at DropsWeather._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1171:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7166:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21)
                        
                        drops-weather.0
                        2025-03-20 04:35:31.931	error	unhandled promise rejection: Cannot read properties of null (reading 'pages')
                        
                        drops-weather.0
                        2025-03-20 04:35:31.931	error	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().
                        
                        drops-weather.0
                        2025-03-20 04:35:31.930	info	terminating
                        
                        drops-weather.0
                        2025-03-20 04:35:31.929	info	Got terminate signal TERMINATE_YOURSELF
                        
                        drops-weather.0
                        2025-03-20 04:35:31.894	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        
                        drops-weather.0
                        2025-03-20 04:35:31.892	error	browser mode chromkum-browser not (yet) supported
                        
                        drops-weather.0
                        2025-03-20 04:35:31.892	info	browserMode set to chromkum-browser
                        
                        drops-weather.0
                        2025-03-20 04:35:31.877	info	starting. Version 1.1.0 (non-npm: iobroker-community-adapters/ioBroker.drops-weather) in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.0, js-controller: 7.0.6
                        
                        mcm1957 1 Reply Last reply Reply Quote 0
                        • arteck
                          arteck Developer Most Active @simatec last edited by

                          @simatec mal geschaut obs geht.. leoder nein wie bei axios 403

                          1 Reply Last reply Reply Quote 1
                          • mcm1957
                            mcm1957 @Winni last edited by

                            @Winni
                            Hast du den Browser manuell auf chromium gestellt? Da ist offensichtloich ein Tippfehler wo drinnen. Kannst du mal versuchen auf dem zweiten Ta explizit auf AUTOmatic zu stellen?

                            Winni 1 Reply Last reply Reply Quote 0
                            • Winni
                              Winni @mcm1957 last edited by Winni

                              @mcm1957 hatte ich auch probiert und jetzt nochmal, leider das gleiche Ergebnis.

                              drops-weather.0
                              2025-03-20 08:09:08.394	info	terminating
                              
                              drops-weather.0
                              2025-03-20 08:09:07.898	error	Cannot read properties of null (reading 'pages')
                              
                              drops-weather.0
                              2025-03-20 08:09:07.897	error	TypeError: Cannot read properties of null (reading 'pages') at DropsWeather.destroyBrowser (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:320:37) at DropsWeather.onUnload (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:335:18) at DropsWeather.emit (node:events:524:28) at DropsWeather._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1171:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7166:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21)
                              
                              drops-weather.0
                              2025-03-20 08:09:07.895	error	unhandled promise rejection: Cannot read properties of null (reading 'pages')
                              
                              drops-weather.0
                              2025-03-20 08:09:07.894	error	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().
                              
                              drops-weather.0
                              2025-03-20 08:09:07.893	info	terminating
                              
                              drops-weather.0
                              2025-03-20 08:09:07.892	info	Got terminate signal TERMINATE_YOURSELF
                              
                              drops-weather.0
                              2025-03-20 08:09:07.864	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                              
                              drops-weather.0
                              2025-03-20 08:09:07.862	error	error launching browser undefined - Error: Failed to launch the browser process! undefined TROUBLESHOOTING: https://pptr.dev/troubleshooting
                              
                              drops-weather.0
                              2025-03-20 08:09:07.826	info	browserPath set to puppeteer default
                              
                              drops-weather.0
                              2025-03-20 08:09:07.825	info	browserMode set to automatic
                              
                              drops-weather.0
                              2025-03-20 08:09:07.813	info	starting. Version 1.1.0 (non-npm: iobroker-community-adapters/ioBroker.drops-weather) in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.0, js-controller: 7.0.6
                              
                              mcm1957 1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @Winni last edited by

                                @winni
                                Kannst du bitte mal mit debug Level starten und das log posten?
                                Ist aber nicht prior - muss dann weg und kann erst nachher in Code schaun.

                                Winni 1 Reply Last reply Reply Quote 0
                                • Winni
                                  Winni @mcm1957 last edited by

                                  @mcm1957, ok

                                  drops-weather.0
                                  2025-03-20 08:50:23.836	error	Cannot read properties of null (reading 'pages')
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.836	error	TypeError: Cannot read properties of null (reading 'pages') at DropsWeather.destroyBrowser (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:320:37) at DropsWeather.onUnload (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:335:18) at DropsWeather.emit (node:events:524:28) at DropsWeather._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1171:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7166:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21)
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.834	error	unhandled promise rejection: Cannot read properties of null (reading 'pages')
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.834	error	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().
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.832	info	terminating
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.830	info	Got terminate signal TERMINATE_YOURSELF
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.803	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.801	error	error launching browser undefined - Error: Failed to launch the browser process! undefined TROUBLESHOOTING: https://pptr.dev/troubleshooting
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.775	info	browserPath set to puppeteer default
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.772	info	browserMode set to automatic
                                  
                                  drops-weather.0
                                  2025-03-20 08:50:23.760	info	starting. Version 1.1.0 (non-npm: iobroker-community-adapters/ioBroker.drops-weather) in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.0, js-controller: 7.0.6
                                  
                                  mcm1957 1 Reply Last reply Reply Quote 0
                                  • arteck
                                    arteck Developer Most Active last edited by

                                    so für alle..

                                    das wird nix.. wir müssen den auf cron umstellen..

                                    ich bitte um Geduld

                                    mcm1957 Neuschwansteini 2 Replies Last reply Reply Quote 2
                                    • mcm1957
                                      mcm1957 @arteck last edited by

                                      @arteck said in Test Adapter drops-weather 1.1.x:

                                      so für alle..

                                      das wird nix.. wir müssen den auf cron umstellen..

                                      ich bitte um Geduld

                                      @arteck
                                      Ich nehm an du meinst damit umstellen auf scheduled adapter.
                                      Machst du das? Oder brauchts du Support? (wobei ich nicht bös bin wenn du das machst, bin eh ausgelastet).

                                      1 Reply Last reply Reply Quote 0
                                      • mcm1957
                                        mcm1957 @Winni last edited by

                                        @winni said in Test Adapter drops-weather 1.1.x:

                                        @mcm1957, ok

                                        drops-weather.0
                                        2025-03-20 08:50:23.836	error	Cannot read properties of null (reading 'pages')
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.836	error	TypeError: Cannot read properties of null (reading 'pages') at DropsWeather.destroyBrowser (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:320:37) at DropsWeather.onUnload (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:335:18) at DropsWeather.emit (node:events:524:28) at DropsWeather._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1171:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7166:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21)
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.834	error	unhandled promise rejection: Cannot read properties of null (reading 'pages')
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.834	error	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().
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.832	info	terminating
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.830	info	Got terminate signal TERMINATE_YOURSELF
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.803	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.801	error	error launching browser undefined - Error: Failed to launch the browser process! undefined TROUBLESHOOTING: https://pptr.dev/troubleshooting
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.775	info	browserPath set to puppeteer default
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.772	info	browserMode set to automatic
                                        
                                        drops-weather.0
                                        2025-03-20 08:50:23.760	info	starting. Version 1.1.0 (non-npm: iobroker-community-adapters/ioBroker.drops-weather) in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.0, js-controller: 7.0.6
                                        

                                        Hmm - das ist aber nicht DEBUG Level log 🙂

                                        Winni 1 Reply Last reply Reply Quote 0
                                        • Neuschwansteini
                                          Neuschwansteini @arteck last edited by

                                          @arteck

                                          um's Choas kompletty zu machen, es gibt auch noch Fetch... 🙂
                                          https://www.zenrows.com/blog/axios-vs-got-vs-fetch#which-is-best

                                          Ihr seit schon hartnaeckig, das muss man sagen! geht nicht - gibts net.. 👍 👍 👍 👍

                                          1 Reply Last reply Reply Quote 1
                                          • Winni
                                            Winni @mcm1957 last edited by

                                            @mcm1957 meinst du so?

                                            1
                                            Zeit
                                            info
                                            Nachricht

                                            host.raspberrypi
                                            2025-03-20 15:03:02.764	info	instance system.adapter.drops-weather.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                            
                                            host.raspberrypi
                                            2025-03-20 15:03:02.233	info	stopInstance system.adapter.drops-weather.0 send kill signal
                                            
                                            drops-weather.0
                                            2025-03-20 15:03:02.229	error	Cannot read properties of null (reading 'pages')
                                            
                                            drops-weather.0
                                            2025-03-20 15:03:02.228	error	TypeError: Cannot read properties of null (reading 'pages') at DropsWeather.destroyBrowser (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:320:37) at DropsWeather.onUnload (/opt/iobroker/node_modules/iobroker.drops-weather/main.js:335:18) at DropsWeather.emit (node:events:524:28) at DropsWeather._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1171:16) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7166:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21)
                                            
                                            drops-weather.0
                                            2025-03-20 15:03:02.226	error	unhandled promise rejection: Cannot read properties of null (reading 'pages')
                                            
                                            drops-weather.0
                                            2025-03-20 15:03:02.222	error	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.raspberrypi
                                            2025-03-20 15:03:02.211	info	stopInstance system.adapter.drops-weather.0 (force=false, process=true)
                                            
                                            host.raspberrypi
                                            2025-03-20 15:03:02.209	info	"system.adapter.drops-weather.0" disabled
                                            
                                            drops-weather.0
                                            2025-03-20 15:03:02.167	error	error launching browser undefined - Error: Failed to launch the browser process! undefined TROUBLESHOOTING: https://pptr.dev/troubleshooting
                                            
                                            host.raspberrypi
                                            2025-03-20 15:03:00.760	info	instance system.adapter.drops-weather.0 in version "1.1.0" (non-npm: iobroker-community-adapters/ioBroker.drops-weather) started with pid 125172
                                            
                                            host.raspberrypi
                                            2025-03-20 15:03:00.092	info	"system.adapter.drops-weather.0" enabled
                                            
                                            mcm1957 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            784
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            drops-weather mcm1957
                                            17
                                            180
                                            10717
                                            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