This is a simple demo Application showcasing how to make use of the Omnia Network to discover light devices in environments and control them. It's designed for the Internet Computer and makes use of its HTTPS Outcalls to query devices and send commands to them. For this reason, some knowledge of the Internet Computer is required to understand the code and how it works.
If you want to test your project locally, first you have to create a .env
file in the root directory of the project. Follow the .env.example
file to see which variables you have to set.
Then you can run the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
npm run deploy
If you want to deploy only the backend canister, you can run:
npm run deploy:backend
It was bootstrapped with Vite.js and uses React as a framework. For UI components it uses Chakra UI.
Licensed under the MIT License.