For the KIT module "Mobile Computing and Internet of Things" (https://teco.edu/education-mociot/), we got the exercises to build a creative mobile app for Cosinuss° One sensors based on https://github.com/teco-kit/cosinuss-flutter.
Another exercise was to build a HTML5 application. I decided to build a Cosinuss° One emulator as a HTML5 application and a Cosinuss° One library supporting it. My mobile app (https://github.com/cadivus/early-bird) uses this library and can be tested with my HTML5 submission.
To start the emulator, you just need to run npm install and npm run start in cosinuss_emulator. The web interface can be used on port 3000.
For using the emulator, you have to start your application with
flutter run --dart-define=COSINUSS_EMULATOR_MODE=true or
flutter run --dart-define=COSINUSS_EMULATOR_MODE=true --dart-define=COSINUSS_EMULATOR_HOST=your-host
For recording data using the UI, you have to start an app using this library with
flutter run --dart-define=COSINUSS_EMULATOR_LOG_MODE=true --dart-define=COSINUSS_EMULATOR_HOST=your-host
You can use the example app for this.
The emulator UI is written in pure HTML, CSS and Javascript without a Framework.




