{"_id":"@agilatech/zetta-cozir5-linux-driver","_rev":"9-8dd1d1e06693a0fcf55a126d2f824f02","name":"@agilatech/zetta-cozir5-linux-driver","description":"Zetta COZIR 5 driver for Linux","dist-tags":{"latest":"0.9.2"},"versions":{"0.8.0":{"name":"@agilatech/zetta-cozir5-linux-driver","version":"0.8.0","description":"Zetta COZIR 5 driver for Linux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","dependencies":{"zetta-device":"*","zetta-scout":"*","@agilatech/cozir5":"*"},"directories":{"example":"example"},"keywords":["zetta","COZIR","carbon dioxide","CO2","beaglebone","raspberry pi"],"gitHead":"231350a9ed50b896efef7180a50dcf3b1e72668f","_id":"@agilatech/zetta-cozir5-linux-driver@0.8.0","_shasum":"2fdf02c36ddd42921db99a85c47887f3a9e61d33","_from":".","_npmVersion":"2.15.9","_nodeVersion":"6.2.2","_npmUser":{"name":"agilatech","email":"scott@agilatech.com"},"dist":{"shasum":"2fdf02c36ddd42921db99a85c47887f3a9e61d33","tarball":"https://registry.npmjs.org/@agilatech/zetta-cozir5-linux-driver/-/zetta-cozir5-linux-driver-0.8.0.tgz","integrity":"sha512-EfaChulI68gNFOueJbbw8t4JZqPt05P5M6V9afrtA81H0VeBS/7ro7DBLm31h0Ozki1POs5nfJHWS+bt3jUJQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjx9FhoALXJ9EqfUOzffcQaj/M9nVu45MnpWlvsZKQYwIhAKo9fUTEw1fr80UcrbrLHU4VvEuQypsnTB5i3gicGZFS"}]},"maintainers":[{"name":"agilatech","email":"scott@agilatech.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/zetta-cozir5-linux-driver-0.8.0.tgz_1469633550275_0.160442371154204"}},"0.8.2":{"name":"@agilatech/zetta-cozir5-linux-driver","version":"0.8.2","description":"Zetta COZIR 5 driver for Linux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","dependencies":{"zetta-device":"*","zetta-scout":"*","@agilatech/cozir5":"*"},"directories":{"example":"example"},"keywords":["zetta","COZIR","carbon dioxide","CO2","sensor","beaglebone","raspberry pi"],"gitHead":"e7888dd5d2086515b1282394a363f74611d7619b","_id":"@agilatech/zetta-cozir5-linux-driver@0.8.2","_shasum":"c792bf32ab0b4d54e362fa3860d37afb066256d1","_from":".","_npmVersion":"2.15.9","_nodeVersion":"6.2.2","_npmUser":{"name":"agilatech","email":"scott@agilatech.com"},"dist":{"shasum":"c792bf32ab0b4d54e362fa3860d37afb066256d1","tarball":"https://registry.npmjs.org/@agilatech/zetta-cozir5-linux-driver/-/zetta-cozir5-linux-driver-0.8.2.tgz","integrity":"sha512-dKcr3CuDYXe1QZBcX0ljyNVhDspJJxpgtuR1WdQmeXiD8wiObiIUB4e7GssHWW8XYleu4Z+M2PWTmCQ5G8+myA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKpoR1LqnXkQcSxW6vswelpiUdvAjQwKcjmhtOfCzXTAiA+9mJ9BLW2akSv+S2ysFvW/uHWb+JhabuT5z++1Eue0Q=="}]},"maintainers":[{"name":"agilatech","email":"scott@agilatech.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/zetta-cozir5-linux-driver-0.8.2.tgz_1469641148358_0.5731562746223062"}},"0.9.0":{"name":"@agilatech/zetta-cozir5-linux-driver","version":"0.9.0","description":"Zetta COZIR 5 driver for Linux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","dependencies":{"zetta-device":"*","zetta-scout":"*","@agilatech/cozir5":"*"},"directories":{"example":"example"},"keywords":["zetta","COZIR","carbon dioxide","CO2","sensor","beaglebone","raspberry pi"],"gitHead":"63d00a21961b6c73e168ab2cf88456835710ed01","_id":"@agilatech/zetta-cozir5-linux-driver@0.9.0","_shasum":"e8a3eea97916292631f2c21cff424ea41c453e41","_from":".","_npmVersion":"2.15.9","_nodeVersion":"6.2.2","_npmUser":{"name":"agilatech","email":"scott@agilatech.com"},"dist":{"shasum":"e8a3eea97916292631f2c21cff424ea41c453e41","tarball":"https://registry.npmjs.org/@agilatech/zetta-cozir5-linux-driver/-/zetta-cozir5-linux-driver-0.9.0.tgz","integrity":"sha512-q1rsghzf8GG7uYZ8wf3D3yLKo6RRe6KTyCar4YNHSpWVF8zbky9+/kcG5NEZH+32FNnKS/MfFh/JyBp/lx4hxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyBxLMasKCJUCtxknqCZ6LhJGwuegu97uIMkwqO+bERAiEA/Vy76owCYBoc04eIEq+mnCJIvhJqG8xEaiqPSmMnPDE="}]},"maintainers":[{"name":"agilatech","email":"scott@agilatech.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/zetta-cozir5-linux-driver-0.9.0.tgz_1470857619914_0.1728730578906834"}},"0.9.2":{"name":"@agilatech/zetta-cozir5-linux-driver","version":"0.9.2","description":"Zetta COZIR 5 driver for Linux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","dependencies":{"zetta-device":"*","zetta-scout":"*","@agilatech/cozir5":"*"},"directories":{"example":"example"},"keywords":["zetta","COZIR","carbon dioxide","CO2","sensor","beaglebone","raspberry pi"],"gitHead":"67e69a5c8a1919d95a7582e787c88a6d44298230","_id":"@agilatech/zetta-cozir5-linux-driver@0.9.2","_shasum":"2daa2de7672c37caa49af0530d175ca3289e1d70","_from":".","_npmVersion":"2.15.9","_nodeVersion":"6.2.2","_npmUser":{"name":"agilatech","email":"scott@agilatech.com"},"dist":{"shasum":"2daa2de7672c37caa49af0530d175ca3289e1d70","tarball":"https://registry.npmjs.org/@agilatech/zetta-cozir5-linux-driver/-/zetta-cozir5-linux-driver-0.9.2.tgz","integrity":"sha512-M2Dvp/O9WN66m+Le1oWn4Nd8fFpuCYXUqGZtq09GF1Mty0C81vGxmi4bpUBUB/Q99fUBtWuOzJOO4VSKtZBcrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO1iz94im9g8YWNH8WqzoIDXo9IA4oyyu1c5d0nlDy0QIgXe5d4RzKouCtahHyUQ0174pbmb7oWzOniqnPnVM1tuA="}]},"maintainers":[{"name":"agilatech","email":"scott@agilatech.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/zetta-cozir5-linux-driver-0.9.2.tgz_1477585055531_0.5650214420165867"}}},"readme":"##Zetta cozir5 carbon dioxide sensor driver for Linux\n\nThis driver should work on any Linux platform, but has so far only been tested on BeagleBone Black\n\n###Install\n```\n$> npm install @agilatech/zetta-cozir5-linux-driver\n```\nOR\n```\n$> git clone https://github.com/Agilatech/zetta-cozir5-linux-driver zetta-cozir5-linux-driver\n```\n###Usage\n\n```\nvar zetta = require('zetta');\nvar cozir5 = require('@agilatech/zetta-cozir5-linux-driver');\n\nzetta()\n.use(cozir5, [options])  // where [options] define operational paramters -- omit to accept defaults\n.listen(<port number>)   // where <port number> is the port on which the zetta server should listen\n```\n\n####OPTIONS\nThese options are defined in a file named 'options.json' which may be overridden by program definitions\n\n```\n\"file\":\"<serial file device>\"\n/dev/ttyS0, /dev/ttyO2, etc...  Defaults to /dev/ttyS0\n\n\"chronPeriod\":<period>\nPeriod in milliseconds for monitored isochronal data\n\n\"streamPeriod\":<period>\nPeriod in milliseconds for streaming data. A value of 0 disables streaming.\n```\n\n\n###Example\nUsing directly in the zetta server:\n```\nconst zetta = require('zetta');\nconst co2_sensor = require('@agilatech/zetta-cozir5-linux-driver');\nzetta().use(co2_sensor).listen(1337);\n```\nInitializes the cozir5 driver on serial device /dev/ttyS0 with a data monitoring period of 60 seconds and streaming data every second\n\nTo override the options defined in the options.json file, supply them in an object in the use statement like this:\n```\nzetta().use(co2_sensor, { \"file\":\"/dev/ttyS2\", \"chronPeriod\":30000, \"streamPeriod\":15000 });\n```\nOverrides the defaults to initialize the serial device on **/dev/ttyS2** with a data monitoring period of **30 seconds** and streaming data every **1.5 seconds**\n\n### Hardware\n\n* Beaglebone Black\n* Beaglebone Green\n* Should also work on Raspberry Pi as well as other Linux SBC\n\n###Transitions\n```\nstart-isochronal\n```\nBegins the periodic collection of carbon dioxide data. Value is monitored as co2,\nand the period is set by the 'chronPeriod' option (defaults to 60 sec).\n\n```\nstop-isochronal\n```\nStops data collection for the monitored values.\n\n###State\n**chron-off** is the beginning state.  The driver enters this state after a transition '*stop-isochronal*' command.  In this state, the monitored data value co2 is set to 0, and no sensor readings are updated.\n\n**chron-on** is the state after a transition '*start-isochronal*' command.  In this state, the monitored data value co2 is updated every time period as specified by '*chronPeriod*'.\n\n###Design\n\nThis device driver is designed for both streaming and periodic monitored data collection from the cozir5 sensor.\n\n###Copyright\nCopyright © 2016 Agilatech. All Rights Reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","maintainers":[],"time":{"modified":"2022-06-12T14:21:37.755Z","created":"2016-07-27T15:32:34.079Z","0.8.0":"2016-07-27T15:32:34.079Z","0.8.2":"2016-07-27T17:39:08.597Z","0.9.0":"2016-08-10T19:33:41.788Z","0.9.2":"2016-10-27T16:17:39.445Z"},"keywords":["zetta","COZIR","carbon dioxide","CO2","sensor","beaglebone","raspberry pi"],"license":"MIT","readmeFilename":"README.md"}