Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Temperatur mit Alexa abfragen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Temperatur mit Alexa abfragen

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

      Im Datenpunkt Wert steht nichts.
      Verknüpft sind beide ! cloud sowie iot

      Naja ich kann auch +10 und +35 nehmen aber da hast du wohl recht!
      Nur wenn wir draußen 80 Grad haben sollten dann denke ich ist auch unsere Welt schon dem UNtergang geweiht!☺
      Routine ist, Sprach befehl: Alexa wie ist meine Aquarium Temperatur.
      Dazu soll sie dann das Gerät Datenpunkt Aqua-Controller.Aquarium.TEMPERATURE auf true steuern ich hatte jetzt noch nicht den alten datenpunkt gelöscht und neu gesucht.

      Aphofis BBTown 2 Replies Last reply Reply Quote 0
      • Aphofis
        Aphofis @Aphofis last edited by Aphofis

        komischerweise, ist jetzt der Datenpunkt in iot und cloud verschwunden wenn ich ein smart Gerät erstellen will.
        In Iobroker Objekte ist der Datenpunkt noch vorhanden.

        Mein RAW:

        {
          "from": "system.adapter.admin.0",
          "user": "system.user.admin",
          "ts": 1560685577673,
          "common": {
            "name": "Aqua-Controller.Aquarium.TEMPERATURE",
            "type": "number",
            "unit": "°C",
            "role": "value.temperature",
            "def": 0,
            "min": 10,
            "max": 35,
            "read": true,
            "write": true,
            "smartName": {
              "de": "Aquarium",
              "smartType": "THERMOSTAT"
            }
          },
          "native": {},
          "acl": {
            "object": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator"
          },
          "_id": "Eigene_Datenpunkte.Alexa_Sprachsteuerung.Aquarium_Temperatur_",
          "type": "number"
        }
        
        1 Reply Last reply Reply Quote 0
        • BBTown
          BBTown @Aphofis last edited by BBTown

          @Aphofis sagte in Temperatur mit Alexa abfragen:

          Im Datenpunkt Wert steht nichts.

          Dann kann Alexa auch keine Temperatur ansagen.

          @Aphofis sagte in Temperatur mit Alexa abfragen:

          Dazu soll sie dann das Gerät Datenpunkt Aqua-Controller.Aquarium.TEMPERATURE auf true steuern ich hatte jetzt noch nicht den alten datenpunkt gelöscht und neu gesucht.

          Nein, der Datenpunkt soll nicht auf TRUE gesteuert werden.
          In diesen Datenpunkt gehört die aktuell gemessene Temperatur rein.
          Wo sonst steht denn die aktuelle Temperatur, die angesagt werden soll?

          Aphofis 1 Reply Last reply Reply Quote 0
          • Aphofis
            Aphofis @BBTown last edited by

            @BBTown

            Ne das mir auch klar hab den Type in RAW schon geändert! Da type eine nummern ausgabe ist
            Die Temp kommt von einem DS18B20-1_Tepmerature über ESP8266 mit Tasmota Sonoff.

            Bildschirmfoto 2019-06-16 um 14.32.40.png

            BBTown 1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis last edited by

              Ich verstehe noch nicht ganz wie der Wert da rein kommt,
              wenn nicht über das Blockly, da in der RAW ja nix steht das die Temp aus dem Sonoff gelesen werden soll.

              1 Reply Last reply Reply Quote 0
              • BBTown
                BBTown @Aphofis last edited by BBTown

                @Aphofis ja und weshalb fragst Du dann nicht genau den Datenpunkt ab, wenn der Wert da schon vorhanden ist?
                Was soll denn das ganze drumherumgebastel?

                Aphofis 1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @BBTown last edited by

                  @BBTown
                  Weil ich das direkte einbinden dieses Datenpunktes schon versucht hatte, doch Alexa erzählt mir nicht welche Temperatur das eingerichtete Smart Gerät hat.

                  BBTown 1 Reply Last reply Reply Quote 0
                  • BBTown
                    BBTown @Aphofis last edited by

                    @Aphofis dann zeige doch mal den RAW dieses Datenpunktes

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

                      {
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1560685577673,
                        "common": {
                          "name": "Aqua-Controller.Aquarium.TEMPERATURE",
                          "type": "number",
                          "unit": "°C",
                          "role": "value.temperature",
                          "def": 0,
                          "min": 10,
                          "max": 35,
                          "read": true,
                          "write": true,
                          "smartName": {
                            "de": "Aquarium",
                            "smartType": "THERMOSTAT"
                          }
                        },
                        "native": {},
                        "acl": {
                          "object": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        },
                        "_id": "Eigene_Datenpunkte.Alexa_Sprachsteuerung.Aquarium_Temperatur_",
                        "type": "number"
                      }
                      

                      Das ist die momentane RAW
                      und der Datenpunkt vom Temp Sensor sieht so aus.

                      {
                        "_id": "sonoff.0.Aqua_Sensoren.DS18B20-1_Temperature",
                        "common": {
                          "type": "number",
                          "role": "value.temperature",
                          "read": true,
                          "write": false,
                          "unit": "°C",
                          "name": "Aqua_Sensoren_Aquarium",
                          "smartName": {
                            "de": "Aquarium Temperatur",
                            "smartType": "THERMOSTAT"
                          }
                        },
                        "native": {},
                        "type": "state",
                        "from": "system.adapter.sonoff.0",
                        "user": "system.user.admin",
                        "ts": 1560631090272,
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      BBTown 1 Reply Last reply Reply Quote 0
                      • BBTown
                        BBTown @Aphofis last edited by BBTown

                        @Aphofis benenne den Smartnamen "Aquarium mal in etwas völlig anderes um
                        dann benennst Du den Temp-Sensor auf "Aquarium" um

                        Im Bereich "native" steht als "type": "state", ändere diesen mal auf "FLOAT" (so stehe es bei mir) oder "number"

                        Aphofis 1 Reply Last reply Reply Quote 0
                        • Aphofis
                          Aphofis @BBTown last edited by

                          @BBTown
                          Habe ich geändert!
                          nur wenn ich den wert im Sonoff Sensor von State auf number oder float ändere ist in der übersicht die Temperatur verschwunden. Setzte ich es zurück auf State ist die Temperatur wieder da.
                          Alles weitere teste ich Morgen.

                          M 1 Reply Last reply Reply Quote 0
                          • T
                            TorbenNW @apocalypse last edited by TorbenNW

                            @apocalypse said in Temperatur mit Alexa abfragen:

                            Hallo zusammen, ich wollte euch auch mal meine Umsetzung zeigen.

                            Ich habe vor einer Woche etwa angefangen den ioBroker zu installieren, in Verbindung mit Alexa und ich komme sehr gut mit Node Red zurecht.

                            Darin habe ich auch das Zusammenspiel von Alexa und dem Auslesen der aktuellen Temperatur umgesetzt:
                            11805_bildschirmfoto_2019-01-02_um_23.29.28.png
                            11805_bildschirmfoto_2019-01-02_um_23.31.26.png
                            11805_bildschirmfoto_2019-01-02_um_23.32.52.png
                            11805_bildschirmfoto_2019-01-02_um_23.33.56.png
                            11805_bildschirmfoto_2019-01-02_um_23.34.24.png

                            Das Ganze habe ich dann als Routine in der Alexa App erstellt:
                            11805_bildschirmfoto_2019-01-02_um_23.36.56.png

                            VG

                            Dennis

                            Danke - mit dem iobroker input sogar noch ohne das lesen/respone möglich.
                            Sehr simple Geschichte - super!

                            sigi234 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @TorbenNW last edited by

                              @TorbenNW

                              Kannst du den Flow hochladen?

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                TorbenNW @sigi234 last edited by

                                @sigi234

                                [
                                    {
                                        "id": "6910cfca.38536",
                                        "type": "tab",
                                        "label": "Temperaturansagen",
                                        "disabled": false,
                                        "info": ""
                                    },
                                    {
                                        "id": "ccf94307.cb036",
                                        "type": "amazon-echo-hub",
                                        "z": "6910cfca.38536",
                                        "port": "80",
                                        "enableinput": false,
                                        "x": 100,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "213bb398.a065cc"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "213bb398.a065cc",
                                        "type": "amazon-echo-device",
                                        "z": "6910cfca.38536",
                                        "name": "Temperatur Schlafzimmer",
                                        "topic": "",
                                        "x": 330,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "f927e866.ddff48"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "f927e866.ddff48",
                                        "type": "ioBroker get",
                                        "z": "6910cfca.38536",
                                        "name": "Lese Temperatur Schlafzimmer",
                                        "topic": "zigbee.0.00158d000323059c.temperature",
                                        "attrname": "payload",
                                        "payloadType": "value",
                                        "x": 590,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "946af687.5b5738"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "946af687.5b5738",
                                        "type": "function",
                                        "z": "6910cfca.38536",
                                        "name": "Temperatur auslesen",
                                        "func": "var str = msg.payload;\nvar res = str.substr(0, 5);\nmsg.payload = Math.round(res);\nmsg.payload = \"Es sind \" + msg.payload + \" Grad im Schlafzimmer\";\nmsg.url = \"\";\nreturn msg;",
                                        "outputs": 1,
                                        "noerr": 0,
                                        "x": 840,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "d111d86b.a19228",
                                                "2815dbba.74d3a4"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "2815dbba.74d3a4",
                                        "type": "ioBroker out",
                                        "z": "6910cfca.38536",
                                        "name": "speak",
                                        "topic": "alexa2.0.Echo-Devices.G090U6109186088H.Commands.speak",
                                        "ack": "false",
                                        "autoCreate": "false",
                                        "x": 1030,
                                        "y": 60,
                                        "wires": []
                                    },
                                    {
                                        "id": "d111d86b.a19228",
                                        "type": "debug",
                                        "z": "6910cfca.38536",
                                        "name": "",
                                        "active": true,
                                        "tosidebar": true,
                                        "console": false,
                                        "tostatus": false,
                                        "complete": "false",
                                        "x": 1040,
                                        "y": 140,
                                        "wires": []
                                    }
                                ]
                                

                                Nutze das ganze mit dem "node-red-contrib-amazon-echo" Node

                                sigi234 1 Reply Last reply Reply Quote 1
                                • sigi234
                                  sigi234 Forum Testing Most Active @TorbenNW last edited by

                                  @TorbenNW

                                  Danke, irgendwie sagt er mir die Temp nicht an..................

                                  Screenshot (3760).png

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    TorbenNW @sigi234 last edited by

                                    @sigi234
                                    Hast du die entsprechenden Datenpunkte geändert?
                                    Was steht rechts im Debug-Fenster?

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @TorbenNW last edited by

                                      @TorbenNW sagte in Temperatur mit Alexa abfragen:

                                      @sigi234
                                      Hast du die entsprechenden Datenpunkte geändert?
                                      Was steht rechts im Debug-Fenster?

                                      • Ja

                                      • Nichts

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        TorbenNW @sigi234 last edited by

                                        @sigi234
                                        Temperatur Bad findet Alexa aber als neues Gerät?
                                        Und eine Routine zu dem Gerät hast du auch erstellt?

                                        sigi234 1 Reply Last reply Reply Quote 0
                                        • sigi234
                                          sigi234 Forum Testing Most Active @TorbenNW last edited by

                                          @TorbenNW sagte in Temperatur mit Alexa abfragen:

                                          @sigi234
                                          Temperatur Bad findet Alexa aber als neues Gerät?
                                          Und eine Routine zu dem Gerät hast du auch erstellt?

                                          Ja, Ja, aber in der App ist es als Licht drinnen?

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            TorbenNW @sigi234 last edited by

                                            @sigi234
                                            Das ist normal da der Local Node eine Philips Hue bridge imitiert

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            801
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            23
                                            81
                                            19120
                                            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