-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simulators #5
Comments
MatonAnthony
added a commit
to MatonAnthony/generic-sensors-lite
that referenced
this issue
Mar 10, 2019
Add the simulator driver for ambientlight API. - Write a simulator driver for ambientlight - Use it as a default driver if no driver is specified Issue-Id: rzr#5 Add simulators Environment: Darwin 18.2.0 Node 10.15.1 Node 9.5.0 Signed-off-by: Anthony Maton <me@anthony-maton.me>
Closed
Thanks to @MatonAnthony for your contribution based on @Vinnl works Now simulator for temperature is remaining to close this issue, other w3c sensors are also welcome (ie: orientation, proximity ... ) Feel free to inspire from: |
rzr
pushed a commit
that referenced
this issue
Mar 25, 2019
Add the simulator driver for ambientlight API. - Write a simulator driver for ambientlight - Use it as a default driver if no driver is specified Issue-Id: #5 Add simulators Environment: Darwin 18.2.0 Node 10.15.1 Node 9.5.0 Signed-off-by: Anthony Maton <me@anthony-maton.me>
rzr
pushed a commit
that referenced
this issue
Mar 25, 2019
Change-Id: I7109a2a45493477f5dba45fe3538a76ff73bdf4e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They could return random values like done
https://github.com/SamsungInternet/color-sensor-js/blob/master/lib/simulator.js
It should be trivial to implement, then once done I suggest to set simulator as default controllers for all sensors type then I will update:
https://github.com/rzr/mozilla-iot-generic-sensors-adapter/
Relate-to: SamsungInternet/webthings-webapp#4
CC: @Utopiah
The text was updated successfully, but these errors were encountered: