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

node-red-contrib-keba-parser

v0.2.3

Published

Node RED extension to parse the date from the KEBA web ui.

Downloads

49

Readme

node-red-contrib-keba-parser

NPM

This is a node-red extension to parse the current state over the web ui from KEBA E-Car charing stations. The most of KEBA charing stations have an ethernet port to bring management and monitoring features to the charging station. With this node-red plugin you should be able to parse the available charing station monitoring web page to JSON. This is currently required because no full JSON REST API is available.

Keba Parser

Tested with the currently latest firmware version: P30 v3.10.28

Usage

Configuration

This node requires two properties for configuration

url             KEBA url of the charging station web ui
interval        Interval to fetch data in seconds (default: 60 seconds)

Output Example Data

{
    "title": "KeContact P30",
    "productId": "KC-P30-XYZ",
    "mac": "AA:BB:CC:DD:EE",
    "version": "P30 v 1.2.3. xxx",
    "serviceInfo": "0 : 0 : 0 : 0 : 0 : 888 : 88 : 888",
    "state": "unplugged ",
    "stateTime": { "rate": "seconds", "value": 10000 },
    "limit": { "current": 0, "pwm": 100.0, "hardware": 32 }, // in A, %, A
    "voltage": { "l1": 0, "l2": 0, "l3": 0 }, // in V
    "current": { "l1": 0, "l2": 0, "l3": 0 }, // in A
    "realPower": 10, // in kW
    "powerFactor": 0, // in %
    "energySession": 0.0, // in kWh
    "energyTotal": 145.57, // in kWh
    "energyHousegrid": { "in": null, "out": null },
    "energySolar": { "in": null, "out": null }
}

Contribution

Prerequisites

  • Installed Node
  • Installed Docker for Desktop (or on Linux native Docker)

Development

Start locally a Docker container with the following command:

# careful this command is i.e. for Powershell
docker run -it -p 1880:1880 -v ${PWD}:/usr/src/node-red/development --name mynodered nodered/node-red

# cleanup
docker kill mynodered
docker rm mynodered

Then you can attatch your Visual Studio Code instance to the running container (official Remote Docker extension required). After that you can connect with the Powershell, shell, whatever to the running container by entering

docker exec -it mynodered bash

npm install ./development/

May you have to restart the container/Node-Red to see the plugin in over the Node-RED UI at http://localhost:1880/.