WhereFy Developer Hub

WhereFy Developer Hub

Build. Monitor. Scale.

Empower your industrial/energy applications with WhereFy SDKs and APIs.
Designed for developers, integrators, and industrial automation teams.

πŸ“¦ SDKs Available

  • Python SDK: For scripting energy data ingestion and retrieval.
  • Node.js SDK: For server-side integration with CRMs and dashboards.
  • ESP32/Embedded SDK: Lightweight C/C++ SDK for hardware developers.
  • React Web SDK: Pre-built UI widgets to display parameter cards, charts, and alerts.

πŸ”Œ Core APIs

  • Device Ingestion API: Register and push MQTT or HTTP payloads.
  • Data Query API: Fetch time-series data, aggregates, or filter by time/client.
  • Alerts API: Define, trigger, and listen to real-time alerts via webhook or email.
  • Auth & Tenant API: Secure multi-client access and role-based permissions.
  • Client Management API: Add, edit, or remove client organizations and users.
  • Parameter Definitions API: Manage metadata and thresholds for each sensor or metric.
  • Dashboard Configuration API: Personalize layouts, card views, and widget placements.
  • Webhook Integration API: Push event-driven updates to external systems.
Explore All APIs API Docs

🧹 Full API Suite (GCRUD)

GET /devices          // List all devices
POST /devices         // Register a new device
PUT /devices/:id      // Update an existing device
DELETE /devices/:id   // Remove a device
GET /data             // Query historical data
GET /alerts           // Fetch current alerts
POST /clients         // Add new clients
GET /config           // Retrieve dashboard configuration
POST /webhook         // Register webhook URLs
GET /parameters       // List parameter metadata

πŸ› οΈ Code Samples

Explore real-world examples and copy-paste ready integrations:

βœ” ESP32 MQTT Code to Push Sensor Data
client.publish("/device123/temp", String(tempValue));
delay(15000);
βœ” Node.js Script for Fetching Alerts
const axios = require('axios');
axios.get('https://api.wherefy.io/alerts')
  .then(response => console.log(response.data));
βœ” Python Script for Analyzing 15-min Interval Data
import pandas as pd
import requests
response = requests.get("https://api.wherefy.io/data")
df = pd.DataFrame(response.json())
df.resample('15T').mean()
βœ” React Component to Display a Live Parameter Card
import React from 'react';
export default function ParameterCard({ value }) {
  return 
Live Value: {value}
; }
βœ” Sample Dashboard JSON Layout Configuration
{
  "widgets": [
    { "type": "gauge", "param": "voltage" },
    { "type": "chart", "param": "current" }
  ]
}
βœ” Postman Collection to Test All Core APIs
{
  "info": {
    "name": "WhereFy Core APIs"
  },
  "item": [
    { "name": "GET Devices", "request": { "url": "/devices" } }
  ]
}

πŸ“ˆ Performance Dashboards

Get started with our ready-to-use dashboards built with React and Tailwind for real-time monitoring:

  • βœ” Energy Monitoring Dashboard for Solar Plants and Factories
  • βœ” Multi-Client Dashboard with Role-Based Access Control
  • βœ” Real-Time Alerts Panel with Acknowledgment Workflow
  • βœ” Parameter Cards, Charts, Gauges, and Daily Trends
  • βœ” Configurable Layouts via JSON or API
View Dashboard Demo

πŸ“š Developer Documentation (coming soon)

Start building with our detailed API documentation and SDK integration guides. Whether you’re using MQTT, HTTP or embedding our widgets, we’ve got you covered.

  • πŸ“˜ API Reference: In-depth OpenAPI spec with all endpoints and response models. View
  • πŸ”§ Setup Guides: Step-by-step instructions for Node.js, Python, and ESP32 integration. Start Setup
  • πŸ“¦ SDK Installation: Easy-to-follow NPM and pip installation instructions. Install SDKs
  • 🌐 Webhook Guide: Instructions to configure and receive alerts in real-time. View Guide
  • πŸ§ͺ Postman Collection: Use our collection to test API endpoints quickly. Download
Read the Docs

© 2025 WhereFy – Intelligence in motion | All rights reserved.