npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gladder/node-red-kostal-piko-json

v0.1.8

Published

A simple node to query kostal piko inverter data using DxS (new generation only).

Downloads

34

Readme

Kostal Piko JSON Flow

Simple flow to query Kostal Piko Inverter using DxS

Supported Inverters

All Kostal Piko and Piko BA Inverters with UI Version >= 6.00 are supported. To doublecheck if your own inverter is supported do a HTTP-Request and check for a valid JSON Response:

http://{IP-Adress}}/api/dxs.json?dxsEntries=16777984

Response should provide Inverter Name and some additional stuff:

{
   "dxsEntries":[
      {
         "dxsId":16777984,
         "value":"YOUR INVERTER NAME"
      }
   ],
   "session":{
      "sessionId":0,
      "roleId":0
   },
   "status":{
      "code":0
   }
}

Setup

  • add node to flow
  • set inverter ip
  • use trigger node with any payload as input to trigger query to inverter (e.g. every 10 secs)
  • use payload in your flows

Sample Payload

{
   "INVERTER_NAME":"GladderION",
   "INVERTER_SERIALNUMBER":"90525OGT00xxx",
   "YIELD_TOTAL":32965.03125,
   "FEED_IN_STATUS":true,
   "STATUS":3,
   "HOME_CONSUMPTION_PV":434.571533,
   "HOME_CONSUMPTION_BATTERY":0,
   "HOME_CONSUMPTION_GRID":299.860962,
   "HOME_CONSUMPTION_TOTAL":43230.886719,
   "HOME_CONSUMPTION_DAY":3611.577393,
   "FEED_IN_TIME":33919,
   "AUTONOMY_DEGREE_DAY":8.606232,
   "OWN_CONSUMPTION_RATE_TOTAL":58.314556,
   "AUTONOMY_DEGREE_TOTAL":44.466846,
   "HOME_TOTAL_POWER":734.432495,
   "BATTERY_SOC":10,
   "BATTERY_ABSOLUTE_CURRENT":0,
   "BATTERY_CURRENTDIRECTION":0,
   "YIELD_DAY":222.071976,
   "AC_P_TOTAL":434.571533,
   "COSINUS_PHI": 1.01,
   "OWN_CONSUMPTION_TOTAL":19221.90972,
   "OWN_CONSUMPTION_DAY": 222.071976,
   "OWN_CONSUMPTION_RATE_DAY": 100.0,
   "INVERTER_OPERATING_STATUS": "Einspeisen (MPP)",
   "HOME_OWN_CONSUMPTION_TOTAL": 19221.90972,
   "GRID_FREQUENZY": 50.24,
   "DC_I": 1.54521,
   "DC_P": 607.154,
}

Values

  • INVERTER_NAME: Name of inverter
  • INVERTER_SERIALNUMBER: Serialnumber of inverter
  • YIELD_TOTAL: Total yield in kWh
  • FEED_IN_STATUS: Is inverter feeding into grid
  • HOME_CONSUMPTION_PV: current consumption directly from pv in W
  • HOME_CONSUMPTION_BATTERY: current consumption directly from battery in W
  • HOME_CONSUMPTION_GRID: current consumption directly from grid in W
  • HOME_CONSUMPTION_TOTAL: overall Home consumption in kWh
  • HOME_CONSUMPTION_DAY: todays overall home consomption in Wh
  • FEED_IN_TIME: overall feed-in time in minutes
  • AUTONOMY_DEGREE_DAY: todays grade of autarky in percentage
  • OWN_CONSUMPTION_RATE_TOTAL: total rate of own consumption in percentage
  • AUTONOMY_DEGREE_TOTAL: total grade of autarky in percentage
  • HOME_TOTAL_POWER: current overall consumption in W
  • BATTERY_SOC: current state of charge of battery in percentage
  • BATTERY_ABSOLUTE_CURRENT: current current (lol) of battery without direction (absolute value)
  • BATTERY_CURRENTDIRECTION: if value > 0: battery is discharging // if value <= 0: battery is charging
  • YIELD_DAY: daily yield in kWh
  • AC_P_TOTAL: current total available power of ac-side (includes any possible consumption except for battery charging since this happens on dc-side). great value to find out how much power is available for devices like washing machine etc at home. calculate like that: *available power = AC_P_TOTAL - HOME_CONSUMPTION_PV - HOME_CONSUMPTION_BATTERY
  • COSINUS_PHI: cos phi of grid
  • OWN_CONSUMPTION_TOTAL: overall own consumption in kWh
  • OWN_CONSUMPTION_DAY: own consumption of day in kWh
  • OWN_CONSUMPTION_RATE_DAY: own consumption rate in percentage
  • INVERTER_OPERATING_STATUS: current status of inverter as localized string
  • HOME_OWN_CONSUMPTION_TOTAL: total home own consumption
  • GRID_FREQUENZY: grid frequency in Hz
  • DC_I: current overall current of dc strings
  • DC_P: current overall power of dc strings

Contact

Feel free to contact me: Patrick Moldenhauer [email protected]. Note that this Node is in very alpha version and could be much better for sure. Anyway - this node should work quite stable and is very fast too since DxS Endpoint can be queried quite frequently without bothering inverters comm-board too much.

License

MIT

Free Software, Hell Yeah!