Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Govee via AWS/App

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Govee via AWS/App

    This topic has been deleted. Only users with topic management privileges can see it.
    • Neuschwansteini
      Neuschwansteini @tombox last edited by Neuschwansteini

      @tombox ist raus, sind aber komischerweise keine errors von dem undefined dabei.. vielleicht kommen die erst spaeter.. habs nicht solange laufen lassen...

      erzeugen tu ich das mit

      ilovegym@iobrokerS /opt/iobroker $ iob logs --watch | grep govee-app >>govee-app.log
      
      
      T 1 Reply Last reply Reply Quote 0
      • K
        kimukao @tombox last edited by

        @tombox Super!!! Vielen Dank, läuft seit eben auch bei mir. Bislang keine Fehlermeldungen… Freue mich 🙂

        1 Reply Last reply Reply Quote 0
        • T
          tombox @Neuschwansteini last edited by

          @ilovegym Es gäbe anscheinend noch ein anderes status format bitte mal die GitHub version testen

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

            @tombox

            erst lief se ohne Fehler, auf einmal kam dann das hier dauernd, hatte ein Device an..

            2023-01-08 20:14:20.401  - debug: govee-app.0 (600033) MQTT message: GA/0d2dfc1424762d1da5b0d91a8f8868ca {"proType":2,"sku":"H605B","device":"BE:20:D6:39:32:37:2B:67","softVersion":"1.02.01","wifiSoftVersion":"1.00.12","cmd":"status","type":0,"transaction":"x_1673205258458","pactType":1,"pactCode":1,"state":{"onOff":1,"brightness":100,"color":{"r":255,"g":0,"b":0},"colorTemInKelvin":0,"mode":0,"wifiHardVersion":"1.03.10","bleHardVersion":"3.02.01","result":1},"op":{"command":["qlUAZDIAAQAyAAAAAAAAAAAAAJo=","qgUAAWQBAWMAAAAAAAAAAAAAAKk=","qhEAHg8PAAAAAAAAAAAAAAAAAKU=","qhL/ZAAAgAoAAAAAAAAAAAAAAKk=","qiP/AAAAgAAAAIAAAACAAAAAgHY=","qjYBAQEAAAAAAAAAAAAAAAAAAJ0=","qqkABgEQAwENBQAAAAAAAAAAAB4=","qqkCAWQAAAAAAAAAAAAAAAAAAGQ="]}}
            2023-01-08 20:14:30.679  - debug: govee-app.0 (600033) MQTT message: GA/0d2dfc1424762d1da5b0d91a8f8868ca {"proType":0,"msg":"{\"sku\":\"H6104\",\"device\":\"9A:5B:78:9C:E7:05:6A:42\",\"type\":0,\"transaction\":\"1673205270\",\"cmd\":\"IoTConnected\"}"}
            2023-01-08 20:14:30.680  - error: govee-app.0 (600033) 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().
            2023-01-08 20:14:30.681  - error: govee-app.0 (600033) unhandled promise rejection: Unexpected token u in JSON at position 0
            2023-01-08 20:14:30.684  - error: govee-app.0 (600033) SyntaxError: Unexpected token u in JSON at position 0
               at JSON.parse (<anonymous>)
               at DeviceClient.<anonymous> (/opt/iobroker/node_modules/iobroker.govee-app/main.js:462:25)
               at DeviceClient.emit (node:events:513:28)
               at DeviceClient.emit (node:domain:489:12)
               at MqttClient.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:826:12)
               at MqttClient.emit (node:events:513:28)
               at MqttClient.emit (node:domain:489:12)
               at Arguments.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:1265:27)
               at Object.MqttClient.options.customHandleAcks (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:183:150)
               at MqttClient._handlePublish (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:1258:15)
            2023-01-08 20:14:30.684  - error: govee-app.0 (600033) Unexpected token u in JSON at position 0
            2023-01-08 20:14:30.695  - info: govee-app.0 (600033) terminating
            2023-01-08 20:14:30.695  - debug: govee-app.0 (600033) Plugin sentry destroyed
            2023-01-08 20:14:30.695  - warn: govee-app.0 (600033) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2023-01-08 20:14:31.244  - error: host.iobrokerS Caught by controller[0]: 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(). The promise rejected with the reason:
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]: SyntaxError: Unexpected token u in JSON at position 0
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at JSON.parse (<anonymous>)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at DeviceClient.<anonymous> (/opt/iobroker/node_modules/iobroker.govee-app/main.js:462:25)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at DeviceClient.emit (node:events:513:28)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at DeviceClient.emit (node:domain:489:12)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at MqttClient.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:826:12)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at MqttClient.emit (node:events:513:28)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at MqttClient.emit (node:domain:489:12)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at Arguments.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:1265:27)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at Object.MqttClient.options.customHandleAcks (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:183:150)
            2023-01-08 20:14:31.245  - error: host.iobrokerS Caught by controller[0]:     at MqttClient._handlePublish (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:1258:15)
            2023-01-08 20:14:31.246  - error: host.iobrokerS instance system.adapter.govee-app.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            2023-01-08 20:14:31.246  - info: host.iobrokerS Restart adapter system.adapter.govee-app.0 because enabled
            2023-01-08 20:14:31.246  - warn: host.iobrokerS Do not restart adapter system.adapter.govee-app.0 because restart loop detected
            
            
            

            T 1 Reply Last reply Reply Quote 0
            • T
              tombox @Neuschwansteini last edited by

              @ilovegym sollte jetzt gefixt sein

              Neuschwansteini Olli_M K 3 Replies Last reply Reply Quote 0
              • Neuschwansteini
                Neuschwansteini @tombox last edited by

                @tombox

                guten Morgen, danke, hab gestern Abend die letzte Git installiert, laeuft bis jetzt ohne Fehler.
                Funktionen on/off, brightness, color und snapshot funktionieren.
                Getested mit Devices 2x H6104 und Dreamview T1 Pro.

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

                  @tombox

                  Läuft bei mir auch super 😉

                  Olli_M 1 Reply Last reply Reply Quote 0
                  • K
                    kimukao @tombox last edited by

                    @tombox Eine Frage: Solange ich nur ein Govee Licht über Script steuere funktioniert alles (bis auf eine Verzögerung von 1-2 Sekunden) ohne Probleme. Wenn ich aber mehrere Lichter gleichzeitig steuere wird der Befehl zwar an die iobroker Datenpunkte weitergegeben (dort steht dann zB 1 oder 0), das Licht aber nicht zuverlässig geschaltet. Ist das nur bei mir so, oder kann das ein anderer User so bestätigen?

                    T Olli_M 2 Replies Last reply Reply Quote 0
                    • T
                      tombox @kimukao last edited by

                      @kimukao probier mal die github version ob das verhalten dann anders ist.
                      hast du dabei die app offen oder beendet?

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

                        @kimukao

                        Viel mir jetzt noch nicht auf allerdings schalte ich eh meist eine gruppe bzw. über default (tap to run commands ) wo ja alles drin drinnen ist was er machen soll

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

                          @tombox

                          Hi Tom,

                          Kriegst du vielleicht noch die Gruppe als DP ?

                          C6CC5CAD-7A97-4682-81B9-C5E206BC966D.png

                          Das wöre noch gut.

                          Dsnke dir

                          Olli

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

                            @olli_m ja habe noch groups hinzugefügt

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

                              @tombox
                              perfekt 🙂

                              1 Reply Last reply Reply Quote 0
                              • K
                                kimukao @tombox last edited by

                                @tombox Super! Jetzt klappt's mit der gleichzeitigen Schaltung mehrerer Lichter. Danke! Die Gruppenfunktion ist auch sehr hilfreich. Hab ich direkt in meine Automationen eingebunden.

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

                                  @tombox
                                  Läuft soweit ohne Auffälligkeiten.
                                  Allerdings... würde es nicht Sinn machen die 3 DP für Farbe r,g,b zu einem DP zusammenzufassen? Dann ließe sich das in den meisten Visualisierungen besser verarbeiten.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tombox @OstfrieseUnterwegs last edited by

                                    @ostfrieseunterwegs Was wäre der beste Weg? wo man 122,10,22 eingibt?

                                    OstfrieseUnterwegs E 2 Replies Last reply Reply Quote 0
                                    • OstfrieseUnterwegs
                                      OstfrieseUnterwegs @tombox last edited by

                                      @tombox ich würde sagen mit Hex: #f4fdff

                                      1 Reply Last reply Reply Quote 1
                                      • E
                                        ExMatador @tombox last edited by

                                        @tombox
                                        Das Einschalten mittels 1-On und 0-Off ist etwas gewöhnungsbedürftig. Shellys, tuya und andere schalten mit true/false - das ist für Automatisierungsscripte (enums mit aliases) dann etwas leichter im Handling.
                                        Aber ansonsten klappt die Integration schon sehr gut.
                                        Vielen Dank
                                        ExMatador

                                        OstfrieseUnterwegs 1 Reply Last reply Reply Quote 0
                                        • OstfrieseUnterwegs
                                          OstfrieseUnterwegs @ExMatador last edited by

                                          @exmatador Da kommen Alias und read/write Funktionen zum Einsatz:

                                          {
                                            "type": "state",
                                            "common": {
                                              "name": "Switch",
                                              "role": "switch",
                                              "type": "boolean",
                                              "read": true,
                                              "write": true,
                                              "alias": {
                                                "id": "govee-app.0.AA:BB:CC.remote.turn",
                                                "read": "val==1?true:false",
                                                "write": "val?1:0"
                                              },
                                              "custom": {
                                                "iot.0": {
                                                  "smartName": {
                                                    "de": "Todesstern",
                                                    "smartType": "LIGHT"
                                                  }
                                                }
                                              }
                                            },
                                            "_id": "alias.0.device.todesstern.switch",
                                            "native": {},
                                            "acl": {
                                              "object": 1636,
                                              "state": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            },
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1673270947902
                                          }
                                          
                                          E 1 Reply Last reply Reply Quote 1
                                          • J
                                            jensven last edited by

                                            habe den adapter nun auch installiert, leider bekomme ich folgenden error:
                                            Ein und auschalten funktioniert, bekomme aber alle 5 Minuten diese Meldung

                                            govee-app.0
                                            2023-02-15 16:20:56.501	debug	MQTT message: **************** {"proType":2,"sku":"H6199","device":"**********","softVersion":"1.09.12","wifiSoftVersion":"1.00.29","cmd":"status","type":0,"transaction":"x_1676474455558","pactType":2,"pactCode":1,"state":{"onOff":0,"brightness":70,"color":{"r":0,"g":0,"b":255},"colorTemInKelvin":0,"mode":0,"wifiHardVersion":"1.03.00","bleHardVersion":"3.02.01","result":1},"op":{"command":["qlUAZDIBAAAyAAAAAAAAAAAAAJo=","qgUAAAADAGMAAAAAAAAAAAAAAM8=","qhEAHg8PAAAAAAAAAAAAAAAAAKU=","qhL/ZAAAgAoAAAAAAAAAAAAAAKk=","qiP/AAAAgAAAAIAAAACAAAAAgHY=","qqkABgEQAwEOAwAAAAAAAAAAABs=","qqkCATIAAAAAAAAAAAAAAAAAADI="]}}
                                            
                                            govee-app.0
                                            2023-02-15 16:20:55.557	debug	MQTT publish to ********
                                            
                                            govee-app.0
                                            2023-02-15 16:19:29.155	debug	MQTT subscribe to ******
                                            
                                            govee-app.0
                                            2023-02-15 16:19:29.154	debug	MQTT connected
                                            
                                            govee-app.0
                                            2023-02-15 16:19:28.655	debug	MQTT reconnect
                                            
                                            govee-app.0
                                            2023-02-15 16:19:27.653	debug	MQTT offline
                                            
                                            govee-app.0
                                            2023-02-15 16:19:27.652	error	MQTT ERROR: Error: read ECONNRESET
                                            

                                            evtl. Datenschutz bedenkliche Infos wurden durch ***** ersetzt.

                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            739
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            132
                                            18053
                                            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