Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [can be closed] Test Adapter FollowTheSun v0.2.x Latest

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [can be closed] Test Adapter FollowTheSun v0.2.x Latest

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

      Aktuelle Test Version 0.2.2
      Veröffentlichungsdatum 07.12..2020
      Github Link https://github.com/HGlab01/ioBroker.followthesun

      Ich hab einen kleinen Adapter gebaut auf Basis des Requests https://github.com/ioBroker/AdapterRequests/issues/226
      der periodisch Position und Winkel der Sonne als Datenpunkte ablegt.

      Verfügbar im NPM Latest Repository (https://www.npmjs.com/package/iobroker.followthesun).

      Würde mich über ein Reintesten und Feedback freuen.

      Sharky780 created this issue in ioBroker/AdapterRequests

      closed Adapter für den Sonnenverlauf #226

      paul53 1 Reply Last reply Reply Quote 2
      • paul53
        paul53 @HGlab last edited by paul53

        @HGlab
        Wieviel MB RAM verbraucht die Instanz ?
        Bei mir macht es ein kleines Skript:

        const suncalc = require('suncalc');
        
        const jsa = getObject("system.adapter.javascript.1");
        const lat = jsa.native.latitude;
        const long = jsa.native.longitude;
        
        schedule("* * * * *", function () {
            var now = new Date();
        
            var sunpos = suncalc.getPosition(now, lat, long);
            var h = sunpos.altitude * 180 / Math.PI; 
            var a = sunpos.azimuth * 180 / Math.PI + 180;
            
            setState("javascript.1.Sonne.Höhe", Math.round(10 * h) / 10, true);
            setState("javascript.1.Sonne.Azimut", Math.round(a), true);
        });
        
        H 1 Reply Last reply Reply Quote 0
        • H
          HGlab @paul53 last edited by

          @paul53 Ja, das ist mir bewusst. Aber wenn du Blocky-Nutzer bist und auf den Wert triggern willst oder abfragen willst, dann ist wohl nützlich...

          H 1 Reply Last reply Reply Quote 0
          • H
            HGlab @HGlab last edited by HGlab

            v0.2.2 released

            • update dependecies
            • add solar-noon information
            • add compass information
            • breaking change! states moved from root to "current"
            sigi234 1 Reply Last reply Reply Quote 1
            • sigi234
              sigi234 Forum Testing Most Active @HGlab last edited by

              @HGlab sagte in Test Adapter FollowTheSun v0.2.x Latest:

              v0.2.2 released

              • update dependecies
              • add solar-noon information
              • add compass information
              • breaking change! states moved from root to "current"

              Ein Widget wäre cool, weis ehrlich gesagt nicht wie ich es darstellen soll.😀

              H 1 Reply Last reply Reply Quote 0
              • H
                HGlab @sigi234 last edited by

                @sigi234 was willst du darstellen?

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

                  @HGlab sagte in Test Adapter FollowTheSun v0.2.x Latest:

                  @sigi234 was willst du darstellen?

                  Screenshot (2895).png

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    HGlab @sigi234 last edited by

                    @sigi234 Das war jetzt nicht wirklich die Idee des (einfachen) Adapters 🙂

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    665
                    Online

                    31.6k
                    Users

                    79.4k
                    Topics

                    1.3m
                    Posts

                    followthesun
                    3
                    8
                    766
                    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