
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@tetherto/miningos-tpl-wrk-sensor
Advanced tools
miningos-tpl-wrk-sensor is an abstract base worker for sensor devices in the MiningOS Bitcoin mining infrastructure ecosystem. This template provides the foundation for implementing concrete sensor workers (temperature, humidity, etc.) that are critical for monitoring and maintaining optimal mining operations.
The following is a fragment of MiningOS object model that contains the concrete class representing Sensor workers (highlighted in blue). The rounded nodes reprsent abstract classes and the square nodes represents a concrete classes:
---
title: Object Model of MiningOS
---
flowchart RL
bfx-wrk-base@{ shape: stadium, label: "*bfx-wrk-base*" }
tether-wrk-base@{ shape: stadium, label: "*tether-wrk-base*" }
tether-wrk-base--->bfx-wrk-base
miningos-tlp-wrk-thing@{ shape: stadium, label: "*miningos-tlp-wrk-thing*" }
miningos-tlp-wrk-thing--->tether-wrk-base
miningos-tpl-wrk-sensor@{ shape: stadium, label: "*miningos-tpl-wrk-sensor*" }
miningos-tpl-wrk-sensor--->miningos-tlp-wrk-thing
miningos-wrk-sensor-temp-seneca["miningos-wrk-sensor-temp-seneca"]
miningos-wrk-sensor-temp-seneca--->miningos-tpl-wrk-sensor
style miningos-tpl-wrk-sensor fill:#005,stroke-width:4px,color:white
Check out miningos-tpl-wrk-container for more information about parent classes.
workers/lib/base.js)The core sensor abstraction class that extends BaseThing from the parent template.
Key Features:
getRealtimeData() method for frequent polling_prepSnap() for data collectionworkers/rack.sensor.wrk.js)The main worker orchestrator that manages sensor lifecycle and data collection.
Key Features:
rtd schedule)Configuration:
scheduleAddlStatTfs = [
['rtd', '*/10 * * * * *'] // Real-time data every 10 seconds
]
FAQs
MiningOS Template Worker Sensor
We found that @tetherto/miningos-tpl-wrk-sensor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.