Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Einstellungen von Shuttercontrol

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Einstellungen von Shuttercontrol

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

      @simatec Kannst Du hier mal bitte einen Blick drauf werfen?

      Im debug habe ich die folgende Zeile gefunden, wenn Elevation unter den eingestellten Wert fällt:

      shuttercontrol.0  2023-04-01 18:52:02.051	debug	Büro level conversion is disabled ...
      

      Daraus schließe ich, das der Codebereich in "sunProtect.js"

       // +++++++++++++++++ End of sunprotect with Elevationslimit +++++++++++++++
      

      durchlaufen wird. Allergings scheint das auch die einzige debug-Ausgabe aus diesem Bereich zu sein.
      Und der Rollladen wird nicht hochgefahren 😞

      Wo könnte ich da falsche Einstellungen gemacht haben?

      Hier noch ein größerer debug Auszug vom entsprechenden Zeitraum:

      shuttercontrol.0 2023-04-01 18:58:56.640	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:58:46.639	debug	Brightness sensor value: 831.9
      shuttercontrol.0 2023-04-01 18:56:46.623	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:56:36.622	debug	Brightness sensor value: 878.7
      shuttercontrol.0 2023-04-01 18:55:00.024	debug	Sun Elevation: 8.6°
      shuttercontrol.0 2023-04-01 18:55:00.023	debug	Sun Azimut: 266.3°
      shuttercontrol.0 2023-04-01 18:55:00.020	debug	calculate astrodata ...
      shuttercontrol.0 2023-04-01 18:54:22.145	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:54:12.143	debug	Brightness sensor value: 945.8
      shuttercontrol.0 2023-04-01 18:52:02.053	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
      shuttercontrol.0 2023-04-01 18:52:02.052	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
      shuttercontrol.0 2023-04-01 18:52:02.051	debug	Büro level conversion is disabled ...
      shuttercontrol.0 2023-04-01 18:51:43.204	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:51:33.203	debug	Brightness sensor value: 1002.8
      shuttercontrol.0 2023-04-01 18:50:02.051	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
      shuttercontrol.0 2023-04-01 18:50:02.049	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
      shuttercontrol.0 2023-04-01 18:50:02.049	debug	Büro level conversion is disabled ...
      shuttercontrol.0 2023-04-01 18:50:00.011	debug	Sun Elevation: 9.4°
      shuttercontrol.0 2023-04-01 18:50:00.011	debug	Sun Azimut: 265.3°
      shuttercontrol.0 2023-04-01 18:50:00.010	debug	calculate astrodata ...
      shuttercontrol.0 2023-04-01 18:48:49.900	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:48:39.899	debug	Brightness sensor value: 1025.1
      shuttercontrol.0 2023-04-01 18:46:46.084	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:46:36.083	debug	Brightness sensor value: 1037.3
      shuttercontrol.0 2023-04-01 18:45:02.060	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
      shuttercontrol.0 2023-04-01 18:45:02.059	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
      shuttercontrol.0 2023-04-01 18:45:00.022	debug	Sun Elevation: 10.1°
      shuttercontrol.0 2023-04-01 18:45:00.022	debug	Sun Azimut: 264.3°
      shuttercontrol.0 2023-04-01 18:45:00.021	debug	calculate astrodata ...
      shuttercontrol.0 2023-04-01 18:44:27.876	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:44:17.875	debug	Brightness sensor value: 1078
      shuttercontrol.0 2023-04-01 18:41:55.378	debug	Brightness State Down is: false
      shuttercontrol.0 2023-04-01 18:41:45.376	debug	Brightness sensor value: 1104.5
      shuttercontrol.0 2023-04-01 18:40:02.023	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
      shuttercontrol.0 2023-04-01 18:40:02.022	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
      shuttercontrol.0 2023-04-01 18:40:00.013	debug	Sun Elevation: 10.9°
      shuttercontrol.0 2023-04-01 18:40:00.013	debug	Sun Azimut: 263.3°
      shuttercontrol.0 2023-04-01 18:40:00.012	debug	calculate astrodata ...
      
      simatec 1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @StealthAngel last edited by

        @stealthangel Wenn du autoSun auf false hast, ist der Sonnenschutz deaktiviert.
        Wenn du ihn dann wieder auf true setzt, kann es eine Zeit dauern, bis sich ein Wert ändert und darauf dann der Sonnenschutz greift.

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

          @simatec Hallo und danke für die Info.

          Mein Hauptproblem ist aber immer noch, dass der Rollladen nicht hochfährt, wenn die Elevation den Wert von "Beenden der Sonnenschutzfunktion mit Sonnenhöhe" unterschreitet. ("autoSun" steht auf true)

          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @StealthAngel last edited by

            @stealthangel
            Poste mal deine Settings als Json und schreibe bitte hinzu, welche Rollläden betroffen sind

            1 Reply Last reply Reply Quote 0
            • S
              StealthAngel last edited by

              @simatec
              system.adapter.shuttercontrol.0 (1).json

              Ich habe bisher nur einen Rollladen drin. Der Name ist Büro.

              simatec 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @StealthAngel last edited by

                @stealthangel Mir kommen deine Geodaten nicht so korrekt vor. Bekommst du überhaupt Daten zum Sonnenstand?
                Was passiert bei dir jetzt genau nicht wie es soll?
                Habe dein Problem noch nicht so recht verstanden.

                Ändere mal den Namen Büro in Buero.

                1 Reply Last reply Reply Quote 0
                • S
                  StealthAngel last edited by

                  @simatec said in Einstellungen von Shuttercontrol:

                  @stealthangel Mir kommen deine Geodaten nicht so korrekt vor. Bekommst du überhaupt Daten zum Sonnenstand?

                  Die Geodaten passen und auch Azimut und Elevation sind hinreichend korrekt.

                  Was passiert bei dir jetzt genau nicht wie es soll?

                  Also ich fahre Sonnenschutzfunktion den Rollladen runter wenn Azimut >210° ist (das klappt).

                  Der Sonnenschutz soll beendet werden, wenn die Sonne unter 10° Elevation fällt, damit die Bude kurz vor Sonnenuntergang noch mal richtig durchgelüftet wird.
                  Das passiert leider nicht.
                  Der Rollladen verbleibt in der Sonnenschutzstellung bis der Lichtsensor unter 70 fällt. Dann wird der Rollladen komplett geschlossen (was auch passiert und richtig ist).

                  Nur das öffnen kurz vor Sonnenuntergang (Elevation <10°) das funktioniert nicht, obwohl im debug angezeigt wird, dass er in den Codeteil

                  // +++++++++++++++++ End of sunprotect with Elevationslimit +++++++++++++++
                  

                  reinspringt

                  shuttercontrol.0 2023-04-01 18:52:02.051 debug Büro level conversion is disabled ...
                  

                  Das mit Büro -> Buero probiere ich gleich mal....

                  simatec 1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @StealthAngel last edited by

                    @stealthangel Zeige mal bitte deinen Debuglog von Shutercontrol...
                    Am besten den Auzug, wo die Elevation von 10 erreicht wird.
                    Mich irritieren noch immer deine Geodaten. Hier sollten normal 6 Stellen inter dem Punkt sein.

                    Ich hatte das mal bei einem anderen Adapter... Der hat mit falschen Geodaten nicht sauber gearbeitet

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

                      @simatec

                      shuttercontrol.0 2023-04-01 18:58:56.640	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:58:46.639	debug	Brightness sensor value: 831.9
                      shuttercontrol.0 2023-04-01 18:56:46.623	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:56:36.622	debug	Brightness sensor value: 878.7
                      shuttercontrol.0 2023-04-01 18:55:00.024	debug	Sun Elevation: 8.6°
                      shuttercontrol.0 2023-04-01 18:55:00.023	debug	Sun Azimut: 266.3°
                      shuttercontrol.0 2023-04-01 18:55:00.020	debug	calculate astrodata ...
                      shuttercontrol.0 2023-04-01 18:54:22.145	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:54:12.143	debug	Brightness sensor value: 945.8
                      shuttercontrol.0 2023-04-01 18:52:02.053	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                      shuttercontrol.0 2023-04-01 18:52:02.052	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                      shuttercontrol.0 2023-04-01 18:52:02.051	debug	Büro level conversion is disabled ...
                      shuttercontrol.0 2023-04-01 18:51:43.204	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:51:33.203	debug	Brightness sensor value: 1002.8
                      shuttercontrol.0 2023-04-01 18:50:02.051	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                      shuttercontrol.0 2023-04-01 18:50:02.049	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                      shuttercontrol.0 2023-04-01 18:50:02.049	debug	Büro level conversion is disabled ...
                      shuttercontrol.0 2023-04-01 18:50:00.011	debug	Sun Elevation: 9.4°
                      shuttercontrol.0 2023-04-01 18:50:00.011	debug	Sun Azimut: 265.3°
                      shuttercontrol.0 2023-04-01 18:50:00.010	debug	calculate astrodata ...
                      shuttercontrol.0 2023-04-01 18:48:49.900	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:48:39.899	debug	Brightness sensor value: 1025.1
                      shuttercontrol.0 2023-04-01 18:46:46.084	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:46:36.083	debug	Brightness sensor value: 1037.3
                      shuttercontrol.0 2023-04-01 18:45:02.060	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                      shuttercontrol.0 2023-04-01 18:45:02.059	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                      shuttercontrol.0 2023-04-01 18:45:00.022	debug	Sun Elevation: 10.1°
                      shuttercontrol.0 2023-04-01 18:45:00.022	debug	Sun Azimut: 264.3°
                      shuttercontrol.0 2023-04-01 18:45:00.021	debug	calculate astrodata ...
                      shuttercontrol.0 2023-04-01 18:44:27.876	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:44:17.875	debug	Brightness sensor value: 1078
                      shuttercontrol.0 2023-04-01 18:41:55.378	debug	Brightness State Down is: false
                      shuttercontrol.0 2023-04-01 18:41:45.376	debug	Brightness sensor value: 1104.5
                      shuttercontrol.0 2023-04-01 18:40:02.023	debug	status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                      shuttercontrol.0 2023-04-01 18:40:02.022	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                      shuttercontrol.0 2023-04-01 18:40:00.013	debug	Sun Elevation: 10.9°
                      shuttercontrol.0 2023-04-01 18:40:00.013	debug	Sun Azimut: 263.3°
                      shuttercontrol.0 2023-04-01 18:40:00.012	debug	calculate astrodata ...
                      
                      
                      simatec 1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @StealthAngel last edited by

                        @stealthangel OK gehen wir mal anderes an... Wenn dein Rollladen im Sonnenschutz fährt, wird im autoState sauber sunProtect gesetzt?
                        Kannst auch mal den Log posten, wenn der Sonnenschutz aktiviert wird

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

                          @simatec said in Einstellungen von Shuttercontrol:

                          @stealthangel OK gehen wir mal anderes an... Wenn dein Rollladen im Sonnenschutz fährt, wird im autoState sauber sunProtect gesetzt?

                          So wie ich das sehe, ja.
                          Shutter5.JPG

                          Kannst auch mal den Log posten, wenn der Sonnenschutz aktiviert wird

                          2023-04-01 14:50:00.045 - debug: shuttercontrol.0 (131673) Sun Elevation: 39.6°
                          2023-04-01 14:50:02.061 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:50:02.062 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:51:06.770 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:51:06.772 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4602
                          2023-04-01 14:51:06.805 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:51:07.862 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 14:51:16.773 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 14:53:27.486 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:53:27.487 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4591
                          2023-04-01 14:53:27.489 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:53:28.571 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 14:53:37.488 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 14:55:00.014 - debug: shuttercontrol.0 (131673) calculate astrodata ...
                          2023-04-01 14:55:00.015 - debug: shuttercontrol.0 (131673) Sun Azimut: 208.4°
                          2023-04-01 14:55:00.016 - debug: shuttercontrol.0 (131673) Sun Elevation: 39.2°
                          2023-04-01 14:55:02.024 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:55:02.025 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:55:33.773 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:55:33.774 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4519
                          2023-04-01 14:55:33.817 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:55:34.874 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 14:55:43.776 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 14:58:29.519 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 14:58:29.521 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4320
                          2023-04-01 14:58:29.525 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 14:58:30.637 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 14:58:39.522 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:00:00.029 - debug: shuttercontrol.0 (131673) calculate astrodata ...
                          2023-04-01 15:00:00.030 - debug: shuttercontrol.0 (131673) Sun Azimut: 210°
                          2023-04-01 15:00:00.031 - debug: shuttercontrol.0 (131673) Sun Elevation: 38.8°
                          2023-04-01 15:00:02.047 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:00:02.051 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:00:45.882 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:00:45.941 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:00:45.951 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:00:45.983 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:00:46.194 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:00:54.785 - info: web.0 (1054) ==> Connected system.user.admin from ::ffff:192.168.2.21
                          2023-04-01 15:01:11.007 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:01:11.008 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4080
                          2023-04-01 15:01:11.042 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:01:12.101 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 15:01:21.010 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:03:38.021 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:03:38.022 - debug: shuttercontrol.0 (131673) Brightness sensor value: 3841
                          2023-04-01 15:03:38.028 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:03:39.097 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: up
                          2023-04-01 15:03:48.023 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:05:00.046 - debug: shuttercontrol.0 (131673) calculate astrodata ...
                          2023-04-01 15:05:00.048 - debug: shuttercontrol.0 (131673) Sun Azimut: 211.5°
                          2023-04-01 15:05:00.049 - debug: shuttercontrol.0 (131673) Sun Elevation: 38.4°
                          2023-04-01 15:05:02.070 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:05:02.072 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:05:02.116 - debug: shuttercontrol.0 (131673) Büro: Check basis for sunprotect. Height:100 > HeightDownSun: 30 AND Height:100 == currentHeight:100 AND currentHeight:100 == heightUp:100
                          2023-04-01 15:05:02.118 - info: shuttercontrol.0 (131673) Sunprotect #416 Set ID: Büro value: 30%
                          2023-04-01 15:05:02.169 - info: mqtt.0 (955) send2Server mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos[shellies/Buero/Rolladen/roller/0/command/pos]
                          2023-04-01 15:05:02.171 - debug: shuttercontrol.0 (131673) #0 wait for shutter check started
                          2023-04-01 15:05:02.186 - debug: shuttercontrol.0 (131673) Sunprotect for Büro is active
                          2023-04-01 15:05:02.187 - debug: shuttercontrol.0 (131673) RangeMinus: 210 < 211.5RangePlus: 390 > 211.5
                          2023-04-01 15:05:02.187 - debug: shuttercontrol.0 (131673) last automatic Action for Büro: down_Sunprotect
                          2023-04-01 15:05:02.187 - debug: shuttercontrol.0 (131673) Sunprotect Büro old height: 100% new height: 30%
                          2023-04-01 15:05:22.172 - debug: shuttercontrol.0 (131673) #0 wait for shutter check end
                          2023-04-01 15:05:22.177 - debug: shuttercontrol.0 (131673) Shutter state changed: Büro old value = 100 new value = 30
                          2023-04-01 15:05:22.178 - debug: shuttercontrol.0 (131673) Büro Old value = 100. New value = 30. automatic is active
                          2023-04-01 15:05:50.509 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:05:50.509 - debug: shuttercontrol.0 (131673) Brightness sensor value: 3875
                          2023-04-01 15:05:50.541 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:05:50.596 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: sunProtect
                          2023-04-01 15:06:00.510 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:08:52.737 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:08:52.738 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4014
                          2023-04-01 15:08:52.742 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:08:52.913 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: sunProtect
                          2023-04-01 15:09:02.740 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:10:00.012 - debug: shuttercontrol.0 (131673) calculate astrodata ...
                          2023-04-01 15:10:00.012 - debug: shuttercontrol.0 (131673) Sun Azimut: 213°
                          2023-04-01 15:10:00.013 - debug: shuttercontrol.0 (131673) Sun Elevation: 38°
                          2023-04-01 15:10:02.022 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:10:02.026 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:11:40.501 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:11:40.502 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4138
                          2023-04-01 15:11:40.539 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:11:40.591 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: sunProtect
                          2023-04-01 15:11:50.503 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:14:13.761 - debug: shuttercontrol.0 (131673) start pendingAlarm to check if an alarm is currently pending (exept frost)
                          2023-04-01 15:14:13.763 - debug: shuttercontrol.0 (131673) Brightness sensor value: 4158
                          2023-04-01 15:14:13.800 - debug: shuttercontrol.0 (131673) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                          2023-04-01 15:14:13.856 - debug: shuttercontrol.0 (131673) Lightsensor up Büro already up at: 100% - setting current action: sunProtect
                          2023-04-01 15:14:23.764 - debug: shuttercontrol.0 (131673) Brightness State Down is: false
                          2023-04-01 15:15:00.024 - debug: shuttercontrol.0 (131673) calculate astrodata ...
                          2023-04-01 15:15:00.025 - debug: shuttercontrol.0 (131673) Sun Azimut: 214.5°
                          2023-04-01 15:15:00.026 - debug: shuttercontrol.0 (131673) Sun Elevation: 37.6°
                          
                          simatec 1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @StealthAngel last edited by

                            @stealthangel Habe es jetzt noch einmal nachgestellt...
                            Deine Werte für Himmelsrichtung und Range können so nicht passen.
                            Du kannst dir die richtigen Werte für deinen Standort und dein Fensterausrichtung bei https://www.sonnenverlauf.de ermitteln.

                            Wenn ich aber deine Range sehe, dann kann das nicht passen. Du gibst 300 als Himmelsrichtung ein und eine Range von 90.
                            Das würde bedeuten, dass bei größer 210 der Sonnenschutz aktiviert wird und bei größer 390 deaktiviert wird.
                            390 ° gibt es nicht.
                            Hier sollte der maximale Wert bei 360 liegen.
                            Wenn ich jetzt aber ein Fenster habe, dass Richtung Westen liegt, dann sollte die Einstellung von 290° und einer Range von 50-60 ° ausreichend sein.

                            Des Weiteren würde ich das Ende des Sonneschutzes im Verhältnis zum schließen de Lichtsensors nicht zu knapp machen. Setze lieber das Ende des Sonnenschutzes auf 12 oder 15

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

                              @simatec Es ist mir ja schon fast peinlich, aber das war nicht die Lösung.

                              Die Werte für das Fenster habe ich jetzt angepasst und Elevation steht jetzt auf 15°, aber nix passiert:

                              2023-04-04 18:09:05.857 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3883
                              2023-04-04 18:09:15.859 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:10:00.010 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:10:00.010 - debug: shuttercontrol.0 (144217) Sun Azimut: 258.1°
                              2023-04-04 18:10:00.011 - debug: shuttercontrol.0 (144217) Sun Elevation: 16.3°
                              2023-04-04 18:10:02.020 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:10:02.021 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:11:20.335 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3852
                              2023-04-04 18:11:30.336 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:13:20.378 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3830
                              2023-04-04 18:13:30.379 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:15:00.018 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:15:00.019 - debug: shuttercontrol.0 (144217) Sun Azimut: 259.1°
                              2023-04-04 18:15:00.020 - debug: shuttercontrol.0 (144217) Sun Elevation: 15.5°
                              2023-04-04 18:15:02.035 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:15:02.036 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:16:09.880 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3807
                              2023-04-04 18:16:19.881 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:18:45.081 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3789
                              2023-04-04 18:18:55.082 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:20:00.020 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:20:00.021 - debug: shuttercontrol.0 (144217) Sun Azimut: 260.1°
                              2023-04-04 18:20:00.022 - debug: shuttercontrol.0 (144217) Sun Elevation: 14.7°
                              2023-04-04 18:20:02.039 - debug: shuttercontrol.0 (144217) Buero level conversion is disabled ...
                              2023-04-04 18:20:02.039 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:20:02.041 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:21:05.884 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3767
                              2023-04-04 18:21:15.884 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:22:02.041 - debug: shuttercontrol.0 (144217) Buero level conversion is disabled ...
                              2023-04-04 18:22:02.041 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:22:02.042 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:23:12.134 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3761
                              2023-04-04 18:23:22.136 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:25:00.016 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:25:00.016 - debug: shuttercontrol.0 (144217) Sun Azimut: 261.1°
                              2023-04-04 18:25:00.017 - debug: shuttercontrol.0 (144217) Sun Elevation: 14°
                              2023-04-04 18:25:02.037 - debug: shuttercontrol.0 (144217) Buero level conversion is disabled ...
                              2023-04-04 18:25:02.037 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:25:02.040 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:26:07.826 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3767
                              2023-04-04 18:26:17.827 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:27:02.046 - debug: shuttercontrol.0 (144217) Buero level conversion is disabled ...
                              2023-04-04 18:27:02.047 - debug: shuttercontrol.0 (144217) start pendingAlarm to check if an alarm is currently pending (exept frost)
                              2023-04-04 18:27:02.052 - debug: shuttercontrol.0 (144217) status alarm pending for mqtt.0.shellies.Buero.Rolladen.roller.0.command.pos: false
                              2023-04-04 18:28:49.380 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3737
                              2023-04-04 18:28:59.380 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:30:00.009 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:30:00.010 - debug: shuttercontrol.0 (144217) Sun Azimut: 262.2°
                              2023-04-04 18:30:00.010 - debug: shuttercontrol.0 (144217) Sun Elevation: 13.2°
                              2023-04-04 18:31:16.376 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3700
                              2023-04-04 18:31:26.377 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:33:28.866 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3678
                              2023-04-04 18:33:38.869 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:35:00.009 - debug: shuttercontrol.0 (144217) calculate astrodata ...
                              2023-04-04 18:35:00.009 - debug: shuttercontrol.0 (144217) Sun Azimut: 263.2°
                              2023-04-04 18:35:00.010 - debug: shuttercontrol.0 (144217) Sun Elevation: 12.5°
                              2023-04-04 18:36:31.161 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3602
                              2023-04-04 18:36:41.163 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              2023-04-04 18:39:18.867 - debug: shuttercontrol.0 (144217) Brightness sensor value: 3590
                              2023-04-04 18:39:28.868 - debug: shuttercontrol.0 (144217) Brightness State Down is: false
                              

                              Kannst Du bitte noch mal schauen? Welche Daten brauchst Du?
                              Vielen Dank.....

                              1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active last edited by

                                @stealthangel Stelle mal in den Rollladen Einstellungen die Automatik auch bei geöffneten Fenster ein.

                                Passt der Wert 0 für den Fensterkontakt?

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

                                  @simatec said in Einstellungen von Shuttercontrol:

                                  @stealthangel Stelle mal in den Rollladen Einstellungen die Automatik auch bei geöffneten Fenster ein.

                                  Buero1.JPG

                                  Passt der Wert 0 für den Fensterkontakt?

                                  Buero FK.JPG

                                  Ich denke, das passt.

                                  Ich habe jetzt in den Sourcecode mal ein paar Debugs eingebaut.

                                  In die if Bedingung

                                  if ((currentValue === mustValue || currentValue === mustValueTilted) && shutterSettings[s].tempSensor != '' || (currentValue != mustValue && currentValue != mustValueTilted && shutterSettings[s].autoDrive != 'onlyDown' && shutterSettings[s].autoDrive != 'off') || (shutterSettings[s].triggerID == '')) {
                                  .......
                                  

                                  springt er schon nicht mehr rein.

                                  Die Objekte sind

                                  CurrentValue: 0
                                  mustValue: 0
                                  mustValueTilted: 0
                                  shutterSettungs.temp:
                                  shutterSettings[s].autoDrive: upDown
                                  shutterSettings[s].triggerID: hm-rpc.1.00155D898A87A1.1.STATE
                                  shutterSettings[s].driveAfterClose: false
                                  

                                  Mit meinen stümperhaften Programmierkenntnissen würde ich sagen es liegt an

                                  shutterSettings[s].tempSensor != ''
                                  

                                  Aber ich habe keinen Temperatursensor 😞

                                  Was kann ich da tun?
                                  Danke für Eure Hilfe....

                                  Tolkin simatec 2 Replies Last reply Reply Quote 0
                                  • Tolkin
                                    Tolkin @StealthAngel last edited by

                                    Mahlzeit und Frohe Ostern zusammen. Da einige Shelly's 2,5 bei mir defekt waren, habe ich heute neue Shelly's 2PM verbaut. Jetzt wollte ich gerade im ShutterControl Adapter die neuen Shellys hinzufügen und sehe, dass es den Reiter Position nicht mehr gibt? Kann mir jemand weiterhelfen und sagen wie ich bei den neuen Shelly's 2PM auf Positon fahren kann?

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

                                      @tolkin said in Einstellungen von Shuttercontrol:

                                      ....sagen wie ich bei den neuen Shelly's 2PM auf Positon fahren kann?

                                      Schau mal hier:
                                      Shelly Gen 2 Device API

                                      und hier:
                                      MQTT Control

                                      Bei weiteren Fragen besser ein neues Thema aufmachen, das es nix mit den Shuttercontrol Adapter zu tun hat....

                                      simatec 1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @StealthAngel last edited by

                                        @stealthangel sagte in Einstellungen von Shuttercontrol:

                                        Aber ich habe keinen Temperatursensor

                                        Trage doch mal zum testen irgendeine ID bei tempSensor ein.
                                        Damit könnte man den Fehler erstmal eingrenzen

                                        S 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @StealthAngel last edited by simatec

                                          @stealthangel Teste bitte mal die v1.4.24 ... Da sollte es egal sein, ob du einen Temperatursensor hast

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

                                            @simatec said in Einstellungen von Shuttercontrol:

                                            Damit könnte man den Fehler erstmal eingrenzen

                                            Ich habe vermutlich den Fehler gefunden 🙂 Mit Temp-Sensor geht es.

                                            Das ist aber gar nicht nötig. In der "sunProtect.js" ist in ca. Zeile 1251 steht die if-Bedingung

                                            if ((currentValue === mustValue || currentValue === mustValueTilted) && shutterSettings[s].tempSensor != '' || (currentValue != mustValue && currentValue != mustValueTilted && shutterSettings[s].autoDrive != 'onlyDown' && shutterSettings[s].autoDrive != 'off') || (shutterSettings[s].triggerID == '')) {
                                            

                                            In der ganzen if-Bedingung wird "shutterSettings[].tempSensor" aber nicht gebraucht.
                                            Aus meiner Sicht müsste

                                            && shutterSettings[].tempSensor != ''
                                            

                                            ersatzlos gelöscht werden. Habe ich auch ausprobiert. Damit klappt es.

                                            @simatec said in Einstellungen von Shuttercontrol:

                                            @stealthangel Teste bitte mal die v1.4.24 ... Da sollte es egal sein, ob du einen Temperatursensor hast

                                            Lade ich gleich mal und Teste....

                                            Danke für Eure Hilfe

                                            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

                                            927
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            43
                                            2573
                                            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