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 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-dlt645

v0.1.0

Published

DLT645-2007

Readme

node-red-DLT645

A Node-RED node for collecting meter data using the DLT645-2007 protocol. This is a modified version based on [node-red-contrib-meter-works] https://bbs.hassbian.com/thread-14582-1-1.html The main change is the enhancement of function code handling.

Features

  • Support DL/T645-2007 protocol electric meter data reading
  • Automatically build request frames with only the meter address

Installation

Via Node-RED Palette Manager

In Node-RED editor, click the menu (top-right) → Manage Palette → Install, search for node-red-DLT645.

Manual Installation

简要介绍

这是一个用于电表能源数据采集的 Node-RED 节点。通过安装一块符合规约的电能表,配合本节点,可以快速、方便地实现用电数据的采集与集成。节点已对底层协议进行封装,使用简单。 本节点是基于node-red-contrib-meter-works修改的,感谢原作者 本次修改主要是改写了func,节点名称全部英文,修正正向有功总电能数据块

通信协议 节点遵循《DLT 645-2007 多功能电能表通信协议》标准,用于与符合该规约的各类电能表进行数据交换。这确保了与市场上广泛使用的国网规范电表的兼容性。

使用方法

  1. 硬件连接:您需要一台支持 DLT645-2007 协议的电能表,并通过如串口服务器等设备,将其485信号转换为网络信号,接入您的 Hass(Node-RED)所在网络。
  2. 节点安装:在 Node-RED 中搜索并安装 node-red-DLT645 节点。安装后,面板中会出现两个新的节点。
  3. 配置与使用:在流程中配置好通信通道后,通过向输入节点提供电表通信地址和功能码,即可开始数据采集。

功能与输出 节点目前已支持抄读以下数据项:

  1. 正向有功总电能
  2. 当前电压
  3. 当前电流
  4. 当前功率
  5. 上1日冻结数据
  6. 上2日冻结数据
  7. 上1结算日数据
  8. 上2结算日数据
  9. 电表日期
  10. 电表时钟

输出节点会尽量提供多样化的信息,包括对主题(topic)进行区分处理,方便您直接接入 MQTT 或其他系统。

未来计划 将持续完善节点功能,提供更全面的能耗数据分析与封装能力。

开发者的话 这是我初次尝试编写 Node-RED 节点,欢迎大家多多包涵并提供宝贵建议。 希望这个仿写版本符合您的要求。如果您希望在某些部分进行调整,可以随时告诉我。 guojinji