Socket
Book a DemoInstallSign in
Socket

@yoshoku/node-red-dashboard-2-ui-seven-segment-display

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yoshoku/node-red-dashboard-2-ui-seven-segment-display

A seven-segment display widget for the Node-RED Dashboard 2.0

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
83
361.11%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-dashboard-2-ui-seven-segment-display

A seven-segment display widget for the Node-RED Dashboard 2.0.

Example

Installation

You can install this node from the "Manage Palette" menu in the Node-RED interface. Alternatively, run the following command in your Node-RED user directory:

npm install @yoshoku/node-red-dashboard-2-ui-seven-segment-display

Segment pattern

Each segment is assigned a letter from a to g, and the dot in the bottom right corner is assigned dp.

 --a--
|     |
f     b
|     |
 --g--
|     |
e     c
|     |
 --d--  (dp)

The segment pattern is represented by an 8-bit string.

dp g f e d c b a
 0 0 0 0 0 1 1 1

This bit string is converted to a decimal number from 0 to 255 or a headecimal number according to the type of the value property.

Value property

  • str: Expects hexadecimal strings (e.g. '6F') to be passed.
  • num: Expects integers from 0 to 255 to be passed.
  • msg: When a number type value is passed, it is processed the same as num. For other types, it is processed the same as str.

License

node-red-dashboard-2-ui-seven-segment-display is available as open source under the terms of the Apache-2.0 License.

Keywords

node-red

FAQs

Package last updated on 26 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.