Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Steuerung Gecko in Touch 2 per iob möglich? (Wellis)

NEWS

  • wichtiges UPDATE für controller 7.2.2 im stable
    HomoranH
    Homoran
    10
    1
    2.3k

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    16
    1
    4.3k

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    3.7k

Steuerung Gecko in Touch 2 per iob möglich? (Wellis)

Geplant Angeheftet Gesperrt Verschoben Einsteigerfragen
209 Beiträge 9 Kommentatoren 43.6k Aufrufe 6 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Stefan-Berlin1S Offline
    Stefan-Berlin1S Offline
    Stefan-Berlin1
    schrieb am zuletzt editiert von Stefan-Berlin1
    #188

    Es scheint alles zugehen :-)

    Ich hab aber nochmal ne Frage.

    ich schicke den Befehl:

    http://iobroker:8087/set/javascript.0.Datenpunkte.SwimSpa.0.ZielTemperatur?value=35
    

    dann gehts. Schicke ich es über die Loxone:

    ich übertrage es mit /set/javascript.0.Datenpunkte.SwimSpa.0.Zieltemperatur?value=#V

    wobei #V der wert ist all so 35

    Es kommt dann

    hast Du da ein Rat?

    simple-api.0
    2025-12-27 17:03:50.829	info	State value to set for "javascript.0.Datenpunkte.SwimSpa.0.ZielTemperatur" has to be type "number" but received type "string"
    
    avascript.0
    2025-12-27 17:04:05.364	error	script.js.common.Spa.SpaUpdateValues_js: *** stderr: Error: Command failed: python3 /SpaController/spa_updateBulk.py d37e243f-9fba-4403-b441-df72cb3b1d84 http://172.17.0.3:8087 SPA80:34:28:20:e3:2c 192.168.188.68 javascript.0.Datenpunkte.SwimSpa Traceback (most recent call last): File "/SpaController/spa_updateBulk.py", line 346, in <module> asyncio.run(main()) ~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 194, in run return runner.run(main) ~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/base_events.py", line 721, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/SpaController/spa_updateBulk.py", line 191, in main currentIoBrVal = float(searchForValue("id", ioBrDp, "val", currentStates)) ValueError: could not convert string to float: '#V'
    
    

    1.jpg fggg

    rrov1R 1 Antwort Letzte Antwort
    0
    • Stefan-Berlin1S Stefan-Berlin1

      Es scheint alles zugehen :-)

      Ich hab aber nochmal ne Frage.

      ich schicke den Befehl:

      http://iobroker:8087/set/javascript.0.Datenpunkte.SwimSpa.0.ZielTemperatur?value=35
      

      dann gehts. Schicke ich es über die Loxone:

      ich übertrage es mit /set/javascript.0.Datenpunkte.SwimSpa.0.Zieltemperatur?value=#V

      wobei #V der wert ist all so 35

      Es kommt dann

      hast Du da ein Rat?

      simple-api.0
      2025-12-27 17:03:50.829	info	State value to set for "javascript.0.Datenpunkte.SwimSpa.0.ZielTemperatur" has to be type "number" but received type "string"
      
      avascript.0
      2025-12-27 17:04:05.364	error	script.js.common.Spa.SpaUpdateValues_js: *** stderr: Error: Command failed: python3 /SpaController/spa_updateBulk.py d37e243f-9fba-4403-b441-df72cb3b1d84 http://172.17.0.3:8087 SPA80:34:28:20:e3:2c 192.168.188.68 javascript.0.Datenpunkte.SwimSpa Traceback (most recent call last): File "/SpaController/spa_updateBulk.py", line 346, in <module> asyncio.run(main()) ~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 194, in run return runner.run(main) ~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/base_events.py", line 721, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/SpaController/spa_updateBulk.py", line 191, in main currentIoBrVal = float(searchForValue("id", ioBrDp, "val", currentStates)) ValueError: could not convert string to float: '#V'
      
      

      1.jpg fggg

      rrov1R Offline
      rrov1R Offline
      rrov1
      schrieb am zuletzt editiert von
      #189

      @Stefan-Berlin1 sagte in Steuerung Gecko in Touch 2 per iob möglich? (Wellis):
      Schön zu hören das es jetzt doch geht. Ich habe schon etwas drüber geknobelt und die Fehlerbehandlung noch weiter verbessert, aber lass das jetzt von den eingesetzten Scriptständen mal so wie es ist.

      Ich denke dein:

      /set/javascript.0.Datenpunkte.SwimSpa.0.Zieltemperatur?value=#V

      aus Loxone ist falsch. Ich vermute Loxone sendet wirklich den Wert "#V" und nicht die von dir erwartete Zahl "35". In der Folge schmiert auch spa_updateBulk.py ab, weil es jede Minute den Wert holt und an der Stelle eine Dezimalzahl und nicht "#V" erwartet...

      Wechsle mal in die Objektansicht und stelle bei der Zieltemperatur manuell eine Zahl ein, sagen "33", dann:

      • 1 Minute warten, spa_updateBulk.py sollte sauber laufen und ggf. die im SpaController eingestellte Zieltemperatur zurückschreiben.
      • Jetzt mit Loxone deinen neuen Zielwert eintragen
        Wenn in der Objektansicht jetzt "#V" steht, dann liegts an dem was Loxone sendet.

      Wenn ich die Loxone Doku so lese müsste es "\v" sein um den Wert zu senden. Ich habe aber kein Beispiel zur Hand, da ich die Temperatur im Sommer komplett automatisch nachziehen lasse.

      1 Antwort Letzte Antwort
      0
      • Stefan-Berlin1S Offline
        Stefan-Berlin1S Offline
        Stefan-Berlin1
        schrieb am zuletzt editiert von Stefan-Berlin1
        #190

        Loxone klappt teilweise ^^ sitze noch dran das die Frau nur mit dem intilligenten Raumtemperaturregler + und - drücken kann. Sowie die Frostfunktion

        So aber natürlich nach den Updates wieder.
        Hat sich was geändert?
        musste java auf 9.0.18 updaten.

        Er findet Ihn aber. Das ist ja schonmal gut. Auch die Watercare Daten sind ok. Pumpen kann ich auch ansteuern. Er holt sich die Temperaturen nicht mehr (es steht -1 da)

        Nun kommt als Java Meldung aber immer:

        script.js.common.Spa.SpaUpdateValues_js: *** stderr: Error: Command failed: python3 /SpaController/spa_updateBulk.py 6e619fb7-7433-4ac0-a057-768b78eb8fc0 http://172.17.0.5:8087 SPA80:34:28:20:e3:2c 192.168.188.68 javascript.0.Datenpunkte.SwimSpa Traceback (most recent call last): File "/SpaController/spa_updateBulk.py", line 346, in <module> asyncio.run(main()) ~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 194, in run return runner.run(main) ~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/asyncio/base_events.py", line 721, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/SpaController/spa_updateBulk.py", line 184, in main currentIoBrVal = float(searchForValue("id", ioBrDp, "val", currentStates)) TypeError: float() argument must be a string or a real number, not 'NoneType'
        

        eingestellt hab ich im Java:

        Spiegeln von Skripten in den Dateipfad
        Kommando "setObject" erlauben -> ja
        Kommando "sendToHost" erlauben -> ja
        Kommando "exec" erlauben -> ja
        Nicht alle Zustände beim Start abonnieren -> nein also ohne haken
        Maximale setState-Anfragen pro Minute pro Skript
        1000
        default 1000

        Maximale Auslöser/Trigger pro Skript (bis zur Warnung)
        100
        default 100

        Im den Scripten auf Pause -> SpaMoveTarget

        1 Antwort Letzte Antwort
        0
        • rrov1R Offline
          rrov1R Offline
          rrov1
          schrieb am zuletzt editiert von
          #191

          Hallo,

          das liegt nicht am JavaScript Update, 9.0.18 habe ich auch. Du hast noch eine ältere Version von spa_updateBulk.py im Einsatz, ich tippe von der Zeilennummer des Fehlers her auf 0.3.1. Aktualisiere bitte das Script auf die im Github-Repo liegende aktuelle Version 0.3.2, dann sollte der Fehler beim parsen und konvertieren der Zeichenkette weg sein. Ich habe da Ende letzten Jahres extra die Fehlerbehandlung verbessert.

          rrov1

          Stefan-Berlin1S 1 Antwort Letzte Antwort
          0
          • rrov1R rrov1

            Hallo,

            das liegt nicht am JavaScript Update, 9.0.18 habe ich auch. Du hast noch eine ältere Version von spa_updateBulk.py im Einsatz, ich tippe von der Zeilennummer des Fehlers her auf 0.3.1. Aktualisiere bitte das Script auf die im Github-Repo liegende aktuelle Version 0.3.2, dann sollte der Fehler beim parsen und konvertieren der Zeichenkette weg sein. Ich habe da Ende letzten Jahres extra die Fehlerbehandlung verbessert.

            rrov1

            Stefan-Berlin1S Offline
            Stefan-Berlin1S Offline
            Stefan-Berlin1
            schrieb am zuletzt editiert von
            #192

            @rrov1
            Alles klar das hab ich wohl übersehen.
            Mach ich mal die Tage abends 😊

            1 Antwort Letzte Antwort
            0
            • T Offline
              T Offline
              tklein
              schrieb am zuletzt editiert von
              #193

              Hallo mal wieder nach langer Zeit :-)

              Bei der Neuinstallation meines Systems habe ich direkt am Anfang als immer noch Linuxlaie folgende Herausforderung:

              tklein@iobroker:/opt$ pip install geckolib
              error: externally-managed-environment
              
              × This environment is externally managed
              ╰─> To install Python packages system-wide, try apt install
                  python3-xyz, where xyz is the package you are trying to
                  install.
                  
                  If you wish to install a non-Debian-packaged Python package,
                  create a virtual environment using python3 -m venv path/to/venv.
                  Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                  sure you have python3-full installed.
                  
                  If you wish to install a non-Debian packaged Python application,
                  it may be easiest to use pipx install xyz, which will manage a
                  virtual environment for you. Make sure you have pipx installed.
                  
                  See /usr/share/doc/python3.12/README.venv for more information.
              
              note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
              hint: See PEP 668 for the detailed specification.
              tklein@iobroker:/opt$ python3 --version
              Python 3.12.3
              

              Python ist so wie ich es sehe installiert. Ebenfalls mit einer recht neuen Version.

              Was kann/soll ich tun?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • T tklein

                Hallo mal wieder nach langer Zeit :-)

                Bei der Neuinstallation meines Systems habe ich direkt am Anfang als immer noch Linuxlaie folgende Herausforderung:

                tklein@iobroker:/opt$ pip install geckolib
                error: externally-managed-environment
                
                × This environment is externally managed
                ╰─> To install Python packages system-wide, try apt install
                    python3-xyz, where xyz is the package you are trying to
                    install.
                    
                    If you wish to install a non-Debian-packaged Python package,
                    create a virtual environment using python3 -m venv path/to/venv.
                    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                    sure you have python3-full installed.
                    
                    If you wish to install a non-Debian packaged Python application,
                    it may be easiest to use pipx install xyz, which will manage a
                    virtual environment for you. Make sure you have pipx installed.
                    
                    See /usr/share/doc/python3.12/README.venv for more information.
                
                note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                hint: See PEP 668 for the detailed specification.
                tklein@iobroker:/opt$ python3 --version
                Python 3.12.3
                

                Python ist so wie ich es sehe installiert. Ebenfalls mit einer recht neuen Version.

                Was kann/soll ich tun?

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

                @tklein sagte:

                pipx install xyz

                Also

                pipx install geckolib
                

                Und System auf Stand bringen, ein Debian 13 'Trixie' kommt mit

                echad@chet:~ $ python3 --version
                Python 3.13.5
                echad@chet:~ $
                

                daher.

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

                T 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @tklein sagte:

                  pipx install xyz

                  Also

                  pipx install geckolib
                  

                  Und System auf Stand bringen, ein Debian 13 'Trixie' kommt mit

                  echad@chet:~ $ python3 --version
                  Python 3.13.5
                  echad@chet:~ $
                  

                  daher.

                  T Offline
                  T Offline
                  tklein
                  schrieb am zuletzt editiert von
                  #195

                  @Thomas-Braun sagte:

                  python3 --version

                  Hi Namensvetter, dir erneuten lieben Dank für die Hilfestellung!

                  bin jetzt a bissle weitergekommen:

                  tklein@iobroker:/opt$ sudo apt install pipx
                  [sudo] password for tklein: 
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  ..
                  Unpacking python3-venv (3.12.3-0ubuntu2.1) ...
                  Selecting previously unselected package python3-argcomplete.
                  Preparing to unpack .../04-python3-argcomplete_3.1.4-1ubuntu0.1_all.deb ...
                  Unpacking python3-argcomplete (3.1.4-1ubuntu0.1) ...
                  Selecting previously unselected package python3-platformdirs.
                  Preparing to unpack .../05-python3-platformdirs_4.2.0-1_all.deb ...
                  Unpacking python3-platformdirs (4.2.0-1) ...
                  Selecting previously unselected package python3-colorama.
                  Preparing to unpack .../06-python3-colorama_0.4.6-4_all.deb ...
                  Unpacking python3-colorama (0.4.6-4) ...
                  Selecting previously unselected package python3-click.
                  Preparing to unpack .../07-python3-click_8.1.6-2_all.deb ...
                  Unpacking python3-click (8.1.6-2) ...
                  ..
                  Processing triggers for man-db (2.12.0-4build2) ...
                  
                  tklein@iobroker:/opt$ ls
                  iobroker  zigbee2mqtt
                  tklein@iobroker:/opt$ ls -la
                  total 16
                  drwxr-xr-x   4 root        root        4096 Jun 22 19:23 .
                  drwxr-xr-x  21 root        root        4096 Jun 29 11:41 ..
                  drwxrwxr-x+  6 iobroker    iobroker    4096 Jun 22 18:42 iobroker
                  drwxr-xr-x  12 zigbee-mqtt zigbee-mqtt 4096 Jun 26 12:02 zigbee2mqtt
                  
                  tklein@iobroker:/opt$ python3 --version
                  Python 3.12.3
                  
                  tklein@iobroker:/opt$ python3 -m geckolib shell
                  /usr/bin/python3: No module named geckolib
                  tklein@iobroker:/opt$ python3.12.3 -m geckolib shell
                  python3.12.3: command not found
                  tklein@iobroker:/opt$ 
                  

                  Ich hätte jetzt erwartet, dass das directory geckolib unter /opt ist

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • T tklein

                    @Thomas-Braun sagte:

                    python3 --version

                    Hi Namensvetter, dir erneuten lieben Dank für die Hilfestellung!

                    bin jetzt a bissle weitergekommen:

                    tklein@iobroker:/opt$ sudo apt install pipx
                    [sudo] password for tklein: 
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    ..
                    Unpacking python3-venv (3.12.3-0ubuntu2.1) ...
                    Selecting previously unselected package python3-argcomplete.
                    Preparing to unpack .../04-python3-argcomplete_3.1.4-1ubuntu0.1_all.deb ...
                    Unpacking python3-argcomplete (3.1.4-1ubuntu0.1) ...
                    Selecting previously unselected package python3-platformdirs.
                    Preparing to unpack .../05-python3-platformdirs_4.2.0-1_all.deb ...
                    Unpacking python3-platformdirs (4.2.0-1) ...
                    Selecting previously unselected package python3-colorama.
                    Preparing to unpack .../06-python3-colorama_0.4.6-4_all.deb ...
                    Unpacking python3-colorama (0.4.6-4) ...
                    Selecting previously unselected package python3-click.
                    Preparing to unpack .../07-python3-click_8.1.6-2_all.deb ...
                    Unpacking python3-click (8.1.6-2) ...
                    ..
                    Processing triggers for man-db (2.12.0-4build2) ...
                    
                    tklein@iobroker:/opt$ ls
                    iobroker  zigbee2mqtt
                    tklein@iobroker:/opt$ ls -la
                    total 16
                    drwxr-xr-x   4 root        root        4096 Jun 22 19:23 .
                    drwxr-xr-x  21 root        root        4096 Jun 29 11:41 ..
                    drwxrwxr-x+  6 iobroker    iobroker    4096 Jun 22 18:42 iobroker
                    drwxr-xr-x  12 zigbee-mqtt zigbee-mqtt 4096 Jun 26 12:02 zigbee2mqtt
                    
                    tklein@iobroker:/opt$ python3 --version
                    Python 3.12.3
                    
                    tklein@iobroker:/opt$ python3 -m geckolib shell
                    /usr/bin/python3: No module named geckolib
                    tklein@iobroker:/opt$ python3.12.3 -m geckolib shell
                    python3.12.3: command not found
                    tklein@iobroker:/opt$ 
                    

                    Ich hätte jetzt erwartet, dass das directory geckolib unter /opt ist

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

                    @tklein sagte:

                    Ich hätte jetzt erwartet, dass das directory geckolib unter /opt ist

                    Nein, das liegt im venv.
                    Gut möglich, dass du es für den user iobroker machen musst.

                    Du hast aber gelesen:

                    Python3 mind. v3.13 & Pip
                    Wichtig: Die geckolib ab v1.0.0 benötigt Python 3.13

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

                    T 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @tklein sagte:

                      Ich hätte jetzt erwartet, dass das directory geckolib unter /opt ist

                      Nein, das liegt im venv.
                      Gut möglich, dass du es für den user iobroker machen musst.

                      Du hast aber gelesen:

                      Python3 mind. v3.13 & Pip
                      Wichtig: Die geckolib ab v1.0.0 benötigt Python 3.13

                      T Offline
                      T Offline
                      tklein
                      schrieb am zuletzt editiert von
                      #197

                      Du hast aber gelesen:

                      Python3 mind. v3.13 & Pip
                      Wichtig: Die geckolib ab v1.0.0 benötigt Python 3.13

                      Habe meiner Meinung nach die 3.13 installiert:

                      tklein@iobroker:/opt$ pipx install geckolib
                      
                      No apps associated with package geckolib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or
                      a similar tool instead.
                      tklein@iobroker:/opt$ python3 --version
                      Python 3.12.3
                      tklein@iobroker:/opt$ which python3
                      /usr/bin/python3
                      tklein@iobroker:/opt$ sudo apt install python3.13 python3.13-venv
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      python3.13 is already the newest version (3.13.14-1+noble1).
                      python3.13-venv is already the newest version (3.13.14-1+noble1).
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                      tklein@iobroker:/opt$ 
                      
                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • T tklein

                        Du hast aber gelesen:

                        Python3 mind. v3.13 & Pip
                        Wichtig: Die geckolib ab v1.0.0 benötigt Python 3.13

                        Habe meiner Meinung nach die 3.13 installiert:

                        tklein@iobroker:/opt$ pipx install geckolib
                        
                        No apps associated with package geckolib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or
                        a similar tool instead.
                        tklein@iobroker:/opt$ python3 --version
                        Python 3.12.3
                        tklein@iobroker:/opt$ which python3
                        /usr/bin/python3
                        tklein@iobroker:/opt$ sudo apt install python3.13 python3.13-venv
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        python3.13 is already the newest version (3.13.14-1+noble1).
                        python3.13-venv is already the newest version (3.13.14-1+noble1).
                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                        tklein@iobroker:/opt$ 
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #198

                        @tklein

                        Du hast da irgendwas irgendwie installiert.

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

                        T 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @tklein

                          Du hast da irgendwas irgendwie installiert.

                          T Offline
                          T Offline
                          tklein
                          schrieb am zuletzt editiert von
                          #199

                          @Thomas-Braun dann

                          pip install geckolib
                          

                          ausprobieren?

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • T tklein

                            @Thomas-Braun dann

                            pip install geckolib
                            

                            ausprobieren?

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

                            @tklein sagte:

                            ausprobieren?

                            Sinnvoller wäre es, deine Kiste insgesamt auf einen aktuellen Stand zu bringen.

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

                            T 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @tklein sagte:

                              ausprobieren?

                              Sinnvoller wäre es, deine Kiste insgesamt auf einen aktuellen Stand zu bringen.

                              T Offline
                              T Offline
                              tklein
                              schrieb am zuletzt editiert von
                              #201

                              @Thomas-Braun den proxmox container habe ich erst vor kurzen mit ubuntu und dem iob in dem glauben auf einen neuen stand aufgesetzt.

                              1 Antwort Letzte Antwort
                              0
                              • T Offline
                                T Offline
                                tklein
                                schrieb am zuletzt editiert von
                                #202

                                wie kann ich dann jetzt am besten weitermachen? Komme leider nicht weiter:

                                **tklein@iobroker:/opt$ sudo pip install geckolib**
                                [sudo] password for tklein: 
                                error: externally-managed-environment
                                
                                × This environment is externally managed
                                ╰─> To install Python packages system-wide, try apt install
                                    python3-xyz, where xyz is the package you are trying to
                                    install.
                                    
                                    If you wish to install a non-Debian-packaged Python package,
                                    create a virtual environment using python3 -m venv path/to/venv.
                                    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                    sure you have python3-full installed.
                                    
                                    If you wish to install a non-Debian packaged Python application,
                                    it may be easiest to use pipx install xyz, which will manage a
                                    virtual environment for you. Make sure you have pipx installed.
                                    
                                    See /usr/share/doc/python3.12/README.venv for more information.
                                
                                note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                                hint: See PEP 668 for the detailed specification.
                                
                                **tklein@iobroker:/opt$ sudo pipx install geckolib**
                                
                                No apps associated with package geckolib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or
                                a similar tool instead.
                                
                                **tklein@iobroker:/opt$ compgen -c | grep '^python[3-9]\.[0-9]' | sort -u**
                                python3.12
                                python3.12-config
                                python3.13
                                python3.13-config
                                
                                Thomas BraunT rrov1R 2 Antworten Letzte Antwort
                                0
                                • T tklein

                                  wie kann ich dann jetzt am besten weitermachen? Komme leider nicht weiter:

                                  **tklein@iobroker:/opt$ sudo pip install geckolib**
                                  [sudo] password for tklein: 
                                  error: externally-managed-environment
                                  
                                  × This environment is externally managed
                                  ╰─> To install Python packages system-wide, try apt install
                                      python3-xyz, where xyz is the package you are trying to
                                      install.
                                      
                                      If you wish to install a non-Debian-packaged Python package,
                                      create a virtual environment using python3 -m venv path/to/venv.
                                      Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                      sure you have python3-full installed.
                                      
                                      If you wish to install a non-Debian packaged Python application,
                                      it may be easiest to use pipx install xyz, which will manage a
                                      virtual environment for you. Make sure you have pipx installed.
                                      
                                      See /usr/share/doc/python3.12/README.venv for more information.
                                  
                                  note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                                  hint: See PEP 668 for the detailed specification.
                                  
                                  **tklein@iobroker:/opt$ sudo pipx install geckolib**
                                  
                                  No apps associated with package geckolib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or
                                  a similar tool instead.
                                  
                                  **tklein@iobroker:/opt$ compgen -c | grep '^python[3-9]\.[0-9]' | sort -u**
                                  python3.12
                                  python3.12-config
                                  python3.13
                                  python3.13-config
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #203

                                  @tklein

                                  Zu Ubuntu auf Proxmox möchte ich nichts sagen.

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • T tklein

                                    wie kann ich dann jetzt am besten weitermachen? Komme leider nicht weiter:

                                    **tklein@iobroker:/opt$ sudo pip install geckolib**
                                    [sudo] password for tklein: 
                                    error: externally-managed-environment
                                    
                                    × This environment is externally managed
                                    ╰─> To install Python packages system-wide, try apt install
                                        python3-xyz, where xyz is the package you are trying to
                                        install.
                                        
                                        If you wish to install a non-Debian-packaged Python package,
                                        create a virtual environment using python3 -m venv path/to/venv.
                                        Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                                        sure you have python3-full installed.
                                        
                                        If you wish to install a non-Debian packaged Python application,
                                        it may be easiest to use pipx install xyz, which will manage a
                                        virtual environment for you. Make sure you have pipx installed.
                                        
                                        See /usr/share/doc/python3.12/README.venv for more information.
                                    
                                    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                                    hint: See PEP 668 for the detailed specification.
                                    
                                    **tklein@iobroker:/opt$ sudo pipx install geckolib**
                                    
                                    No apps associated with package geckolib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or
                                    a similar tool instead.
                                    
                                    **tklein@iobroker:/opt$ compgen -c | grep '^python[3-9]\.[0-9]' | sort -u**
                                    python3.12
                                    python3.12-config
                                    python3.13
                                    python3.13-config
                                    
                                    rrov1R Offline
                                    rrov1R Offline
                                    rrov1
                                    schrieb am zuletzt editiert von
                                    #204

                                    @tklein Ich habe bei mir auch ein Ubuntu 24.04 in einem Proxmox Container am laufen. Ich bin wie folgt vorgegangen:

                                    1. Python 3.13 (weil es zu dem Zeitpunkt wo ich das gemacht habe nicht Standard war):
                                    • also nur, wenn: python3.13 --version nicht funktioniert
                                    • sudo apt install software-properties-common -y
                                    • sudo add-apt-repository ppa:deadsnakes/ppa
                                    • sudo apt install python3.13-full
                                    1. Virtuelles Environment (venv) erstellen
                                    • Mit venv (Virtual Environment) wird eine isolierte Python-Umgebung für Projekte erstellt. Es verhindert Versionskonflikte, da jedes Projekt seine eigenen spezifischen Paketversionen benötigt. Dadurch wird das globale System sauber gehalten und sichergestellt, dass Änderungen nicht ungewollt andere Anwendungen beeinträchtigen.
                                    • Die Dateien des virt. Environment müssen in ein Verzeichnis abgelegt werden, ich habe in meinem Fall das mein Heimatverzeichnis gewählt und dort ein neues Unterverzeichnis: /home/rrov1/gl-venv, das kannst du anpassen nach eigener Wahl.
                                    • python3.13 -m venv /home/rrov1/gl-venv
                                    • /home/rrov1/gl-venv/bin/pip3.13 install geckolib
                                    • /home/rrov1/gl-venv/bin/pip3.13 install requests
                                    1. Aufruf von Python in dem virt. Environment
                                    • manuell: /home/rrov1/gl-venv/bin/python3.13 /home/rrov1/spa_updateBulk.py ...
                                    • SpaGlobal.js, Zeile 4: const SPA_EXECUTEABLE = "/home/rrov1/gl-venv/bin/python3.13"

                                    Viel Erfolg

                                    T 1 Antwort Letzte Antwort
                                    1
                                    • rrov1R rrov1

                                      @tklein Ich habe bei mir auch ein Ubuntu 24.04 in einem Proxmox Container am laufen. Ich bin wie folgt vorgegangen:

                                      1. Python 3.13 (weil es zu dem Zeitpunkt wo ich das gemacht habe nicht Standard war):
                                      • also nur, wenn: python3.13 --version nicht funktioniert
                                      • sudo apt install software-properties-common -y
                                      • sudo add-apt-repository ppa:deadsnakes/ppa
                                      • sudo apt install python3.13-full
                                      1. Virtuelles Environment (venv) erstellen
                                      • Mit venv (Virtual Environment) wird eine isolierte Python-Umgebung für Projekte erstellt. Es verhindert Versionskonflikte, da jedes Projekt seine eigenen spezifischen Paketversionen benötigt. Dadurch wird das globale System sauber gehalten und sichergestellt, dass Änderungen nicht ungewollt andere Anwendungen beeinträchtigen.
                                      • Die Dateien des virt. Environment müssen in ein Verzeichnis abgelegt werden, ich habe in meinem Fall das mein Heimatverzeichnis gewählt und dort ein neues Unterverzeichnis: /home/rrov1/gl-venv, das kannst du anpassen nach eigener Wahl.
                                      • python3.13 -m venv /home/rrov1/gl-venv
                                      • /home/rrov1/gl-venv/bin/pip3.13 install geckolib
                                      • /home/rrov1/gl-venv/bin/pip3.13 install requests
                                      1. Aufruf von Python in dem virt. Environment
                                      • manuell: /home/rrov1/gl-venv/bin/python3.13 /home/rrov1/spa_updateBulk.py ...
                                      • SpaGlobal.js, Zeile 4: const SPA_EXECUTEABLE = "/home/rrov1/gl-venv/bin/python3.13"

                                      Viel Erfolg

                                      T Offline
                                      T Offline
                                      tklein
                                      schrieb am zuletzt editiert von tklein
                                      #205

                                      @rrov1 thx, das mit python/geckolib hat geklappt.

                                      jetzt habe ich folgendes im log nachdem ich das skript "spavariablen" aufgerufen habe.
                                      die dp sind leider nicht vorhanden

                                      host.iobroker	2026-07-08 10:20:47.470	error	Caught by controller[1]: (Use `node --trace-deprecation ...` to show where the warning was created)
                                      host.iobroker	2026-07-08 10:20:47.469	error	Caught by controller[1]: (node:676167) [DEP0176] DeprecationWarning: fs.F_OK is deprecated, use fs.constants.F_OK instead
                                      javascript.0	676167	2026-07-08 10:20:46.805	warn	Restart initiated
                                      

                                      f229733e-d7c2-402e-bbe9-147cec5b84da-image.jpeg

                                      Auszug SPAGLOBAL:

                                      // Pfade für die Datenpunkablage
                                      const BASE_ADAPTER = "javascript.0";
                                      const BASE_FOLDER = "Datenpunkte.SwimSpa";
                                      const SPA_EXECUTEABLE = "python3.13"
                                      //const PY_SCRIPTS_FOLDER = "/SpaController"
                                      const PY_SCRIPTS_FOLDER = "/home/tklein/wellis_spa/SwimSpa/Python"
                                      
                                      Dirlisting:
                                      

                                      (spa_env) tklein@iobroker:~/wellis_spa/SwimSpa/Python$ ls -la
                                      total 84
                                      drwxrwxr-x 2 tklein tklein 4096 Jul 7 14:53 .
                                      drwxrwxr-x 6 tklein tklein 4096 Jul 7 14:43 ..
                                      -rw-rw-r-- 1 tklein tklein 11889 Jul 7 14:43 spa_config.py
                                      -rw-rw-r-- 1 tklein tklein 6766 Jul 7 14:43 spa_setTargetTemp.py
                                      -rw-rw-r-- 1 tklein tklein 6699 Jul 7 14:43 spa_setWatercareMode.py
                                      -rw-rw-r-- 1 tklein tklein 7254 Jul 7 14:43 spa_switchBlower.py
                                      -rw-rw-r-- 1 tklein tklein 7750 Jul 7 14:43 spa_switchPump.py
                                      -rw-rw-r-- 1 tklein tklein 5924 Jul 7 14:43 spa_toggleLight.py
                                      -rw-rw-r-- 1 tklein tklein 23214 Jul 7 14:43 spa_updateBulk.py
                                      (spa_env) tklein@iobroker:~/wellis_spa/SwimSpa/Python$

                                      1 Antwort Letzte Antwort
                                      0
                                      • rrov1R Offline
                                        rrov1R Offline
                                        rrov1
                                        schrieb am zuletzt editiert von
                                        #206

                                        Hallo @tklein,
                                        Ok, erst mal SpaGlobal:
                                        Füge mal bitte in Zeile 4 den vollständigen Pfad zum angelegt venv ein. Dein aktueller Wert ist:
                                        const SPA_EXECUTEABLE = "python3.13"
                                        in meinem Beispiel, bei meinem Pfad steht da:
                                        const SPA_EXECUTEABLE = "/home/rrov1/gl-venv/bin/python3.13"
                                        Du musst den Teil: /home/rrov1/gl-venv ersetzen mit dem Pfad, unter dem du das venv angelegt hast.
                                        Danach SpaGlobal speichern, das legen wir erst mal beiseite.

                                        Jetzt SpaVariablen:
                                        Ich kanns anhand der Logs nicht sehen, aber entweder irgendwas in SpaGlobal.js oder SpaVariablen.js ist nicht in Ordnung. Da du in beiden Skripten nur in den ersten paar Zeilen was manuell anpassen musst und SpaGlobal.js so gut ausschaut, müsstest du mir bitte noch mal die ersten 12 Zeilen von SpaVariablen.js schicken.
                                        Ich tippe, der Aufruf von createDataPoints() ist bei dir falsch, er müsste bei einem Controller so in etwa ausschauen, je nachdem was du alles eingebaut hast:
                                        createDatapoints([
                                        { pumps: 3, blower: false, waterfall: false } // 0: Pool
                                        ]);

                                        rrov1

                                        T 1 Antwort Letzte Antwort
                                        0
                                        • rrov1R rrov1

                                          Hallo @tklein,
                                          Ok, erst mal SpaGlobal:
                                          Füge mal bitte in Zeile 4 den vollständigen Pfad zum angelegt venv ein. Dein aktueller Wert ist:
                                          const SPA_EXECUTEABLE = "python3.13"
                                          in meinem Beispiel, bei meinem Pfad steht da:
                                          const SPA_EXECUTEABLE = "/home/rrov1/gl-venv/bin/python3.13"
                                          Du musst den Teil: /home/rrov1/gl-venv ersetzen mit dem Pfad, unter dem du das venv angelegt hast.
                                          Danach SpaGlobal speichern, das legen wir erst mal beiseite.

                                          Jetzt SpaVariablen:
                                          Ich kanns anhand der Logs nicht sehen, aber entweder irgendwas in SpaGlobal.js oder SpaVariablen.js ist nicht in Ordnung. Da du in beiden Skripten nur in den ersten paar Zeilen was manuell anpassen musst und SpaGlobal.js so gut ausschaut, müsstest du mir bitte noch mal die ersten 12 Zeilen von SpaVariablen.js schicken.
                                          Ich tippe, der Aufruf von createDataPoints() ist bei dir falsch, er müsste bei einem Controller so in etwa ausschauen, je nachdem was du alles eingebaut hast:
                                          createDatapoints([
                                          { pumps: 3, blower: false, waterfall: false } // 0: Pool
                                          ]);

                                          rrov1

                                          T Offline
                                          T Offline
                                          tklein
                                          schrieb am zuletzt editiert von tklein
                                          #207

                                          @rrov1 sagte:
                                          thx, durch die anpassung des pafades wurden die dp erfolgreich angelegt :-)

                                          jetzt scheine ich noch ein rechteproblem auf die dateien zu haben:

                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: end
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: no spa controller found
                                          warn	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: no ID set for spa controller: javascript.0.Datenpunkte.SwimSpa.0.ID try to run SpaUpdateConfig first!
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: start
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: end
                                          error	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: *** command failed with error code: 126 - Command failed: '/home/tklein/wellis_spa/spa_env/bin/python3.13' '/home/tklein/wellis_spa/SwimSpa/Python/spa_config.py' 'e112cfe8-1a52-41e2-84a5-9a1809aec54a' 'http://192.168.0.20:8087' 'javascript.0.Datenpunkte.SwimSpa' /bin/sh: 1: /home/tklein/wellis_spa/spa_env/bin/python3.13: Permission denied
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: *** executing: '/home/tklein/wellis_spa/spa_env/bin/python3.13' '/home/tklein/wellis_spa/SwimSpa/Python/spa_config.py' 'e112cfe8-1a52-41e2-84a5-9a1809aec54a' 'http://192.168.0.20:8087' 'javascript.0.Datenpunkte.SwimSpa'
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: no disabled controller, doing standard discovery
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: start
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: start JavaScript (Javascript/js)
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateConfig: Stopping script
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: end
                                          info	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: no spa controller found
                                          warn	script.js.common.Draussen.Whirlpool.Spa.SpaUpdateValues: no ID set for spa controller: javascript.0.Datenpunkte.SwimSpa.0.ID try to run SpaUpdateConfig first!
                                          

                                          Ist mit ID die ClientGUID gemeint?

                                          Der User "iobroker" muss zugriff auf diese dateien/dir ab "wellis_spa" haben, oder?
                                          derzeit hat das der user "tklein"

                                          drwxrwxr-x 4 tklein tklein   4096 Jul  7 14:46 .
                                          drwxr-x--- 8 tklein tklein   4096 Jul  7 14:37 ..
                                          drwxrwxr-x 6 tklein tklein   4096 Jul  7 14:43 SwimSpa
                                          -rw-rw-r-- 1 tklein tklein     86 Jul  7 14:39 cui.ini
                                          -rw-rw-r-- 1 tklein tklein 196735 Jul  7 14:41 cui.log
                                          drwxrwxr-x 5 tklein tklein   4096 Jul  7 14:38 spa_env
                                          
                                          (spa_env) tklein@iobroker:~/wellis_spa/spa_env/bin$ pwd
                                          /home/tklein/wellis_spa/spa_env/bin
                                          (spa_env) tklein@iobroker:~/wellis_spa/spa_env/bin$ su iobroker
                                          Password: 
                                          This account is currently not available.
                                          (spa_env) tklein@iobroker:~/wellis_spa/spa_env/bin$ 
                                          

                                          Evtl .kann ich den user "iobroker" aktivieren und es dort im homeverzeichnis installieren, oder gibt es da eine andere möglichkeit?

                                          hier das log/aufruf der spa_config.py aus dem javascript adapter:

                                          *** executing: '/home/tklein/wellis_spa/spa_env/bin/python3.13' '/home/tklein/wellis_spa/SwimSpa/Python/spa_config.py' 'e112cfe8-1a52-41e2-84a5-9a1809aec54a' 'http://192.168.0.20:8087' 'javascript.0.Datenpunkte.SwimSpa'
                                          
                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          448

                                          Online

                                          33.0k

                                          Benutzer

                                          83.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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