Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Homematic Ip Thermostate und Xiaomi ( Gelöst )

    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

    Homematic Ip Thermostate und Xiaomi ( Gelöst )

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lustig29 @paul53 last edited by

      @paul53
      21.6.2020, 16:53:16.769 [info ]: javascript.0 (1780) Start javascript script.js.Heizung_Balkontür
      21.6.2020, 16:53:16.903 [info ]: javascript.0 (1780) script.js.Heizung_Balkontür: registered 1 subscription and 0 schedules
      21.6.2020, 16:54:15.337 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:15.341 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:21.129 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:21.139 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:23.581 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:23.584 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:27.226 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:27.231 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:28.907 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:28.912 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:31.743 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:31.747 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:34.405 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:34.410 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:35.068 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:35.071 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:36.214 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:36.218 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:37.129 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:37.132 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:38.183 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:38.185 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:39.711 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:39.715 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:43.045 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:43.047 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:44.378 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:44.381 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:45.785 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:45.789 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:46.867 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:46.869 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:54:54.198 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:54:54.200 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:55:00.642 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:55:00.645 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:55:01.844 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:55:01.847 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:55:31.725 [info ]: javascript.0 (1780) Stop script script.js.Heizung_Balkontür
      21.6.2020, 16:57:08.217 [info ]: javascript.0 (1780) Stop script script.js.Heizung_Balkontür
      21.6.2020, 16:57:21.589 [info ]: javascript.0 (1780) Start javascript script.js.Heizung_Balkontür
      21.6.2020, 16:57:21.603 [info ]: javascript.0 (1780) script.js.Heizung_Balkontür: registered 1 subscription and 0 schedules
      21.6.2020, 16:58:47.100 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:47.102 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:58:49.608 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:49.611 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:58:52.442 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:52.447 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:58:54.665 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:54.671 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:58:55.979 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:55.981 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:58:57.208 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:58:57.217 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:59:02.869 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:59:02.871 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:59:03.705 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:59:03.709 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:59:07.993 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:59:08.000 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:59:12.693 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:59:12.697 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value
      21.6.2020, 16:59:12.821 [warn ]: javascript.0 (1780) at Object.<anonymous> (script.js.Heizung_Balkontür:16:3)
      21.6.2020, 16:59:12.828 [error]: javascript.0 (1780) script.js.Heizung_Balkontür: setForeignState: undefined is not a valid state value

      So?

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @lustig29 last edited by paul53

        @lustig29 sagte:

        So?

        Nein, rechts oben kann man mit blockly/JS in die Javascript-Ansicht umschalten. Dann mit copy & paste den Code in das Forum kopieren: Code tags oben: </>

        Ich habe den Grund wahrscheinlich gefunden (siehe oben).

        L 1 Reply Last reply Reply Quote 0
        • L
          lustig29 @paul53 last edited by

          @paul53 Ok, also lösche ich die Variablen jetzt am besten und erstelle sie selber neu?

          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @lustig29 last edited by paul53

            @lustig29 sagte:

            lösche ich die Variablen jetzt am besten und erstelle sie selber neu?

            Nein, füge über dem Trigger-Block die Initialisierung der Variable autosoll ein:

            setze autosoll auf Wert vom Objekt ID setPointTemperature.
            

            Blockly_temp.JPG

            L 1 Reply Last reply Reply Quote 0
            • L
              lustig29 @paul53 last edited by lustig29

              @paul53 leider funktioniert es immer noch nicht

              Das steht im Log:
              27641) state change - setPointTemperature - id 73137e60-2021-42bd-9d0e-e048643e315f - value 5

              paul53 2 Replies Last reply Reply Quote 0
              • paul53
                paul53 @lustig29 last edited by

                @lustig29 sagte:

                funktioniert es immer noch nicht

                Welche Fehlermeldung ?

                1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @lustig29 last edited by paul53

                  @lustig29 sagte:

                  Das steht im Log:
                  27641) state change - setPointTemperature - id 73137e60-2021-42bd-9d0e-e048643e315f - value 5

                  Der Wert 5 wird geschrieben, weil vermutlich der Sollwert auf 5 °C eingestellt war. Siehe hier. Es funktioniert nur mit einem Sollwert > 12 °C bei geschlossenem Fenster.

                  Es kann übrigens einige Minuten dauern, bis der neue Sollwert im Thermostaten ankommt.

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    lustig29 @paul53 last edited by

                    @paul53 es liegt an meinem Homematic Acesspoint. Der bekommt keine Verbindung mehr 😉

                    1 Reply Last reply Reply Quote 0
                    • L
                      lustig29 last edited by

                      Habe mein Acesspoint wieder zum laufen gebracht. Leider funktioniert das Skript nur teilweise und wirft jetzt Fehler vom Hmip Adapter im Log aus.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lustig29 last edited by

                        code_text
                        ```hmip.0	2020-06-23 18:17:28.124	info	(22803) Terminated (NO_ERROR): Without reason
                        hmip.0	2020-06-23 18:17:28.121	info	(22803) terminating
                        hmip.0	2020-06-23 18:17:28.082	info	(22803) cleaned everything up...
                        hmip.0	2020-06-23 18:17:28.080	error	at IncomingMessage.emit (events.js:327:22)
                        hmip.0	2020-06-23 18:17:28.080	error	at Object.onceWrapper (events.js:421:28)
                        hmip.0	2020-06-23 18:17:28.080	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1076:12)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.emit (events.js:315:20)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1154:10)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.emit (events.js:315:20)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                        hmip.0	2020-06-23 18:17:28.080	error	at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                        hmip.0	2020-06-23 18:17:28.080	error	at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                        hmip.0	2020-06-23 18:17:28.080	error	(22803) StatusCodeError: 400 - {"errorCode":"NOT_HEATING_GROUP"}
                        hmip.0	2020-06-23 18:17:28.070	error	(22803) unhandled promise rejection: 400 - {"errorCode":"NOT_HEATING_GROUP"}
                        Unhandled	2020-06-23 18:17:28.069	error	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().
                        1 Reply Last reply Reply Quote 0
                        • L
                          lustig29 last edited by

                          Liegt mien Fehler darin, dass ich das Wandthermosthat ausgewählt habe? Habe dies ausgewählt, weil ich im Wohnzimmer 2 Thermosthate habe die darüber laufen.
                          Fenster auf Temperatur runter klappt in der Regel, nur nicht wieder zurück. Da bleiben die 5 Grad stehen.

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @lustig29 last edited by

                            @lustig29 sagte:

                            Da bleiben die 5 Grad stehen.

                            War "Fenster offen"-Temperatur nicht 12 °C ?

                            L 2 Replies Last reply Reply Quote 0
                            • L
                              lustig29 @paul53 last edited by

                              @paul53 Ja, hatte ich wieder auf 5 Grad geändert.

                              1 Reply Last reply Reply Quote 0
                              • L
                                lustig29 @paul53 last edited by

                                @paul53 kannst du bitte nochmal kurz drüber schauen und mir sagen, was noch verkehrt läuft? Fenster auf... Temperatur geht auf 5 Grad. Fenster zu... Temperatur bleibt bei 5 Grad stehen.

                                paul53 1 Reply Last reply Reply Quote 0
                                • paul53
                                  paul53 @lustig29 last edited by paul53

                                  @lustig29 sagte:

                                  Fenster zu... Temperatur bleibt bei 5 Grad stehen.

                                  Wie war der Sollwert vor "Fenster öffnen" ?
                                  Überprüfe die Variablen-Werte mit Debug-Blöcken.

                                  Blockly_temp.JPG

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    lustig29 @paul53 last edited by

                                    @paul53 Habe ihn jetzt auch auf 18 gestellt, wie bei dir. Hier der Debug Output:

                                    25.6.2020, 20:19:59.487	[info ]: javascript.0 (27698) Stop script script.js.Heizung_Balkontür
                                    25.6.2020, 20:20:02.766	[info ]: javascript.0 (27698) Start javascript script.js.Heizung_Balkontür
                                    25.6.2020, 20:20:02.789	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: registered 1 subscription and 0 schedules
                                    25.6.2020, 20:21:43.159	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: true
                                    25.6.2020, 20:21:43.161	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 5
                                    25.6.2020, 20:21:52.100	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: false
                                    25.6.2020, 20:21:52.101	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 18
                                    25.6.2020, 20:22:20.396	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: true
                                    25.6.2020, 20:22:20.398	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 5
                                    25.6.2020, 20:22:23.000	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: false
                                    25.6.2020, 20:22:23.002	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 18
                                    25.6.2020, 20:22:23.986	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: true
                                    25.6.2020, 20:22:23.987	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 5
                                    25.6.2020, 20:22:26.669	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: false
                                    25.6.2020, 20:22:26.670	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 18
                                    25.6.2020, 20:22:46.128	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: true
                                    25.6.2020, 20:22:46.130	[info ]: javascript.0 (27698) script.js.Heizung_Balkontür: 5_text
                                    
                                    paul53 1 Reply Last reply Reply Quote 0
                                    • paul53
                                      paul53 @lustig29 last edited by

                                      @lustig29 sagte:

                                      Hier der Debug Output:

                                      Danach wird der richtige Wert zum HMIP-Adapter geschrieben. Kommt er am Thermostaten nicht an ?
                                      Du hast innerhalb von zwei Minuten mehrmals das Fenster geöffnet und geschlossen. So schnell reagiert das Thermostat nicht.

                                      L 2 Replies Last reply Reply Quote 0
                                      • L
                                        lustig29 @paul53 last edited by

                                        @paul53 Also ich trenne den Kontakt, dann springt das Thermostat sofort um auf 5. Nur andersrum geht es nicht.

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          lustig29 @paul53 last edited by

                                          @paul53
                                          Ich mache folgendes: Solltemperatur steht auf 18 Grad
                                          Tür auf - Temperatur geht 5 Grad
                                          Tür zu - Temperatur geht wieder auf 18 Grad
                                          Tür auf - Temperatur bleibt auf 18 Grad stehen

                                          paul53 1 Reply Last reply Reply Quote 0
                                          • paul53
                                            paul53 @lustig29 last edited by

                                            @lustig29 sagte:

                                            Tür auf - Temperatur bleibt auf 18 Grad stehen

                                            Das liegt nicht am Script wie das Log zeigt.

                                            L 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            643
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            45
                                            2874
                                            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