/SvelteMqttgrund

Här är en grund för ett svelteprojekt med MQTT som kan användas för driverbot.

Primary LanguageHTMLApache License 2.0Apache-2.0

Svelte mqtt controller

This project is a MQTT provider that can be used as a controller. It allows you to connect to it and use it for MQTT communication. You can integrate it into your own projects and leverage its functionality as a controller for MQTT-based applications.

The different levels of this assignment are:

  1. Connect this to your driverbot and get it to work. Make it visually appealing and customize it as desired.
  2. Build and deploy your site on the internet, preferably using Netlify or Vercel.
  3. Activate and complete the logging feature so you can see the messages being sent on the page.
  4. Create alternative buttons where you can make smaller turns or change the speed of the driverbot.
  5. Make any necessary changes and optimize the code as you see fit.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.