├── .gitignore ├── README.md ├── ansible ├── hosts ├── macros │ └── streamProcessing │ │ ├── agitation.mc2 │ │ ├── analyse.mc2 │ │ ├── fetchOne.mc2 │ │ ├── inBed.mc2 │ │ ├── isAnalysed.mc2 │ │ ├── isRawDataRecorded.mc2 │ │ └── signalQuality.mc2 ├── playbook │ ├── systemconfig.yml │ ├── vertx.yml │ ├── warp10.yml │ └── warpscripts.yml ├── templates │ ├── conf.json │ ├── resetbt.sh │ └── vertx.init └── vars │ └── uidgid.yml ├── pwa ├── README.md ├── bower.json ├── images │ ├── bg_main.png │ ├── favicon.ico │ ├── logo.png │ └── manifest │ │ ├── icon-144x144.png │ │ ├── icon-192x192.png │ │ ├── icon-48x48.png │ │ ├── icon-512x512.png │ │ ├── icon-72x72.png │ │ └── icon-96x96.png ├── index.html ├── manifest.json ├── package.json ├── polymer.json ├── service-worker.js ├── src │ ├── inmoodforlife-action-dispatcher.html │ ├── inmoodforlife-app.html │ ├── inmoodforlife-icons.html │ ├── inmoodforlife-init.html │ ├── inmoodforlife-paired.html │ ├── inmoodforlife-scanning.html │ ├── inmoodforlife-view404.html │ └── shared-styles.html └── sw-precache-config.js └── vertx ├── build.gradle ├── conf.json ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── src ├── main ├── groovy │ └── org │ │ └── breizhbeans │ │ └── itm4l │ │ ├── MainVerticle.groovy │ │ ├── beddit │ │ └── FrameDecoder.groovy │ │ ├── exception │ │ ├── FunctionalException.java │ │ ├── Functionals.java │ │ ├── JsonFormatException.java │ │ └── NotFoundException.java │ │ ├── parameters │ │ └── UserParameters.groovy │ │ ├── service │ │ ├── AbstractService.groovy │ │ ├── ServiceRequest.groovy │ │ └── impl │ │ │ └── BluetoothService.groovy │ │ ├── verticle │ │ ├── AbstractWorkerVerticle.groovy │ │ ├── WorkerVerticleError.groovy │ │ └── impl │ │ │ ├── BluetoothVerticle.groovy │ │ │ ├── WarpAnalyser.groovy │ │ │ ├── WarpRecorder.groovy │ │ │ └── WebServer.groovy │ │ └── warp10 │ │ └── Warp10Client.groovy ├── resources │ └── log4j.properties └── scripts │ └── resetbt.sh └── test └── groovy └── org └── breizhbeans └── itm4l └── beddit └── TestFrameDecoder.groovy /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/README.md -------------------------------------------------------------------------------- /ansible/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/hosts -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/agitation.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/agitation.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/analyse.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/analyse.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/fetchOne.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/fetchOne.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/inBed.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/inBed.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/isAnalysed.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/isAnalysed.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/isRawDataRecorded.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/isRawDataRecorded.mc2 -------------------------------------------------------------------------------- /ansible/macros/streamProcessing/signalQuality.mc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/macros/streamProcessing/signalQuality.mc2 -------------------------------------------------------------------------------- /ansible/playbook/systemconfig.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/playbook/systemconfig.yml -------------------------------------------------------------------------------- /ansible/playbook/vertx.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/playbook/vertx.yml -------------------------------------------------------------------------------- /ansible/playbook/warp10.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/playbook/warp10.yml -------------------------------------------------------------------------------- /ansible/playbook/warpscripts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/playbook/warpscripts.yml -------------------------------------------------------------------------------- /ansible/templates/conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/templates/conf.json -------------------------------------------------------------------------------- /ansible/templates/resetbt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/templates/resetbt.sh -------------------------------------------------------------------------------- /ansible/templates/vertx.init: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/templates/vertx.init -------------------------------------------------------------------------------- /ansible/vars/uidgid.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/ansible/vars/uidgid.yml -------------------------------------------------------------------------------- /pwa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/README.md -------------------------------------------------------------------------------- /pwa/bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/bower.json -------------------------------------------------------------------------------- /pwa/images/bg_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/bg_main.png -------------------------------------------------------------------------------- /pwa/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/favicon.ico -------------------------------------------------------------------------------- /pwa/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/logo.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-144x144.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-192x192.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-48x48.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-512x512.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-72x72.png -------------------------------------------------------------------------------- /pwa/images/manifest/icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/images/manifest/icon-96x96.png -------------------------------------------------------------------------------- /pwa/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/index.html -------------------------------------------------------------------------------- /pwa/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/manifest.json -------------------------------------------------------------------------------- /pwa/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/package.json -------------------------------------------------------------------------------- /pwa/polymer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/polymer.json -------------------------------------------------------------------------------- /pwa/service-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/service-worker.js -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-action-dispatcher.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-action-dispatcher.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-app.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-icons.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-icons.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-init.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-init.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-paired.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-paired.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-scanning.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-scanning.html -------------------------------------------------------------------------------- /pwa/src/inmoodforlife-view404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/inmoodforlife-view404.html -------------------------------------------------------------------------------- /pwa/src/shared-styles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/src/shared-styles.html -------------------------------------------------------------------------------- /pwa/sw-precache-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/pwa/sw-precache-config.js -------------------------------------------------------------------------------- /vertx/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/build.gradle -------------------------------------------------------------------------------- /vertx/conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/conf.json -------------------------------------------------------------------------------- /vertx/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/gradle.properties -------------------------------------------------------------------------------- /vertx/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /vertx/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /vertx/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/gradlew -------------------------------------------------------------------------------- /vertx/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/gradlew.bat -------------------------------------------------------------------------------- /vertx/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'itm4l' 2 | 3 | -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/MainVerticle.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/MainVerticle.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/beddit/FrameDecoder.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/beddit/FrameDecoder.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/exception/FunctionalException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/exception/FunctionalException.java -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/exception/Functionals.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/exception/Functionals.java -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/exception/JsonFormatException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/exception/JsonFormatException.java -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/exception/NotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/exception/NotFoundException.java -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/parameters/UserParameters.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/parameters/UserParameters.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/service/AbstractService.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/service/AbstractService.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/service/ServiceRequest.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/service/ServiceRequest.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/service/impl/BluetoothService.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/service/impl/BluetoothService.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/AbstractWorkerVerticle.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/AbstractWorkerVerticle.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/WorkerVerticleError.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/WorkerVerticleError.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/BluetoothVerticle.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/BluetoothVerticle.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WarpAnalyser.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WarpAnalyser.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WarpRecorder.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WarpRecorder.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WebServer.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/verticle/impl/WebServer.groovy -------------------------------------------------------------------------------- /vertx/src/main/groovy/org/breizhbeans/itm4l/warp10/Warp10Client.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/groovy/org/breizhbeans/itm4l/warp10/Warp10Client.groovy -------------------------------------------------------------------------------- /vertx/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/resources/log4j.properties -------------------------------------------------------------------------------- /vertx/src/main/scripts/resetbt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/main/scripts/resetbt.sh -------------------------------------------------------------------------------- /vertx/src/test/groovy/org/breizhbeans/itm4l/beddit/TestFrameDecoder.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreizhBeans/InTheMood4Life/HEAD/vertx/src/test/groovy/org/breizhbeans/itm4l/beddit/TestFrameDecoder.groovy --------------------------------------------------------------------------------