Skip to content

Project base for Vaadin, Spring Boot and MQTT

License

Notifications You must be signed in to change notification settings

Nerotheum/vaadin24-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.