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. Einsteigerfragen
  4. PV Datenabfrage von neoom / ntuity

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

PV Datenabfrage von neoom / ntuity

Scheduled Pinned Locked Moved Einsteigerfragen
31 Posts 4 Posters 2.9k Views 3 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.
  • Christoph JahnC Offline
    Christoph JahnC Offline
    Christoph Jahn
    wrote on last edited by
    #7

    Gesteuert wird nichts.. Wird für eine LED Matrix Anzeige benötigt.. also nicht "lebensnotwendig" darum würde mir die Abfrage der Cloud völlig ausreichen.

    paul53P 1 Reply Last reply
    0
    • Christoph JahnC Christoph Jahn

      Gesteuert wird nichts.. Wird für eine LED Matrix Anzeige benötigt.. also nicht "lebensnotwendig" darum würde mir die Abfrage der Cloud völlig ausreichen.

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

      @christoph-jahn sagte: Abfrage der Cloud völlig ausreichen.

      Dann versuche es mal mit request() (Blockly / Javascript).

      Blockly_temp.JPG

      Deine ID eintragen!
      Man muss aber wohl mittels eines Token sichern. Davon habe ich keine Ahnung.

      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

      Christoph JahnC 1 Reply Last reply
      0
      • paul53P paul53

        @christoph-jahn sagte: Abfrage der Cloud völlig ausreichen.

        Dann versuche es mal mit request() (Blockly / Javascript).

        Blockly_temp.JPG

        Deine ID eintragen!
        Man muss aber wohl mittels eines Token sichern. Davon habe ich keine Ahnung.

        Christoph JahnC Offline
        Christoph JahnC Offline
        Christoph Jahn
        wrote on last edited by
        #9

        @paul53 Unbenannt.JPG
        Na.. so einfach will es nicht gehen..

        paul53P 1 Reply Last reply
        0
        • Christoph JahnC Christoph Jahn

          @paul53 Unbenannt.JPG
          Na.. so einfach will es nicht gehen..

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

          @christoph-jahn sagte: so einfach will es nicht gehen..

          Poste mal den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.
          Ich wundere mich über "fetch".

          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

          Christoph JahnC 1 Reply Last reply
          0
          • paul53P paul53

            @christoph-jahn sagte: so einfach will es nicht gehen..

            Poste mal den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.
            Ich wundere mich über "fetch".

            Christoph JahnC Offline
            Christoph JahnC Offline
            Christoph Jahn
            wrote on last edited by
            #11

            @paul53 Unbenannt.JPG

            HomoranH paul53P 2 Replies Last reply
            0
            • Christoph JahnC Christoph Jahn

              @paul53 Unbenannt.JPG

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #12

              @christoph-jahn hat du globale Skripte?

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              Christoph JahnC 1 Reply Last reply
              0
              • Christoph JahnC Christoph Jahn

                @paul53 Unbenannt.JPG

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

                @christoph-jahn sagte: @paul53 Unbenannt.JPG

                Sehr schlecht zu lesen! Deshalb: In das Forum kopieren und in Code tags (oben: </>) setzen.
                Es ist kein "fetch" zu sehen.

                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

                Christoph JahnC 1 Reply Last reply
                0
                • paul53P paul53

                  @christoph-jahn sagte: @paul53 Unbenannt.JPG

                  Sehr schlecht zu lesen! Deshalb: In das Forum kopieren und in Code tags (oben: </>) setzen.
                  Es ist kein "fetch" zu sehen.

                  Christoph JahnC Offline
                  Christoph JahnC Offline
                  Christoph Jahn
                  wrote on last edited by Homoran
                  #14

                  @paul53

                  </>var result;
                  
                  
                  schedule("* * * * *", async function () {
                    try {
                      require("request")('https://api.ntuity.io/v1/sites/xxxx/energy-flow/latest', async function (error, response, result) {
                        console.log(result);
                      }).on("error", function (e) {console.error(e);});
                    } catch (e) { console.error(e); }
                  });
                  

                  MOD-EDIT: Code in code-tags gesetzt!

                  Christoph JahnC 1 Reply Last reply
                  0
                  • Christoph JahnC Christoph Jahn

                    @paul53

                    </>var result;
                    
                    
                    schedule("* * * * *", async function () {
                      try {
                        require("request")('https://api.ntuity.io/v1/sites/xxxx/energy-flow/latest', async function (error, response, result) {
                          console.log(result);
                        }).on("error", function (e) {console.error(e);});
                      } catch (e) { console.error(e); }
                    });
                    

                    MOD-EDIT: Code in code-tags gesetzt!

                    Christoph JahnC Offline
                    Christoph JahnC Offline
                    Christoph Jahn
                    wrote on last edited by
                    #15

                    @christoph-jahn said in PV Datenabfrage von neoom / ntuity:

                    @paul53

                    </>var result;

                    schedule("* * * * *", async function () {
                    try {
                    require("request")('https://api.ntuity.io/v1/sites/xxxx/energy-flow/latest', async function (error, response, result) {
                    console.log(result);
                    }).on("error", function (e) {console.error(e);});
                    } catch (e) { console.error(e); }
                    });

                    Sorry bin da nicht so der Hero :D

                    HomoranH 1 Reply Last reply
                    0
                    • HomoranH Homoran

                      @christoph-jahn hat du globale Skripte?

                      Christoph JahnC Offline
                      Christoph JahnC Offline
                      Christoph Jahn
                      wrote on last edited by
                      #16

                      @homoran Wie gesagt bin nicht so drinn in der Materie... Was sind Globale Skripte?

                      HomoranH 1 Reply Last reply
                      0
                      • Christoph JahnC Christoph Jahn

                        @christoph-jahn said in PV Datenabfrage von neoom / ntuity:

                        @paul53

                        </>var result;

                        schedule("* * * * *", async function () {
                        try {
                        require("request")('https://api.ntuity.io/v1/sites/xxxx/energy-flow/latest', async function (error, response, result) {
                        console.log(result);
                        }).on("error", function (e) {console.error(e);});
                        } catch (e) { console.error(e); }
                        });

                        Sorry bin da nicht so der Hero :D

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #17

                        @christoph-jahn sagte in PV Datenabfrage von neoom / ntuity:

                        Sorry bin da nicht so der Hero

                        dann sieh dir mal deinen letzten Post an, lies hier
                        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                        und beantworte meine Frage

                        @homoran sagte in PV Datenabfrage von neoom / ntuity:

                        @christoph-jahn hat du globale Skripte?

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        0
                        • Christoph JahnC Christoph Jahn

                          @homoran Wie gesagt bin nicht so drinn in der Materie... Was sind Globale Skripte?

                          HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #18

                          @christoph-jahn sagte in PV Datenabfrage von neoom / ntuity:

                          Was sind Globale Skripte?

                          im Expertenmodus befindet sich in dem Skript explorer ein Verzeichnis global
                          ist da ein Skript drin?

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          Christoph JahnC 1 Reply Last reply
                          0
                          • HomoranH Homoran

                            @christoph-jahn sagte in PV Datenabfrage von neoom / ntuity:

                            Was sind Globale Skripte?

                            im Expertenmodus befindet sich in dem Skript explorer ein Verzeichnis global
                            ist da ein Skript drin?

                            Christoph JahnC Offline
                            Christoph JahnC Offline
                            Christoph Jahn
                            wrote on last edited by
                            #19

                            @homoran Unbenannt.JPG
                            Ja da ist tatsächlich was drinnen..

                            HomoranH paul53P 2 Replies Last reply
                            0
                            • Christoph JahnC Christoph Jahn

                              @homoran Unbenannt.JPG
                              Ja da ist tatsächlich was drinnen..

                              HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by Homoran
                              #20

                              @christoph-jahn sagte in PV Datenabfrage von neoom / ntuity:

                              Ja da ist tatsächlich was drinnen..

                              warum?
                              woher?

                              und da ist auch der fetch

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Reply Last reply
                              0
                              • Christoph JahnC Christoph Jahn

                                @homoran Unbenannt.JPG
                                Ja da ist tatsächlich was drinnen..

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

                                @christoph-jahn sagte: da ist tatsächlich was drinnen..

                                Lösche das Skript unter der Gruppe "global".
                                Dann trage in die Konfiguration der JS-Instanz unter "Zusätzliche NPM-Module" ein: api
                                Dann erstelle dieses Skript laut Doku unter der Gruppe "common":

                                const sdk = require('api')('@ntuity/v1#6m6q34l263sbor');
                                
                                sdk.auth('token');
                                sdk.getSitesIdEnergyFlowLatest({id: 'id'})
                                  .then(({ data }) => console.log(data))
                                  .catch(err => console.error(err));
                                

                                "token" und "id" durch Deine Sachen ersetzen.

                                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

                                Christoph JahnC 2 Replies Last reply
                                0
                                • paul53P paul53

                                  @christoph-jahn sagte: da ist tatsächlich was drinnen..

                                  Lösche das Skript unter der Gruppe "global".
                                  Dann trage in die Konfiguration der JS-Instanz unter "Zusätzliche NPM-Module" ein: api
                                  Dann erstelle dieses Skript laut Doku unter der Gruppe "common":

                                  const sdk = require('api')('@ntuity/v1#6m6q34l263sbor');
                                  
                                  sdk.auth('token');
                                  sdk.getSitesIdEnergyFlowLatest({id: 'id'})
                                    .then(({ data }) => console.log(data))
                                    .catch(err => console.error(err));
                                  

                                  "token" und "id" durch Deine Sachen ersetzen.

                                  Christoph JahnC Offline
                                  Christoph JahnC Offline
                                  Christoph Jahn
                                  wrote on last edited by Homoran
                                  #22

                                  @paul53 said in PV Datenabfrage von neoom / ntuity:

                                  '

                                  9.6.2023, 19:40:16.839	[info ]: javascript.0 (826423) Stop script script.js.common.ntuity
                                  9.6.2023, 19:40:16.848	[info ]: javascript.0 (826423) Start javascript script.js.common.ntuity
                                  9.6.2023, 19:40:16.881	[info ]: javascript.0 (826423) script.js.common.ntuity: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                  9.6.2023, 19:40:17.263	[info ]: javascript.0 (826423) script.js.common.ntuity: {'power_consumption':{'value':null,'time':'2023-06-09T14:59:30.004Z'},'power_consumption_calc':{'value':1727,'time':'2023-06-09T17:40:15.002Z'},'power_production':{'value':1284,'time':'2023-06-09T17:40:15.002Z'},'power_storage':{'value':404,'time':'2023-06-09T17:40:15.002Z'},'power_grid':{'value':39,'time':'2023-06-09T17:40:15.002Z'},'power_charging_stations':{'value':null,'time':'2023-06-09T14:59:30.004Z'},'power_heating':{'value':null,'time':'2023-06-09T14:59:30.004Z'},'power_appliances':{'value':1727,'time':'2023-06-09T14:59:30.004Z'},'state_of_charge':{'value':99,'time':'2023-06-09T16:57:55.002Z'},'self_sufficiency':{'value':98,'time':'2023-06-09T17:40:15.002Z'},'max_network_utilization':20000,'consumers_total_count':0,'consumers_online_count':0,'producers_total_count':1,'producers_online_count':1,'storages_total_count':2,'storages_online_count':2,'heatings_total_count':0,'heatings_online_count':0,'charging_points_total_count':0,'charging_points_online_count':0,'grids_total_count':1,'grids_online_count':1}
                                  

                                  MOD-EDIT: Code in code-tags gesetzt!

                                  Wow klasse, jetzt werden die Daten ausgegeben!

                                  1 Reply Last reply
                                  0
                                  • paul53P paul53

                                    @christoph-jahn sagte: da ist tatsächlich was drinnen..

                                    Lösche das Skript unter der Gruppe "global".
                                    Dann trage in die Konfiguration der JS-Instanz unter "Zusätzliche NPM-Module" ein: api
                                    Dann erstelle dieses Skript laut Doku unter der Gruppe "common":

                                    const sdk = require('api')('@ntuity/v1#6m6q34l263sbor');
                                    
                                    sdk.auth('token');
                                    sdk.getSitesIdEnergyFlowLatest({id: 'id'})
                                      .then(({ data }) => console.log(data))
                                      .catch(err => console.error(err));
                                    

                                    "token" und "id" durch Deine Sachen ersetzen.

                                    Christoph JahnC Offline
                                    Christoph JahnC Offline
                                    Christoph Jahn
                                    wrote on last edited by
                                    #23

                                    @paul53 said in PV Datenabfrage von neoom / ntuity:

                                    @christoph-jahn sagte: da ist tatsächlich was drinnen..

                                    Lösche das Skript unter der Gruppe "global".
                                    Dann trage in die Konfiguration der JS-Instanz unter "Zusätzliche NPM-Module" ein: api
                                    Dann erstelle dieses Skript laut Doku unter der Gruppe "common":

                                    const sdk = require('api')('@ntuity/v1#6m6q34l263sbor');
                                    
                                    sdk.auth('token');
                                    sdk.getSitesIdEnergyFlowLatest({id: 'id'})
                                      .then(({ data }) => console.log(data))
                                      .catch(err => console.error(err));
                                    

                                    "token" und "id" durch Deine Sachen ersetzen.

                                    In den Objekten werden die Leistungswerte noch nicht gelistet, ist da noch eine Anpassung nötig?

                                    paul53P 1 Reply Last reply
                                    0
                                    • Christoph JahnC Christoph Jahn

                                      @paul53 said in PV Datenabfrage von neoom / ntuity:

                                      @christoph-jahn sagte: da ist tatsächlich was drinnen..

                                      Lösche das Skript unter der Gruppe "global".
                                      Dann trage in die Konfiguration der JS-Instanz unter "Zusätzliche NPM-Module" ein: api
                                      Dann erstelle dieses Skript laut Doku unter der Gruppe "common":

                                      const sdk = require('api')('@ntuity/v1#6m6q34l263sbor');
                                      
                                      sdk.auth('token');
                                      sdk.getSitesIdEnergyFlowLatest({id: 'id'})
                                        .then(({ data }) => console.log(data))
                                        .catch(err => console.error(err));
                                      

                                      "token" und "id" durch Deine Sachen ersetzen.

                                      In den Objekten werden die Leistungswerte noch nicht gelistet, ist da noch eine Anpassung nötig?

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

                                      @christoph-jahn sagte: Leistungswerte noch nicht gelistet, ist da noch eine Anpassung nötig?

                                      Weitere Möglichkeiten liefert die Doku nicht. Ist "power_grid" kein Leistungswert?

                                      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

                                      Christoph JahnC 2 Replies Last reply
                                      0
                                      • paul53P paul53

                                        @christoph-jahn sagte: Leistungswerte noch nicht gelistet, ist da noch eine Anpassung nötig?

                                        Weitere Möglichkeiten liefert die Doku nicht. Ist "power_grid" kein Leistungswert?

                                        Christoph JahnC Offline
                                        Christoph JahnC Offline
                                        Christoph Jahn
                                        wrote on last edited by
                                        #25

                                        @paul53 js.JPG

                                        ich weis nicht ob ich mich richtig ausgedrückt habe.. Anbei ein Screenshot vom Objekt-Bereich.. hab mal alles von JS geöffnet, finde hier aber keine Messwerte..!

                                        paul53P 1 Reply Last reply
                                        0
                                        • paul53P paul53

                                          @christoph-jahn sagte: Leistungswerte noch nicht gelistet, ist da noch eine Anpassung nötig?

                                          Weitere Möglichkeiten liefert die Doku nicht. Ist "power_grid" kein Leistungswert?

                                          Christoph JahnC Offline
                                          Christoph JahnC Offline
                                          Christoph Jahn
                                          wrote on last edited by
                                          #26

                                          @paul53 sol.JPG
                                          Bei Solax sieht das so aus..

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          926

                                          Online

                                          32.4k

                                          Users

                                          81.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