Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Christoph Jahn

    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

    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 15
    • Best 0
    • Groups 1

    Christoph Jahn

    @Christoph Jahn

    Starter

    0
    Reputation
    6
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Christoph Jahn Follow
    Starter

    Latest posts made by Christoph Jahn

    • RE: PV Datenabfrage von neoom / ntuity

      @paul53 Oje oje.. gibts da eine Doku wie man das angeht.. die Lernkurve geht hier etwas sehr steil..

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

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

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

      @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..!

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

      @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?

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

      @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!

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

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

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

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

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

      @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 😄

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: 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); }
      });
      

      MOD-EDIT: Code in code-tags gesetzt!

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    • RE: PV Datenabfrage von neoom / ntuity

      @paul53 Unbenannt.JPG

      posted in Einsteigerfragen
      Christoph Jahn
      Christoph Jahn
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo