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 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
                                        • L
                                          lustig29 @paul53 last edited by

                                          @paul53 Hast du eine Idee wie ich das hinbekommen kann?

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

                                            @paul53 das steht im Log

                                            code_text
                                            ```hmip.0	2020-06-25 21:45:46.128	info	(28734) hmip adapter connected and ready
                                            hmip.0	2020-06-25 21:45:44.418	info	(28734) ws connection opened
                                            hmip.0	2020-06-25 21:45:39.770	info	(28734) starting. Version 0.0.11 in /opt/iobroker/node_modules/iobroker.hmip, node: v12.18.0, js-controller: 3.1.6
                                            host.raspberrypi	2020-06-25 21:45:36.180	info	instance system.adapter.hmip.0 started with pid 28734
                                            host.raspberrypi	2020-06-25 21:45:06.121	info	Restart adapter system.adapter.hmip.0 because enabled
                                            host.raspberrypi	2020-06-25 21:45:06.119	info	instance system.adapter.hmip.0 terminated with code 0 (NO_ERROR)
                                            hmip.0	2020-06-25 21:45:05.554	info	(28119) Terminated (NO_ERROR): Without reason
                                            hmip.0	2020-06-25 21:45:05.551	info	(28119) terminating
                                            hmip.0	2020-06-25 21:45:05.521	info	(28119) cleaned everything up...
                                            hmip.0	2020-06-25 21:45:05.519	error	at IncomingMessage.emit (events.js:327:22)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Object.onceWrapper (events.js:421:28)
                                            hmip.0	2020-06-25 21:45:05.519	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1076:12)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.emit (events.js:315:20)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1154:10)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.emit (events.js:315:20)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                            hmip.0	2020-06-25 21:45:05.519	error	at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                            hmip.0	2020-06-25 21:45:05.519	error	at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                            hmip.0	2020-06-25 21:45:05.519	error	(28119) StatusCodeError: 400 - {"errorCode":"NOT_HEATING_GROUP"}
                                            hmip.0	2020-06-25 21:45:05.516	error	(28119) unhandled promise rejection: 400 - {"errorCode":"NOT_HEATING_GROUP"}
                                            paul53 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            842
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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