Recreate Things with Code and HTTP Requests
Using the model schema JSON array mentioned in the previous section, you can utilize a POST HTTP request to create a new Thing with the same schema.
View new features for SmartWorks's latest release.
Learn how to set up your account to start developing IoT projects.
Discover SmartWorks functionality with interactive tutorials.
Quick tutorials to get you up and running with SmartWorks.
Watch online videos to learn and manage SmartWorks.
Read step-by-step tutorials to learn and manage SmartWorks.
This tutorial will guide you through the process of connecting a device (a Lamp) to SmartWorks and sending data to store it and implement simple business logic.
This tutorial will guide you through the process of creating a project with the Raspberry Pi and connecting it to the SmartWorks platform.
The goal of this process is to monitor and control your Edge Device remotely.
This tutorial is designed to guide you through setting up a microcontroller (ESP32) to send data to SmartWorks and have SmartWorks interact with apps designed by the user.
This tutorial will guide you through the process of connecting your computer to the SmartWorks platform and sending computer resources data such as CPU state, disk usage, latitude, longitude, memory, and memory available to the platform. You will also learn how to create Actions based on Event Triggers.
This tutorial will guide you through the process of connecting your Arduino board to the SmartWorks platform and control the on-board LED blink.
This tutorial will guide you through the process of connecting your ESP8266 and DHT10 sensor to SmartWorks to control the board LED light and monitor the surrounding humidity.
AnythingDB is a flexible, secure database that enables you to create a digital model for a smart connected ecosystem.
Functions provide the capability to execute custom business rules at any level (cloud and edge) with the same architecture.
Stream Processing is a method of tracking and analyzing streams of information of an event, and eventually obtaining useful structured conclusions out of that raw information.
Real Time Visualization offers down-to-the-second data (real-time), automatically updating charts with anomaly detection and user feedback functions.
SmartWorks EdgeOps is a set of tools for building, maintaining and continuously improving code in resource constrained devices at the edge of smart connected ecosystems.
Marketplace provides the user with predefined sets of applications for the Edge.
Access Control is how you manage which users and external applications can create, read, update or delete information in SmartWorks.
Labels enable you to categorize entities such as Things into customer defined tags.
Access to API documentation.
Get an overview of the features included in the General Release of Altair SmartWorks.
This chapter has been deprecated.
Discover SmartWorks functionality with interactive tutorials.
Read step-by-step tutorials to learn and manage SmartWorks.
This tutorial is designed to guide you through setting up a microcontroller (ESP32) to send data to SmartWorks and have SmartWorks interact with apps designed by the user.
Using the model schema JSON array mentioned in the previous section, you can utilize a POST HTTP request to create a new Thing with the same schema.
model_schema={
"model":{
"name":"user_model",
"version":1
}}
ENDPOINT
https://api.swx.altairone.com/spaces/your_space_name/categories/your_category_name/things
headers = {"Authorization": "Bearer " + token(fill with your access token)} response = requests.request("POST", ENDPOINT, headers=headers, json=body)
Copyright (c) 2011-2023. Altair Engineering, Inc. All Rights Reserved. Contains trade secrets of Altair Engineering, Inc. Copyright notice does not imply publication.
Intellectual Property Rights Notice | Technical Support | Cookie Consent