machhub-sdk-advanced

Automate MACHHUB SDK historian queries, function invocations, and workflow executions.

1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/machhub-dev/skills --skill machhub-sdk-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: machhub-sdk-advanced
Source: https://github.com/machhub-dev/skills/tree/main/machhub-sdk-advanced
Command: npx skills add https://github.com/machhub-dev/skills --skill machhub-sdk-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill consolidates the advanced MACHHUB SDK capabilities—Historian time-series queries, remote function invocation, and workflow execution—to empower developers to build analytics and automation pipelines with less boilerplate.

Core Features & Use Cases

  • Historian queries for time-series data with aggregation and interval control.
  • Remote function invocation and workflow orchestration for automation.
  • Ready-to-use templates and examples for dashboards and analytics pipelines.

Quick Start

Install and configure the MACHHUB Designer Extension and SDK per the repository guidelines. Explore the provided services (historianService, functionService, workflowService) to perform a basic query, function invocation, or workflow execution. Example: historianService.getLastHours('temperature/room1', 24, 'avg', '1h').

Frequently Asked Questions about machhub-sdk-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query historian time-series data with aggregation and interval control?

Query historian time-series data using the historianService, which supports aggregation and interval control. For example, historianService.getLastHours('temperature/room1', 24, 'avg', '1h') retrieves the average temperature over 24 hours in one-hour intervals.

What's the best way to automate remote function invocation and workflow orchestration?

Automate remote function invocation and workflow orchestration using the MACHHUB SDK's functionService and workflowService. These services enable developers to compose complex automation scenarios with explicit inputs and dedicated error handling.

Do I need the MACHHUB Designer Extension to use the SDK for analytics pipelines?

Yes, you need the MACHHUB Designer Extension and standard SDK libraries installed and configured per repository guidelines. A valid project setup is required to execute historian queries, function invocations, and workflow executions.

Can I use ready-to-use templates for building analytics dashboards?

Yes, the MACHHUB SDK provides ready-to-use templates and examples for dashboards and analytics pipelines. These templates integrate historian queries, remote function invocation, and workflow execution to reduce boilerplate code.

Why does my historian query require explicit inputs and error handling?

Historian queries require explicit inputs and error handling to ensure reliable time-series data retrieval and aggregation. The SDK enforces explicit parameters for queries, function invocations, and workflow executions to maintain robust automation pipelines.