Control Cove is a project developed using TypeScript and React. It is designed to control IoT devices using MQTT protocol directly from the browser.
- Node.js and npm installed on your machine.
- An MQTT broker available for connection.
Before you can run the project, you need to set up the MQTT broker configuration. Create a broker-config.json file in the src/config directory.
{
"host": "ws://192.168.1.2",
"port": 9001,
"username": "<your-username>",
"password": "<your-password>"
}
- Clone the repository to your local machine.
git clone <repository-url>
cd control-cove
npm install
npm run build
- Start the development server.
npm start