Giter VIP home page Giter VIP logo

hyperwisor_iot's Introduction

HYPERWISOR_IOT Arduino Library

The HYPERWISOR_IOT library simplifies the integration of IoT capabilities into your Arduino projects, making it easier than ever to communicate with IoT platforms and send sensor data to remote servers. Whether you're working on a home automation system, industrial monitoring, or any IoT application, this library streamlines data transmission and interaction with cloud services.

www.hyperwisor.com/dashboard

Key Features

  • HTTP Communication: Seamlessly send and receive data using HTTP requests, enabling smooth interaction with IoT platforms and web services.
  • Sensor Data Management: Easily read and process sensor data, allowing you to monitor various environmental parameters.
  • Device Status Retrieval: Fetch device status information from the server for real-time monitoring and diagnostics.
  • Customizable and Expandable: Adapt and extend the library to meet the specific requirements of your IoT project.

Getting Started

  1. Install the library in your Arduino IDE using the Library Manager or download the ZIP file from the releases section.
  2. Include the library in your sketches using #include <HYPERWISOR_IOT.h>.
  3. Create an instance of the HYPERWISOR_IOT class and provide your API key.
  4. Utilize the library's functions to send data, retrieve sensor readings, and manage device status.

For detailed documentation and usage examples, visit the wiki of this repository.

Example Usage

#include <WiFi.h>
#include <HYPERWISOR_IOT.h>

const char* ssid = "YourWiFiSSID";
const char* password = "YourWiFiPassword";
const String apiKey = "YourAPIKey";

HYPERWISOR_IOT Yourproductname;

void setup() {
  Serial.begin(115200);
  Yourproductname.init(apikey);
  // Connect to Wi-Fi
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi...");
  }
  Serial.println("Connected to WiFi!");

  // Initialize the HYPERWISOR_IOT library
  Yourproductname.init(apiKey);
}

void loop() {
  // Check if connected to WiFi
  if (WiFi.status() == WL_CONNECTED) {
    // Read sensor data (replace with actual sensor data)
    String sensorData = "temperature=25&humidity=50";

    // Send sensor data to the server
    String response = Yourproductname.sendData(sensorData);

    // Process the response
    Serial.println("Server Response: " + response);

    // Get and print sensor data from the server
    String serverSensorData = Yourproductname.getsensordata();
    Serial.println("Sensor Data from Server: " + serverSensorData);

    // Get and print schema from the server
    String serverSchema = Yourproductname.get_schema();
    Serial.println("Schema from Server: " + serverSchema);

    // ... add more functionality as needed

    delay(5000); // Adjust the delay as per your requirements
  } else {
    Serial.println("Not connected to WiFi. Please check your connection.");
    delay(1000);
  }
}

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under Apache License 2.0 https://github.com/mayurtechnologys/HYPERWISOR_IOT/blob/511caaf0d2267d92be917e6460ba3d8986f8f686/Licence.md


hyperwisor_iot's People

Contributors

mayurtechnologys avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

deven322

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.