iler / node-airthings-waveplus Goto Github PK
View Code? Open in Web Editor NEWNode.js module for reading data from a Airthings Wave Plus indoor air quality monitor.
License: ISC License
Node.js module for reading data from a Airthings Wave Plus indoor air quality monitor.
License: ISC License
When running the sample, it discovers my Wave and it prints the proper serial number of the device (so I know it was found).
Though then immediately I get an error. Any idea what might be wrong? Looks like for some reason peripheral.discoverSomeServicesAndCharacteristics is not returning characteristics, but is also not throwing an error.
/home/pi/wave-node/node_modules/airthings-waveplus/waveplus.js:101
characteristics[0].read((error, data) => {
^
TypeError: Cannot read property 'read' of undefined
at /home/pi/wave-node/node_modules/airthings-waveplus/waveplus.js:101:26
at /home/pi/wave-node/node_modules/@abandonware/noble/lib/peripheral.js:119:13
at Service. (/home/pi/wave-node/node_modules/@abandonware/noble/lib/service.js:56:7)
at Object.onceWrapper (events.js:422:26)
at Service.emit (events.js:315:20)
at Noble.onCharacteristicsDiscover (/home/pi/wave-node/node_modules/@abandonware/noble/lib/noble.js:398:13)
at NobleBindings.emit (events.js:315:20)
at NobleBindings.onCharacteristicsDiscovered (/home/pi/wave-node/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:368:8)
at Gatt.emit (events.js:315:20)
at Object.callback (/home/pi/wave-node/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:515:12)
Get an error message when trying to install. Says it does not exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.