A VS Code extension for managing and deploying IoT devices with Rect.
Features
Device and Template Management: View and manage IoT devices and templates.
File Upload: Upload files to the backend server.
Device Constants Update: Update device constants from the backend server.
Authentication: Redirect to login page if authentication fails.
Usage
Sidebar Views
The extension adds a new sidebar with the following views:
Devices: View and manage IoT devices.
Templates: View and manage IoT templates.
Actions: Perform actions such as login, upload, and refresh.
Commands
The extension provides the following commands:
extension.refreshDevices: Refresh the list of devices.
extension.refreshTemplates: Refresh the list of templates.
extension.refreshAll: Refresh both devices and templates.
extension.selectTemplate: Select an active template.
extension.selectDevice: Select an active device.
extension.selectActiveDevice: Set the active device.
extension.selectActiveTemplate: Set the active template.
extension.openLoginPage: Open the login page.
extension.batchDeploy: Start batch deployment.
extension.uploadFiles: Upload files to the backend server.
Error Handling
If an error occurs during file upload or fetching device constants, an error message will be displayed. If the error is due to authentication , the user will be redirected to the login page.