Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. PV Überschuss zum betreiben von 1 Heizstab

    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

    PV Überschuss zum betreiben von 1 Heizstab

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Spidermike last edited by

      @spidermike sagte in PV Überschuss zum betreiben von 1 Heizstab:

      kann das daran liegen mit den minuswerten?

      ja!
      der Plenticore weiss ja nix davon

      S 1 Reply Last reply Reply Quote 0
      • S
        Spidermike @Homoran last edited by

        @homoran sagte in PV Überschuss zum betreiben von 1 Heizstab:

        @spidermike sagte in PV Überschuss zum betreiben von 1 Heizstab:

        kann das daran liegen mit den minuswerten?

        ja!
        der Plenticore weiss ja nix davon

        habe ich mir jetzt auch gedacht,
        also ist dann auch geklärt
        ist das jetzt was schlimmes oder egal?

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

          @spidermike sagte: ist das jetzt was schlimmes oder egal?

          Auf die Funktion dieses Skriptes hat es keinen Einfluss.

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

            @paul53 sagte in PV Überschuss zum betreiben von 1 Heizstab:

            @spidermike sagte: ist das jetzt was schlimmes oder egal?

            Auf die Funktion dieses Skriptes hat es keinen Einfluss.

            perfekt, nochmals vielen Dank an Euch

            werde mich jetzt mal an mein Garagentorprojekt mit dem Wled heranmachen damit das mal endlich zum laufen kommt

            S 1 Reply Last reply Reply Quote 0
            • S
              Spidermike @Spidermike last edited by

              @spidermike

              bekomme jetzt viele Log
              was ist das denn jetzt

              hs100.0
              	2022-07-24 17:01:03.310	warn	This object will not be created in future versions. Please report this to the developer.
              hs100.0
              	2022-07-24 17:01:03.309	warn	Object 192_168_178_94.ledState is invalid: Default value has to be type "string" but received type "boolean"
              hs100.0
              	2022-07-24 17:01:03.306	warn	This object will not be created in future versions. Please report this to the developer.
              hs100.0
              	2022-07-24 17:01:03.304	warn	Object 192_168_178_94.last_update is invalid: Default value has to be type "string" but received type "number"
              hs100.0
              	2022-07-24 17:01:03.198	info	Start with IP : 192.168.178.94
              hs100.0
              	2022-07-24 17:01:03.196	warn	This object will not be created in future versions. Please report this to the developer.
              hs100.0
              	2022-07-24 17:01:03.196	warn	Object 192_168_178_38.last_update is invalid: Default value has to be type "string" but received type "number"
              hs100.0
              	2022-07-24 17:01:02.934	info	Start with IP : 192.168.178.38
              hs100.0
              	2022-07-24 17:01:02.931	warn	This object will not be created in future versions. Please report this to the developer.
              hs100.0
              	2022-07-24 17:01:02.931	warn	Object 192_168_178_95.ledState is invalid: Default value has to be type "string" but received type "boolean"
              hs100.0
              	2022-07-24 17:01:02.929	warn	This object will not be created in future versions. Please report this to the developer.
              hs100.0
              	2022-07-24 17:01:02.928	warn	Object 192_168_178_95.last_update is invalid: Default value has to be type "string" but received type "number"
              hs100.0
              	2022-07-24 17:01:02.870	info	Start with IP : 192.168.178.95
              hs100.0
              	2022-07-24 17:01:02.820	info	starting. Version 2.0.7 in /opt/iobroker/node_modules/iobroker.hs100, node: v14.20.0, js-controller: 4.0.23
              host.raspberrypi4-iobroker
              	2022-07-24 17:01:00.691	info	instance system.adapter.hs100.0 started with pid 14007
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.614	info	Restart adapter system.adapter.hs100.0 because enabled
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.614	error	instance system.adapter.hs100.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: }
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: port: 9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: address: '192.168.178.94',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: syscall: 'connect',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: code: 'ECONNREFUSED',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.613	error	Caught by controller[7]: errno: -111,
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[7]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[7]: [3kw Heizstab] device.send() Error: connect ECONNREFUSED 192.168.178.94:9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[6]: }
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[6]: port: 9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[6]: address: '192.168.178.94',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.612	error	Caught by controller[6]: syscall: 'connect',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[6]: code: 'ECONNREFUSED',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[6]: errno: -111,
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[6]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[6]: TCP 192.168.178.94:9999 Error: connect ECONNREFUSED 192.168.178.94:9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[5]: }
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.611	error	Caught by controller[5]: port: 9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: address: '192.168.178.94',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: syscall: 'connect',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: code: 'ECONNREFUSED',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: errno: -111,
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.610	error	Caught by controller[5]: [3kw Heizstab] device.send() Error: connect ECONNREFUSED 192.168.178.94:9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: }
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: port: 9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: address: '192.168.178.94',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: syscall: 'connect',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: code: 'ECONNREFUSED',
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.609	error	Caught by controller[4]: errno: -111,
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.608	error	Caught by controller[4]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.608	error	Caught by controller[4]: TCP 192.168.178.94:9999 Error: connect ECONNREFUSED 192.168.178.94:9999
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.608	error	Caught by controller[3]: at processTimers (internal/timers.js:500:7)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.608	error	Caught by controller[3]: at listOnTimeout (internal/timers.js:557:17)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.608	error	Caught by controller[3]: at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[3]: 192.168.178.94:9999 {"system":{"get_sysinfo":{}}}
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[3]: TCP 192.168.178.94:9999 Error: TCP Timeout after 10000ms
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[2]: at processTimers (internal/timers.js:500:7)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[2]: at listOnTimeout (internal/timers.js:557:17)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[2]: at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.607	error	Caught by controller[2]: 192.168.178.94:9999 {"emeter":{"get_realtime":{}}}
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[2]: [3kw Heizstab] device.send() Error: TCP Timeout after 10000ms
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[1]: at processTimers (internal/timers.js:500:7)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[1]: at listOnTimeout (internal/timers.js:557:17)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[1]: at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[1]: 192.168.178.94:9999 {"emeter":{"get_realtime":{}}}
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.606	error	Caught by controller[1]: TCP 192.168.178.94:9999 Error: TCP Timeout after 10000ms
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.605	error	Caught by controller[0]: at processTimers (internal/timers.js:500:7)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.605	error	Caught by controller[0]: at listOnTimeout (internal/timers.js:557:17)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.605	error	Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36)
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.605	error	Caught by controller[0]: 192.168.178.94:9999 {"system":{"get_sysinfo":{}}}
              host.raspberrypi4-iobroker
              	2022-07-24 17:00:30.604	error	Caught by controller[0]: TCP 192.168.178.94:9999 Error: TCP Timeout after 10000ms
              hs100.0
              	2022-07-24 17:00:30.132	error	Exception-Code: ECONNREFUSED: connect ECONNREFUSED 192.168.178.94:9999
              hs100.0
              	2022-07-24 17:00:30.131	error	Error: connect ECONNREFUSED 192.168.178.94:9999 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
              hs100.0
              	2022-07-24 17:00:30.131	error	unhandled promise rejection: connect ECONNREFUSED 192.168.178.94:9999
              hs100.0
              	2022-07-24 17:00:30.130	error	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().
              hs100.0
              	2022-07-24 17:00:30.049	error	Exception-Code: ECONNREFUSED: connect ECONNREFUSED 192.168.178.94:9999
              hs100.0
              	2022-07-24 17:00:30.048	error	Error: connect ECONNREFUSED 192.168.178.94:9999 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
              hs100.0
              	2022-07-24 17:00:30.047	error	unhandled promise rejection: connect ECONNREFUSED 192.168.178.94:9999
              hs100.0
              	2022-07-24 17:00:30.046	error	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().
              hs100.0
              	2022-07-24 17:00:30.033	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              hs100.0
              	2022-07-24 17:00:30.031	info	terminating
              hs100.0
              	2022-07-24 17:00:30.030	info	cleaned everything up...
              hs100.0
              	2022-07-24 17:00:30.027	warn	Info Message setDevice: Error: TCP Timeout after 10000ms192.168.178.94:9999 {"system":{"get_sysinfo":{}}} at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36) at listOnTimeout (internal/timers.js:557:17) at processTimers (internal/timers.js:500:7)
              hs100.0
              	2022-07-24 17:00:30.020	error	TCP Timeout after 10000ms192.168.178.94:9999 {"emeter":{"get_realtime":{}}}
              hs100.0
              	2022-07-24 17:00:30.020	error	Error: TCP Timeout after 10000ms192.168.178.94:9999 {"emeter":{"get_realtime":{}}} at Timeout._onTimeout (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:59:36) at listOnTimeout (internal/timers.js:557:17) at processTimers (internal/timers.js:500:7)
              hs100.0
              	2022-07-24 17:00:30.019	error	unhandled promise rejection: TCP Timeout after 10000ms192.168.178.94:9999 {"emeter":{"get_realtime":{}}}
              hs100.0
              	2022-07-24 17:00:30.018	error	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().
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Spidermike last edited by

                @spidermike was soll das mit dem bisherigen Thema zu tun haben?

                S D 2 Replies Last reply Reply Quote 0
                • D
                  Diamand2k22 @Homoran last edited by Diamand2k22

                  @paul53

                  finde das Blockly Klasse und habe es erfolgreich bei mir im Einsatz.
                  Konstellation ist 2x E-Heizkörper die je nach Heizstufe zuschalten.
                  Beide Geräte haben eine Leistung von 800W. Somit funktioniert das ganze recht gut.
                  Frage von meiner Seite wäre, wie kann ich das Skript um eine 3. Heizstufe aufbohren, aber wenn der Verbraucher dann nicht 800 W hat sondern 2400W hat ?

                  Grüße

                  Diamand

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

                    @diamand2k22 sagte: wie kann ich das Skript um eine 3. Heizstufe aufbohren, aber wenn der Verbraucher dann nicht 800 W hat sondern 2400W hat ?

                    Wieso nur 3 Stufen?

                    1. Stufe: Stab 1
                    2. Stufe: Stab 1+2
                    3. Stufe: Stab 3
                    4. Stufe: Stab 3 + 1
                    5. Stufe: Stab 3 + 1 + 2

                    Jede Stufe unterscheidet sich um 800 W, also ist es wohl nicht so schwierig, das anzupassen?

                    D 1 Reply Last reply Reply Quote 1
                    • D
                      Diamand2k22 @paul53 last edited by

                      @paul53 said in PV Überschuss zum betreiben von 1 Heizstab:

                      @diamand2k22 sagte: wie kann ich das Skript um eine 3. Heizstufe aufbohren, aber wenn der Verbraucher dann nicht 800 W hat sondern 2400W hat ?

                      Wieso nur 3 Stufen?

                      1. Stufe: Stab 1
                      2. Stufe: Stab 1+2
                      3. Stufe: Stab 3
                      4. Stufe: Stab 3 + 1
                      5. Stufe: Stab 3 + 1 + 2

                      Jede Stufe unterscheidet sich um 800 W, also ist es wohl nicht so schwierig, das anzupassen?

                      ok, dann ist Stufe 5 die 2400W

                      2022-09-26 17_39_57-javascript - pi4b.png

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

                        @diamand2k22 sagte: dann ist Stufe 5 die 2400W

                        Nein, Stufe 5 ist 4000 W.

                        Bild_2022-09-26_174939947.png

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

                          @paul53

                          stimmt, zu blöd zum Rechnen 😄 ....

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Diamand2k22 @Diamand2k22 last edited by

                            @paul53

                            aber ich glaube wir haben aneinander vorbei geredet 😄 der Ablauf soll folgender sein:

                            Überschuss >800W -> Heistab 1 ein (Heistufe 1)
                            Danach Überschuss wieder > 800W Heizstab 2 ein (Heizstufe 2)
                            danach Überschuss >2400 W Poolheizung ein (Heizstufe 3)

                            aber Heizstab 1 und Heizstab 2 sollen weiterlaufen und der Pool schaltet sich bei Überschuss >2400W noch dazu.
                            Wenn der Überschuss wieder weniger wird, schaltet sich alles in umgekehrter Reihenfolge wieder ab.

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

                              @diamand2k22 sagte: aber Heizstab 1 und Heizstab 2 sollen weiterlaufen

                              Dann gibt es einen Leistungssprung von 2400 W (1600 auf 4000 W), der nicht mehr per einfacher Stufenschaltung zu behandeln ist.

                              Übrigens: Wie hast Du mit zwei 800 W Heizungen 3 Stufen gebildet?

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

                                @diamand2k22 sagte:

                                Überschuss >800W -> Heistab 1 ein (Heistufe 1)
                                Danach Überschuss wieder > 800W Heizstab 2 ein (Heizstufe 2)
                                danach Überschuss >2400 W Poolheizung ein (Heizstufe 3)

                                Bild_2022-09-26_192646505.png

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

                                  @paul53

                                  hier mal das aktuelle Blockly

                                  9f46b0f6-e667-4b8a-9c72-8a43ae9bd99c-image.png

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

                                    @diamand2k22 sagte: das aktuelle Blockly

                                    Das funktioniert so nicht. Ändere bei Skriptstart die Ermittlung der Leistungsstufe so wie hier gezeigt.

                                    Außerdem wird, wenn die Leistungsstufe 2 erreicht ist, ein höherer Grenzwert (-2400) für weiteres Hochschalten benötigt.

                                    Bild_2022-09-26_201146441.png

                                    Wozu dienen cntEin und cntAus, die nirgends ausgewertet werden?

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

                                      @paul53

                                      ich habe es wie von dir beschrieben angepasst.

                                      8b07024c-7948-4d50-bda2-4bc742e9bb3a-image.png

                                      cnt werden ausgewertet, siehe Markierung!

                                      jetzt habe ich noch das Thema mit der Leistungsstufe 2400W.
                                      Muss ich mal sehen wie ich das hin bekomm...

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

                                        @diamand2k22 sagte: Thema mit der Leistungsstufe 2400W.
                                        Muss ich mal sehen wie ich das hin bekomm...

                                        Wie gezeigt.

                                        @diamand2k22 sagte in PV Überschuss zum betreiben von 1 Heizstab:

                                        cnt werden ausgewertet, siehe Markierung!

                                        Ach ja, das dient zur Verzögerung (Anpassung an das Verhalten des Smartmeters).

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

                                          @paul53

                                          danke das funktioniert!

                                          2fc0be58-b5d5-488c-979d-b0fae63f2b60-image.png

                                          Wie müsste ich das Blockly noch anpassen, wenn die Leistungsstufe 3 nochmal eine E-Heizung mit 600W sind und dann die Leistungsstufe 4 der Pool mit den 2400W.
                                          Wie sieht dann das setzten des Startwertes oben aus?

                                          Danke und
                                          Grüße

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

                                            @diamand2k22 sagte: Leistungsstufe 3 nochmal eine E-Heizung mit 600W sind und dann die Leistungsstufe 4 der Pool mit den 2400W.
                                            Wie sieht dann das setzten des Startwertes oben aus?

                                            Bild_2022-09-27_194640483.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            758
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            144
                                            12675
                                            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