Skip to content

braveridge/bravegate-solenoid-sample-kotlin

Repository files navigation

Web app that remotely controls the solenoid via BraveGATE

This web app is a sample of remotely controls the solenoid via BraveGATE based on Spring Boot (with Kotlin).

Requirements

  • JDK 11

How to run on localhost

Edit your auth key id and secret, device id of BraveGATE

vi src/main/resources/config/application.yml

run

./gradlew bootRun

access to http://localhost:8080/solenoid

Receive webhook of solenoid state from BraveGATE

If you need to receive webhook from BraveGATE, you must specify webhook URL.

see detail

simulate webhook on localhost

tools/bravegate/webhook/webhook.sh

About

Control solenoid via BraveGATE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published