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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter Govee via AWS/App

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

      @ilovegym schick mal den debug log an tombox2020@gmail.com

      Neuschwansteini K 2 Replies Last reply Reply Quote 0
      • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            894
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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