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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [neuer Adapter] smartgarden adapter for Gardena smart system

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    417

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

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

[neuer Adapter] smartgarden adapter for Gardena smart system

Scheduled Pinned Locked Moved Tester
gardena smart systemsmartgarden
1.1k Posts 108 Posters 354.6k Views 101 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jpgorganizerJ jpgorganizer

    @dslraser

    ok, du musst folgendes tun können:

    • python3 und noch ein paar andere Module installieren, wenn es noch nicht drauf ist

      • log dich mal auf der Kommandozeile ein

      • rufe folgendes auf python3 --version : Achte auf das doppelte Minuszeichen! Wenn da nun eine VersionsNr erscheint, dann ist es drauf. Sollte dann so aussehen

        pi@ioBroker:~ $  python3 --version
        Python 3.7.3
        
      • falls das nicht kommt (die Versionsnr wird egal sein), dann musst du python3 installieren. Ich habe jetzt keine Ahnung wie das in einem Docker Container geht. Vmtl. aber wie meist unter Linux mit apt-get. Kennst du das?

        • teste dann mal ob du apt-get nutzen kannst? Wie oben mit python3, hier nur apt-get --version aufrufen.
    dslraserD Offline
    dslraserD Offline
    dslraser
    Forum Testing Most Active
    wrote on last edited by
    #102

    @jpgorganizer sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

    python3 --version

    Bildschirmfoto 2020-04-01 um 14.38.39.png

    jpgorganizerJ 1 Reply Last reply
    0
    • M muckel

      @jpgorganizer
      python würde ich noch irgendwie zusammenbringen.
      Wenn’s mir erklärst wo ich das script bekomme. ;-)

      jpgorganizerJ Offline
      jpgorganizerJ Offline
      jpgorganizer
      wrote on last edited by jpgorganizer
      #103

      @muckel

      Script steht auf github
      https://github.com/jpgorganizer/ioBroker.smartgarden/blob/master/apitestscript/apitest.py

      Darin muss man gleich in den oberen Zeilen die eigenen Daten eintragen.

      # account specific values
      USERNAME = 'myUserEmail'
      PASSWORD = 'myUserPassword'
      API_KEY =  'myApplicationApiKey'
      
      

      Aufruf des scriptes mit

      python3 apitest.py
      

      Bitte posted nirgends die vollständigen Ausgaben des Scriptes, es stehen EURE token in der Ausgabe.

      Einfach in der Ausgabe mal schauen, ob sich dort die gesuchten Daten finden.

      Zur Info bei evlt. fehlenden Modulen. Ich musste bei mir folgendes installieren:

      pi@ioBroker:~ $ sudo apt-get install python3
      ...
      
      pi@ioBroker:~ $ sudo apt-get install python3-pip
      ...
      
      pi@ioBroker:~ $ pip3 install requests
      ...
      
      pi@ioBroker:~ $ pip3 install websocket-client
      ...
      
      pi@ioBroker:~ $  python3 --version
      Python 3.7.3
      
      pi@ioBroker:~ $ pip3 --version
      pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
      

      VG
      jpgorganizer

      Bitte keine Fragen per PN, die gehören ins Forum!

      ioBroker
      smartgarden Adapter für GARDENA smart system
      Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

      1 Reply Last reply
      0
      • dslraserD dslraser

        @jpgorganizer sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

        python3 --version

        Bildschirmfoto 2020-04-01 um 14.38.39.png

        jpgorganizerJ Offline
        jpgorganizerJ Offline
        jpgorganizer
        wrote on last edited by
        #104

        @dslraser
        na dann ... hau rein :-)

        Bitte keine Fragen per PN, die gehören ins Forum!

        ioBroker
        smartgarden Adapter für GARDENA smart system
        Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

        dslraserD 2 Replies Last reply
        0
        • jpgorganizerJ jpgorganizer

          @dslraser
          na dann ... hau rein :-)

          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          wrote on last edited by
          #105

          @jpgorganizer
          ich muss jetzt ne Weile weg, probiere ich später.

          1 Reply Last reply
          0
          • jpgorganizerJ jpgorganizer

            @dslraser
            na dann ... hau rein :-)

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by
            #106

            @jpgorganizer

            pi@ioBroker:~ $ sudo apt-get install python3-pip
            ...
             
            pi@ioBroker:~ $ pip3 install requests
            ...
             
            pi@ioBroker:~ $ pip3 install websocket-client
            ...
            

            Ergebnis

            root@iobroker:/opt/iobroker# sudo apt-get install python3-pip
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            E: Paket python3-pip kann nicht gefunden werden.
            root@iobroker:/opt/iobroker#
            

            auch ohne sudo nicht

            jpgorganizerJ 1 Reply Last reply
            0
            • dslraserD dslraser

              @jpgorganizer

              pi@ioBroker:~ $ sudo apt-get install python3-pip
              ...
               
              pi@ioBroker:~ $ pip3 install requests
              ...
               
              pi@ioBroker:~ $ pip3 install websocket-client
              ...
              

              Ergebnis

              root@iobroker:/opt/iobroker# sudo apt-get install python3-pip
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              E: Paket python3-pip kann nicht gefunden werden.
              root@iobroker:/opt/iobroker#
              

              auch ohne sudo nicht

              jpgorganizerJ Offline
              jpgorganizerJ Offline
              jpgorganizer
              wrote on last edited by
              #107

              @dslraser

              ist pip3 evtl schon drauf? python3 war ja auch da
              pip3 --version

              Bitte keine Fragen per PN, die gehören ins Forum!

              ioBroker
              smartgarden Adapter für GARDENA smart system
              Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

              1 Reply Last reply
              0
              • M Offline
                M Offline
                muckel
                wrote on last edited by
                #108

                ich habs zum laufen gebracht, aber folgender Fehler:

                erich@SmartHome:~$ python gardena.py
                File "gardena.py", line 55
                r = requests.post(f'{AUTHENTICATION_HOST}/v1/oauth2/token', data=payload)
                ^
                SyntaxError: invalid syntax

                jpgorganizerJ 1 Reply Last reply
                0
                • M muckel

                  ich habs zum laufen gebracht, aber folgender Fehler:

                  erich@SmartHome:~$ python gardena.py
                  File "gardena.py", line 55
                  r = requests.post(f'{AUTHENTICATION_HOST}/v1/oauth2/token', data=payload)
                  ^
                  SyntaxError: invalid syntax

                  jpgorganizerJ Offline
                  jpgorganizerJ Offline
                  jpgorganizer
                  wrote on last edited by
                  #109

                  @muckel

                  ist das ein Aufruf von python3 ???

                  Bitte keine Fragen per PN, die gehören ins Forum!

                  ioBroker
                  smartgarden Adapter für GARDENA smart system
                  Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    muckel
                    wrote on last edited by
                    #110

                    in der unix shell aufgerufen

                    jpgorganizerJ 1 Reply Last reply
                    0
                    • M muckel

                      in der unix shell aufgerufen

                      jpgorganizerJ Offline
                      jpgorganizerJ Offline
                      jpgorganizer
                      wrote on last edited by
                      #111

                      @muckel sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

                      in der unix shell aufgerufen

                      das heißt nichts

                      Bitte keine Fragen per PN, die gehören ins Forum!

                      ioBroker
                      smartgarden Adapter für GARDENA smart system
                      Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                      M 1 Reply Last reply
                      0
                      • jpgorganizerJ jpgorganizer

                        @muckel sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

                        in der unix shell aufgerufen

                        das heißt nichts

                        M Offline
                        M Offline
                        muckel
                        wrote on last edited by muckel
                        #112

                        @jpgorganizer

                        wie rufe ich das file richtig auf. (führe aus)?

                        jpgorganizerJ 1 Reply Last reply
                        0
                        • M muckel

                          @jpgorganizer

                          wie rufe ich das file richtig auf. (führe aus)?

                          jpgorganizerJ Offline
                          jpgorganizerJ Offline
                          jpgorganizer
                          wrote on last edited by
                          #113

                          @muckel

                          siehe

                          @jpgorganizer sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

                          Aufruf des scriptes mit

                          python3 apitest.py
                          

                          hab's vor ein paar Minuten dort ergänzt

                          Bitte keine Fragen per PN, die gehören ins Forum!

                          ioBroker
                          smartgarden Adapter für GARDENA smart system
                          Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                          M 1 Reply Last reply
                          0
                          • jpgorganizerJ jpgorganizer

                            @muckel

                            siehe

                            @jpgorganizer sagte in [neuer Adapter] smartgarden adapter for Gardena smart system:

                            Aufruf des scriptes mit

                            python3 apitest.py
                            

                            hab's vor ein paar Minuten dort ergänzt

                            M Offline
                            M Offline
                            muckel
                            wrote on last edited by muckel
                            #114

                            @jpgorganizer

                            na super! alle daten da! Mit dem Script zumindest mal. :-)

                            {"id":"c5a76528-97d2-4816-9c90-9589f0fac63b","type":"SENSOR","relationships":{"device":{"data":{"id":"c5a76528-97d2-4816-9c90-9589f0fac63b","type":"DEVICE"}}},"attributes":{"soilHumidity":{"value":0,"timestamp":"2020-04-01T13:48:42.888+0000"},"soilTemperature":{"value":6,"timestamp":"2020-04-01T13:47:43.515+0000"},"ambientTemperature":{"value":11,"timestamp":"2020-04-01T13:43:32.382+0000"},"lightIntensity":{"value":3536,"timestamp":"2020-04-01T13:43:32.436+0000"}}}

                            1 Reply Last reply
                            0
                            • jpgorganizerJ Offline
                              jpgorganizerJ Offline
                              jpgorganizer
                              wrote on last edited by
                              #115

                              @muckel

                              dann gibt es ein Problem im Adapter .... das lässt sich finden. ich brauche den gesamten Abschnitt aus der Ausgabe von dem Script. Schneide oben weg, aber lass mir ein paar Zeilen oberhalb und unterhalb von den Sensordaten dran.
                              Schick es am Besten per PN.

                              Danke und Gruß
                              jpgorganizer

                              Bitte keine Fragen per PN, die gehören ins Forum!

                              ioBroker
                              smartgarden Adapter für GARDENA smart system
                              Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                              M 1 Reply Last reply
                              0
                              • jpgorganizerJ jpgorganizer

                                @muckel

                                dann gibt es ein Problem im Adapter .... das lässt sich finden. ich brauche den gesamten Abschnitt aus der Ausgabe von dem Script. Schneide oben weg, aber lass mir ein paar Zeilen oberhalb und unterhalb von den Sensordaten dran.
                                Schick es am Besten per PN.

                                Danke und Gruß
                                jpgorganizer

                                M Offline
                                M Offline
                                muckel
                                wrote on last edited by
                                #116

                                @jpgorganizer

                                ich bin zu deppat das ich dir eine PN schicke in diesem forum.
                                ich lösche die keys und sende es dir hier. ist das o.k.?

                                1 Reply Last reply
                                0
                                • jpgorganizerJ Offline
                                  jpgorganizerJ Offline
                                  jpgorganizer
                                  wrote on last edited by jpgorganizer
                                  #117

                                  @muckel

                                  ich habs gefunden ... stelle neue Version ein ... brauch nix mehr. Danke.

                                  Bitte keine Fragen per PN, die gehören ins Forum!

                                  ioBroker
                                  smartgarden Adapter für GARDENA smart system
                                  Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                                  M 1 Reply Last reply
                                  1
                                  • jpgorganizerJ jpgorganizer

                                    @muckel

                                    ich habs gefunden ... stelle neue Version ein ... brauch nix mehr. Danke.

                                    M Offline
                                    M Offline
                                    muckel
                                    wrote on last edited by muckel
                                    #118

                                    @jpgorganizer

                                    Super Job! Danke schön! :-)

                                    Alle Daten werden jetzt auch vom Sensor über den Adapter angezeigt.

                                    :clap:

                                    1 Reply Last reply
                                    0
                                    • jpgorganizerJ Offline
                                      jpgorganizerJ Offline
                                      jpgorganizer
                                      wrote on last edited by
                                      #119

                                      @muckel Danke für deinen Support. Ich war einfach zu doof zu sehen, dass in einer Auswahl der Sensor komplett fehlt.
                                      @dslraser

                                      Sollte nun gehen. Bitte testet und bitte auch Feedback.

                                      Neue Version 0.4.2 ist auf github.

                                      Grüße
                                      jpgorganizer

                                      0.4.2

                                      • (jpgorganizer)
                                        • error missing SENSOR data fixed

                                      0.4.1

                                      • (jpgorganizer)
                                        • Dependency get's resolved now

                                      0.4.0

                                      • (jpgorganizer)
                                        • NOTE: with this version an additional dependency is necessary at runtime. If it does not get installed together with the installation of this adapter, please install seperately with npm install https://github.com/jpgorganizer/ioBroker.utils or npm i @jpgorganizer/utils
                                        • NOTE: you must delete all states of the adapter instance to install this release and please check your application carefully for necessary adjustments regarding type/role changes (see below)
                                        • data types of (nearly) all datapoints adjusted for compliance with ioBroker guidance:
                                          • states now have special ioBroker type and role instead of former string/text where applicable, e.g. number/value.battery for batteryLevel_value (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/3)
                                        • datapoint activity_value_i replaced by activity_mowing_i with type/role boolean/indicator.working: true means mowing, false means not mowing
                                        • possibility to pre-define states integrated, see new switch PreDefine States in adapter/instance configuration (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/2)
                                        • states are readonly now; except states for commands (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/4)
                                        • input field for useTestVariable in adapter/instance configuration switched to a checkbox (former: text); please check your settings
                                        • error in command stop_all_valves_i in VALVE_SET fixed

                                      Bitte keine Fragen per PN, die gehören ins Forum!

                                      ioBroker
                                      smartgarden Adapter für GARDENA smart system
                                      Plattform: Raspberry Pi OS Linux 12 (bookworm), Node.js: v18.18.2, NPM: 9.8.1

                                      M dslraserD 2 Replies Last reply
                                      0
                                      • jpgorganizerJ jpgorganizer

                                        @muckel Danke für deinen Support. Ich war einfach zu doof zu sehen, dass in einer Auswahl der Sensor komplett fehlt.
                                        @dslraser

                                        Sollte nun gehen. Bitte testet und bitte auch Feedback.

                                        Neue Version 0.4.2 ist auf github.

                                        Grüße
                                        jpgorganizer

                                        0.4.2

                                        • (jpgorganizer)
                                          • error missing SENSOR data fixed

                                        0.4.1

                                        • (jpgorganizer)
                                          • Dependency get's resolved now

                                        0.4.0

                                        • (jpgorganizer)
                                          • NOTE: with this version an additional dependency is necessary at runtime. If it does not get installed together with the installation of this adapter, please install seperately with npm install https://github.com/jpgorganizer/ioBroker.utils or npm i @jpgorganizer/utils
                                          • NOTE: you must delete all states of the adapter instance to install this release and please check your application carefully for necessary adjustments regarding type/role changes (see below)
                                          • data types of (nearly) all datapoints adjusted for compliance with ioBroker guidance:
                                            • states now have special ioBroker type and role instead of former string/text where applicable, e.g. number/value.battery for batteryLevel_value (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/3)
                                          • datapoint activity_value_i replaced by activity_mowing_i with type/role boolean/indicator.working: true means mowing, false means not mowing
                                          • possibility to pre-define states integrated, see new switch PreDefine States in adapter/instance configuration (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/2)
                                          • states are readonly now; except states for commands (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/4)
                                          • input field for useTestVariable in adapter/instance configuration switched to a checkbox (former: text); please check your settings
                                          • error in command stop_all_valves_i in VALVE_SET fixed
                                        M Offline
                                        M Offline
                                        muckel
                                        wrote on last edited by
                                        #120

                                        @jpgorganizer

                                        Siehe oben! :clap:

                                        1 Reply Last reply
                                        0
                                        • jpgorganizerJ jpgorganizer

                                          @muckel Danke für deinen Support. Ich war einfach zu doof zu sehen, dass in einer Auswahl der Sensor komplett fehlt.
                                          @dslraser

                                          Sollte nun gehen. Bitte testet und bitte auch Feedback.

                                          Neue Version 0.4.2 ist auf github.

                                          Grüße
                                          jpgorganizer

                                          0.4.2

                                          • (jpgorganizer)
                                            • error missing SENSOR data fixed

                                          0.4.1

                                          • (jpgorganizer)
                                            • Dependency get's resolved now

                                          0.4.0

                                          • (jpgorganizer)
                                            • NOTE: with this version an additional dependency is necessary at runtime. If it does not get installed together with the installation of this adapter, please install seperately with npm install https://github.com/jpgorganizer/ioBroker.utils or npm i @jpgorganizer/utils
                                            • NOTE: you must delete all states of the adapter instance to install this release and please check your application carefully for necessary adjustments regarding type/role changes (see below)
                                            • data types of (nearly) all datapoints adjusted for compliance with ioBroker guidance:
                                              • states now have special ioBroker type and role instead of former string/text where applicable, e.g. number/value.battery for batteryLevel_value (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/3)
                                            • datapoint activity_value_i replaced by activity_mowing_i with type/role boolean/indicator.working: true means mowing, false means not mowing
                                            • possibility to pre-define states integrated, see new switch PreDefine States in adapter/instance configuration (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/2)
                                            • states are readonly now; except states for commands (Issue https://github.com/jpgorganizer/ioBroker.smartgarden/issues/4)
                                            • input field for useTestVariable in adapter/instance configuration switched to a checkbox (former: text); please check your settings
                                            • error in command stop_all_valves_i in VALVE_SET fixed
                                          dslraserD Offline
                                          dslraserD Offline
                                          dslraser
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #121

                                          @jpgorganizer

                                          alles da :+1:

                                          Bildschirmfoto 2020-04-01 um 17.03.00.png

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          657

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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