GithubHelp home page GithubHelp logo

clap-sensor-adapter's People

Contributors

hobinjk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

clap-sensor-adapter's Issues

Installing

Hello,

Where do I need to put the clone?
There is no "addons" folder inside "src" folder like mention in the README file.

How does it work

Can you provide any more documentation on how the adapter is supposed to work?
I added the adapter and pluged in several usb micophones but I cant detect any claps. Is there a way to test whether the adapter isnt working or the microphone isn´t compatible?
How many claps are required to toggle the adapter?

Thanks

API mismatch

Getting this error:

2018-04-27 17:55:13.741 API mismatch for package: clap-sensor-adapter
Current: 2 Supported: 1-1

I'm no coder so I just searched through ~/.mozilla-iot/addons/clap-sensor-adapter/ to see where there could be some conflict.

in package.json i changed the max value:

"moziot": {
"api": {
"min": 1,
"max": 2 // this was previously set to 1.
},

I haven't a clue if this is the appropriate way to solve the issue but I'm now seeing the adapter.

Hope this maybe helps someone out!

TC

Many lines of code are never executed, then what it was their purpose?

Firslty, thank you for sharing the code example. I have followed it in order to implement my own adapter, but there are some questions related to the code that, from my point of vew, doesn't look that will be ever executed.

Here are the lines I'm talking about:

pairDevice(deviceId, deviceDescription) {

unpairDevice(deviceId) {

if (this.pairDeviceId) {

if (this.unpairDeviceId) {

Is there any other updated version which works fully and correctly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.