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

iobroker.miner

v1.0.4

Published

Interact with different crypto miner apis

Readme

Logo

ioBroker.miner

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

miner adapter for ioBroker

Interact with different crypto miner apis

Roadmap

  • [X] v0.1: device management, trm implementation
  • [X] more miners support: bos+, xmrig, avalon, ...?
  • [ ] implement more features (controls + info from devices)
  • [ ] pools support
  • [ ] device discover
  • [ ] sentry
  • [ ] more: see Todo.md / issues
  • [ ] fix license plugin in .releaseconfig

Usage

When adding a new device inside the instance settings (or inside the Admin DeviceManager Tab) you should get a dialog like this:

AddDevice.png

The options should be pretty self-explanatory. All of them also have tooltips with more details. If anything is still unclear feel free to ask in an issue, discussion or the forum.

Object model

All objects are created under:

miner.<instance>.miner.<minerId>

<minerId> is the stable ID from the device configuration (settings.id). This allows multiple miner processes on the same host.

Groups (channels)

  • info: identity/config/firmware/connection meta
  • stats: live performance metrics (hashrate, shares, power, temps, ...)
  • control: writable controls (start/stop, reboot, ...)
  • raw: raw API payloads (expert)

Entities (optional subtrees)

Some miners expose sub-entities. If available, they are placed below the miner:

  • pools.<index>...
  • hardware.gpus.<index>...
  • hardware.hashboards.<index>...

Examples

  • miner.0.miner.<minerId>.control.running
  • miner.0.miner.<minerId>.stats.totalHashrate
  • miner.0.miner.<minerId>.hardware.gpus.0.stats.temp
  • miner.0.miner.<minerId>.raw.stats

Example tree

This is just an overview / idea / plan. Not all of them are implemented yet, but it should give you an idea of the intended structure and naming. The actual implementation may differ in some details, but the general structure should be similar to this.

miner.0
  miner
    <minerId>                        (device)
      info                           (channel)
        minerType                    (string)   e.g. xmRig / teamRedMiner / bosMiner
        host                         (string)
        version                      (string)   (maps to feature: version)
        online                        (boolean)  derived from lastSeen
        lastSeen                     (number)   unix ms
      stats                          (channel)
        totalHashrate                (number)   H/s (maps to feature: totalHashrate)
        power                        (number)   W
        efficiency                   (number)   H/W
        acceptedShares               (number)
        rejectedShares               (number)
      control                        (channel)  (writable states only here, top-level)
        running                      (boolean)  start/stop (maps to feature: running)
        reboot                       (boolean)  "button"
        profile                      (string)   performance profile (e.g. low/medium/high)
      pools                          (channel)
        0                            (channel)
          info
            url                      (string)
            user                     (string)
          stats
            status                   (string)
            acceptedShares           (number)
            rejectedShares           (number)
        1 ...
      hardware                       (channel)
        gpus                         (channel)
          0                          (channel)
            info
              name                   (string)
            stats
              hashrate               (number)
              temp                   (number)   °C
              fanRpm                 (number)
              power                  (number)
          1 ...
        hashboards                   (channel)  (ASICs)
          0
            stats
              hashrate               (number)
              temp                   (number)
      raw                            (channel)
        stats                        (object/string) raw miner payload (maps to feature: rawStats)

Changelog

1.0.4 (2026-04-07)

  • (SimonFischer04) fix repo url in package-json

1.0.3 (2026-04-07)

  • (SimonFischer04) increase admin requirement to fix DM (does not work at all with current stable 7.7.22)

1.0.2 (2026-04-07)

  • (SimonFischer04) CI/CD: Migrated deploy workflow from NPM classic tokens to Trusted Publishing (OIDC) (fixes #80)
  • (SimonFischer04) cleanup readme

1.0.1 (2026-04-06)

  • (SimonFischer04) fix release

1.0.0 (2026-04-06)

  • (SimonFischer04) FIXED: Added missing size attributes (xs, xl) to admin configuration fields
  • (SimonFischer04) ENHANCED: Updated dependencies to recommended versions (admin 7.6.17, js-controller 6.0.11)
  • (SimonFischer04) ENHANCED: Added copyright notice to README
  • (SimonFischer04) NEW: Added support for Avalon (Canaan) devices via CGMiner-compatible socket API (port 4028), including start/stop (softon/softoff) and stats polling
  • (SimonFischer04) ENHANCED: Restructured object model with dedicated channels for control, info, stats, and raw data (breaking change – legacy state paths are auto-cleaned on startup)
  • (SimonFischer04) NEW: Added info states (minerType, host, online, lastSeen) and stats states (power, efficiency, acceptedShares, rejectedShares) to match the documented object model
  • (SimonFischer04) NEW: Added reboot control state (button) with wiring in state change handler
  • (SimonFischer04) NEW: Added running switch control to Device Manager for devices supporting the running feature
  • (SimonFischer04) NEW: Added performance profile feature with control.profile state and Device Manager dropdown (low/medium/high) — initially for Avalon miners via ascset workmode command
  • (SimonFischer04) ENHANCED: Renamed SGMiner to CGMiner throughout the codebase to better reflect the underlying API
  • (SimonFischer04) FIXED: Fixed copyright formatting in README to satisfy ioBroker repository checker (fixes #95)

0.0.1 (2026-02-15)

  • (SimonFischer04) initial release

Credits

  • the logo was created using ChatGPT

License

Copyright (c) 2026 SimonFischer04 [email protected]

This project is licensed under the GNU General Public License v3.0 - see LICENSE for details.