Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [can be closed] Test Adapter FollowTheSun v0.2.x Latest

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    352

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

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

Scheduled Pinned Locked Moved Tester
followthesun
8 Posts 3 Posters 1.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HGlab
    wrote on last edited by HGlab
    #1
    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.

    paul53P 1 Reply Last reply
    2
    • H 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.

      paul53P Offline
      paul53P Offline
      paul53
      wrote on last edited by paul53
      #2

      @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);
      });
      

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      H 1 Reply Last reply
      0
      • paul53P 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 Offline
        H Offline
        HGlab
        wrote on last edited by
        #3

        @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
        0
        • H HGlab

          @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 Offline
          H Offline
          HGlab
          wrote on last edited by HGlab
          #4

          v0.2.2 released

          • update dependecies
          • add solar-noon information
          • add compass information
          • breaking change! states moved from root to "current"
          sigi234S 1 Reply Last reply
          1
          • H HGlab

            v0.2.2 released

            • update dependecies
            • add solar-noon information
            • add compass information
            • breaking change! states moved from root to "current"
            sigi234S Online
            sigi234S Online
            sigi234
            Forum Testing Most Active
            wrote on last edited by
            #5

            @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.:grinning:

            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Immer Daten sichern!

            H 1 Reply Last reply
            0
            • sigi234S sigi234

              @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.:grinning:

              H Offline
              H Offline
              HGlab
              wrote on last edited by
              #6

              @sigi234 was willst du darstellen?

              sigi234S 1 Reply Last reply
              0
              • H HGlab

                @sigi234 was willst du darstellen?

                sigi234S Online
                sigi234S Online
                sigi234
                Forum Testing Most Active
                wrote on last edited by
                #7

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

                @sigi234 was willst du darstellen?

                Screenshot (2895).png

                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Immer Daten sichern!

                H 1 Reply Last reply
                0
                • sigi234S sigi234

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

                  @sigi234 was willst du darstellen?

                  Screenshot (2895).png

                  H Offline
                  H Offline
                  HGlab
                  wrote on last edited by
                  #8

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

                  1 Reply Last reply
                  2
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  295

                  Online

                  32.7k

                  Users

                  82.5k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Home
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe