Skip to content

Twigman/tyche

Repository files navigation

tyche-showcase

Showcase for a Spring Boot project

This is a part of my home automation project. It runs on a Raspberry Pi with a ZigBee module. Several light sources and various sensors are connected to it.
The application uses REST requests to retrieve the initial configuration. Changes are communicated via WebSocket.

Ideas:

  • Pluggable WebSocket implementation
    • concrete implementation for Spring and Jetty (for the showcase)
  • JSON Handling
    • json messages are parsed into classes via ObjectMapper (Jackson)
    • using filters for serialization
  • REST APIs
  • SOAP Client
  • Persistant storage with MongoDB
    • sensors and their states are stored
    • sensors are loaded from the database when the application is started
    • lights and their states are stored
    • lights are loaded from the database when the application is started
  • Events
  • Mocking WebService endpoint
  • Web-Frontend
  • Docker setup
    • MongoDB
    • Tyche
  • JUnit Tests
    • HueLights
    • ChangeChecker

The project is still in progress and will be updated

Start only MongoDB container for development with IDE:
`docker compose -f docker-compose.dev.yml up -d`

Start everything:
`docker compose up -d`

Stop everything:
`docker compose down`

About

Spring Boot showcase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages