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

signalk-espos-hmi

v0.6.0

Published

Touchscreen HMI for Signal K: shows layouts from the espOS HMI designer in the browser with the same LVGL renderer the espOS panels use, so one design runs on the helm screen and on the panel.

Readme

signalk-espos-hmi

A touchscreen helm display for Signal K. It shows layouts made in the espOS HMI designer in the browser, drawn by the same LVGL code the espOS panels run, compiled to WebAssembly. One design looks the same on a Full HD helm monitor and on an ESP32-P4 panel.

It is meant for digital switching and the values around it: switches, tanks, batteries, alarms.

Use

  1. Install espOS HMI from the Signal K App Store. It starts with one display, Helm, at 1920 × 1080.
  2. Open Webapps → espOS HMI. Until a layout is pushed, the display shows a starter layout made from the switches and tanks the server knows.
  3. In the HMI designer, pick the browser display as the target and push. Every open page of that display switches to the new layout at once.

More screens: open /signalk-espos-hmi/?settings (or Settings under the list of displays) as admin and add a display per screen, each with its size. Changes reach open displays at once. Open a display directly with ?display=<address>, for example /signalk-espos-hmi/?display=salon.

A display can show another display's layout instead of its own: pick that display under Layout. A push to it then reaches every display that follows it, each letterboxed to its own size, and the designer cannot push to a follower on its own.

Add screen=<id> to the address to open on one of the layout's screens (?screen=tanks, or ?display=salon&screen=tanks), for example a second monitor that starts on the tanks. A new layout opens on that screen again.

A display set to show values only never switches anything, whoever taps it. Its tabs and swipes still change the screen; lists on it do not scroll.

A chart widget draws the boat's charts and the AIS targets around it from signalk-espos-charts on the same server, as an espOS panel does. Without that plugin it shows the own vessel on a plain background.

On the chart

A chartplotter with Plotter Extensions (Freeboard-SK 3.5 or later) can show a screen of a display as a tile on the chart. In the chartplotter, press and hold an empty corner and pick HMI tile in the size that fits; press and hold the tile to choose the display and the screen. The tile shows only that screen's widgets, cut to their own size, so a screen made for the chart with one to four widgets fits best. Values come through the chartplotter's own Signal K connection. A tile shows values only unless Switch from the chart is set, and then it switches as the chartplotter's signed-in user.

On a dense screen (a Retina display, or a tile larger than its screen was designed) the tile draws at the screen's own resolution, with TrueType text, so it stays sharp. That needs a renderer with jlp_set_scale; an older one draws at layout size and the browser scales the picture. The panel firmware draws as before.

The chart shows through a tile: the widgets are drawn as frosted glass at the chartplotter's panel opacity, and follow its light or dark theme and its night mode. That needs a renderer with jlp_set_glass; an older one draws solid tiles. Any layout can ask for the same look on a panel or a browser display with theme.style: "glass".

Hardware

A Raspberry Pi 5 or better, or any PC, with Chromium in kiosk mode:

chromium --kiosk --noerrdialogs --disable-pinch \
  "http://<signalk-server>:3000/signalk-espos-hmi/?display=helm"

The page asks the browser to keep the screen awake while it is open. The browser grants that only on HTTPS or localhost and may release it, so a kiosk on plain HTTP should also turn off screen blanking in the operating system.

Access

Viewing needs read access to the server. Switching sends a Signal K PUT as the signed-in user, so with security on, the display's user needs read/write access. Pushing a layout needs admin, as in the designer. Servers too old to offer per-route access control gate none of the routes below.

Routes

Under /plugins/signalk-espos-hmi:

| Route | Access | What | | --------------------------- | ------ | ------------------------------------------------------------------------------------------------- | | GET /displays | read | The configured displays with their size and layoutFrom | | GET /displays/:id/hello | read | The same capability descriptor a panel serves | | GET /displays/:id/layout | read | The layout the display shows, or the starter | | POST /displays/:id/layout | admin | Store a layout; answers like a panel's POST /layout, 409 on a follower | | GET /settings | admin | The displays as set up, and the screen sizes to choose from | | PUT /settings | admin | Save the displays; open pages start again with them | | GET /displays/:id/events | read | Server-sent layout events when the layout it shows changes, settings when the displays change |

Develop

npm install
npm run dev     # Vite, proxying /signalk and /plugins to $SIGNALK_DEV_URL
npm run build   # plugin to dist/, page to public/
npm test
npm run ci-lint

scripts/copy-wasm.sh stages the renderer from a sibling espos-p4-cockpit-wasm checkout, or fetches the pinned commit. Keep the sibling at or after that commit: an older bundle has no touch and shows only the first screen, whatever ?screen= asks for.

Licence

Apache License 2.0.