vaadin24-mqtt

Project base for Vaadin, Spring Boot and MQTT

UNLICENSE License

Stars
0
Committers
1

Project Base for Vaadin, Spring Boot and MQTT

This project can be used as a starting point to create your own Vaadin application with Spring Boot and MQTT. It contains everything to get you started.

Preview

Features

  • Connect and listen to MQTT broker
  • Configurable auto mqtt connection start and reconnect
  • Store received MQTT messages within specified database
  • Display MQTT connection status
  • Display MQTT messages within a grid
  • Update mqtt connection status and messages using Vaadin built-in websockets in real time
  • Add button to re-connect to MQTT broker
  • Add button to refresh MQTT messages grid
  • Send messages to MQTT broker
  • Periodically check whether the MQTT connection is alive
  • Enable/disable components based on the MQTT connection status

Running the Application

Before you continue, make sure to configure your application.properties. There are two ways to run the application : using mvn spring-boot:run or by running the Application class directly from your IDE.